hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
52c7a7bee2c040608e48f3ee53ce48a8fecaa45c | 336 | py | Python | thonnycontrib/esp/esp8266_api_stubs/dht.py | thonny/thonny-esp | a042c88bd20dc077d9b97673d55b3bbd2d79f60c | [
"MIT"
] | 6 | 2019-03-07T05:32:11.000Z | 2022-03-21T08:14:12.000Z | thonnycontrib/m5stack/esp8266_api_stubs/dht.py | thonny/thonny-m5stack | a502579ad5e264342ae0bc2c554c78527053693b | [
"MIT"
] | 1 | 2019-04-10T09:26:52.000Z | 2019-04-10T09:26:52.000Z | thonnycontrib/m5stack/esp8266_api_stubs/dht.py | thonny/thonny-m5stack | a502579ad5e264342ae0bc2c554c78527053693b | [
"MIT"
] | 5 | 2019-01-27T17:03:43.000Z | 2022-03-21T08:14:13.000Z |
class DHT11:
''
def humidity():
pass
def measure():
pass
def temperature():
pass
class DHT22:
''
def humidity():
pass
def measure():
pass
def temperature():
pass
class DHTBase:
''
def measure():
pass
def dht_readinto():
pass
| 9.882353 | 22 | 0.473214 | 31 | 336 | 5.096774 | 0.354839 | 0.221519 | 0.265823 | 0.322785 | 0.658228 | 0.658228 | 0.658228 | 0.658228 | 0.658228 | 0.658228 | 0 | 0.020833 | 0.428571 | 336 | 33 | 23 | 10.181818 | 0.802083 | 0 | 0 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | true | 0.363636 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
52d0f79c850b503be6edf4430f0a09c0c72d2a5f | 23,143 | py | Python | src/chkdns/whatsmydns/mocks.py | chelnak/chkdns | d7a2c7bad6c2cc96bea13b10f8139b37d4b7826b | [
"MIT"
] | 2 | 2021-11-09T12:30:46.000Z | 2022-01-31T22:39:59.000Z | src/chkdns/whatsmydns/mocks.py | chelnak/chkdns | d7a2c7bad6c2cc96bea13b10f8139b37d4b7826b | [
"MIT"
] | 1 | 2021-11-09T12:59:06.000Z | 2021-11-10T10:23:39.000Z | src/chkdns/whatsmydns/mocks.py | chelnak/chkdns | d7a2c7bad6c2cc96bea13b10f8139b37d4b7826b | [
"MIT"
] | 1 | 2021-11-09T12:30:41.000Z | 2021-11-09T12:30:41.000Z | from typing import Any
RESPONSES: list[dict[str, Any]] = [
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 25076,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 5690 IN A 198.185.159.144",
"test.co.uk. 5690 IN A 198.185.159.145",
"test.co.uk. 5690 IN A 198.49.23.144",
"test.co.uk. 5690 IN A 198.49.23.145",
],
"authority": [
"test.co.uk. 164090 IN NS dns1.p02.nsone.net.",
"test.co.uk. 164090 IN NS dns2.p02.nsone.net.",
"test.co.uk. 164090 IN NS dns3.p02.nsone.net.",
"test.co.uk. 164090 IN NS dns4.p02.nsone.net.",
"test.co.uk. 164090 IN NS ns01.squarespacedns.com.",
"test.co.uk. 164090 IN NS ns02.squarespacedns.com.",
"test.co.uk. 164090 IN NS ns03.squarespacedns.com.",
"test.co.uk. 164090 IN NS ns04.squarespacedns.com.",
],
"additional": [
"ns01.squarespacedns.com. 152645 IN A 45.54.22.1",
"ns02.squarespacedns.com. 152645 IN A 45.54.22.65",
"ns03.squarespacedns.com. 152645 IN A 45.54.22.129",
"ns04.squarespacedns.com. 152645 IN A 45.54.22.193",
],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 49645,
"opcode": "QUERY",
"rcode": "SERVFAIL",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [],
"authority": [],
"additional": [],
"response": [],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 5464,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 5602 IN A 198.185.159.144",
"test.co.uk. 5602 IN A 198.185.159.145",
"test.co.uk. 5602 IN A 198.49.23.144",
"test.co.uk. 5602 IN A 198.49.23.145",
],
"authority": [],
"additional": [],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{"data": [{"query": "test.co.uk", "type": "A", "response": "DNS query timed out"}]},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 20668,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 14400 IN A 198.185.159.144",
"test.co.uk. 14400 IN A 198.185.159.145",
"test.co.uk. 14400 IN A 198.49.23.144",
"test.co.uk. 14400 IN A 198.49.23.145",
],
"authority": [
"test.co.uk. 137545 IN NS dns1.p02.nsone.net.",
"test.co.uk. 137545 IN NS dns2.p02.nsone.net.",
"test.co.uk. 137545 IN NS dns3.p02.nsone.net.",
"test.co.uk. 137545 IN NS dns4.p02.nsone.net.",
"test.co.uk. 137545 IN NS ns01.squarespacedns.com.",
"test.co.uk. 137545 IN NS ns02.squarespacedns.com.",
"test.co.uk. 137545 IN NS ns03.squarespacedns.com.",
"test.co.uk. 137545 IN NS ns04.squarespacedns.com.",
],
"additional": [
"dns1.p02.nsone.net. 118483 IN AAAA 2620:4d:4000:6259:7:2:0:1",
"dns1.p02.nsone.net. 63315 IN A 198.51.44.2",
"dns2.p02.nsone.net. 118483 IN AAAA 2a00:edc0:6259:7:2::2",
"dns2.p02.nsone.net. 33633 IN A 198.51.45.2",
"dns3.p02.nsone.net. 118483 IN AAAA 2620: 4d: 4000: 6259: 7: 2: 0: 3",
"dns3.p02.nsone.net. 32190 IN A 198.51.44.66",
"dns4.p02.nsone.net. 32554 IN A 198.51.45.66",
"ns01.squarespacedns.com. 171476 IN A 45.54.22.1",
"ns02.squarespacedns.com. 163753 IN A 45.54.22.65",
"ns03.squarespacedns.com.168742 IN A 45.54.22.129",
"ns04.squarespacedns.com. 132630 IN A 45.54.22.193",
],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 41661,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 30 IN A 198.185.159.144",
"test.co.uk. 30 IN A 198.185.159.145",
"test.co.uk. 30 IN A 198.49.23.144",
"test.co.uk. 30 IN A 198.49.23.145",
],
"authority": [
"test.co.uk. 1738 IN NS dns1.p02.nsone.net.",
"test.co.uk. 1738 IN NS dns2.p02.nsone.net.",
"test.co.uk. 1738 IN NS dns3.p02.nsone.net.",
"test.co.uk. 1738 IN NS dns4.p02.nsone.net.",
"test.co.uk. 1738 IN NS ns01.squarespacedns.com.",
"test.co.uk. 1738 IN NS ns02.squarespacedns.com.",
"test.co.uk. 1738 IN NS ns03.squarespacedns.com.",
"test.co.uk. 1738 IN NS ns04.squarespacedns.com.",
],
"additional": [
"dns2.p02.nsone.net. 10485 IN AAAA 2a00:edc0:6259:7:2::2",
"dns2.p02.nsone.net. 17457 IN A 198.51.45.2",
"dns3.p02.nsone.net. 10086 IN AAAA 2620: 4d: 4000: 6259: 7: 2: 0: 3",
"dns3.p02.nsone.net. 8608 IN A 198.51.44.66",
"dns4.p02.nsone.net. 17020 IN A 198.51.45.66",
"dns4.p02.nsone.net. 17095 IN AAAA 2a00:edc0:6259:7:2::4",
"ns01.squarespacedns.com. 118 IN A 45.54.22.1",
"ns02.squarespacedns.com.1071 IN A 45.54.22.65",
"ns03.squarespacedns.com. 3381 IN A 45.54.22.129",
"ns04.squarespacedns.com. 1349 IN A 45.54.22.193",
],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 44765,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 5696 IN A 198.185.159.144",
"test.co.uk. 5696 IN A 198.185.159.145",
"test.co.uk. 5696 IN A 198.49.23.144",
"test.co.uk. 5696 IN A 198.49.23.145",
],
"authority": [],
"additional": [],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{"data": [{"query": "test.co.uk", "type": "A", "response": "DNS query timed out"}]},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 9127,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 14400 IN A 198.185.159.144",
"test.co.uk. 14400 IN A 198.185.159.145",
"test.co.uk. 14400 IN A 198.49.23.144",
"test.co.uk. 14400 IN A 198.49.23.145",
],
"authority": [
"test.co.uk. 172800 IN NS dns1.p02.nsone.net.",
"test.co.uk. 172800 IN NS dns2.p02.nsone.net.",
"test.co.uk. 172800 IN NS dns3.p02.nsone.net.",
"test.co.uk. 172800 IN NS dns4.p02.nsone.net.",
"test.co.uk. 172800 IN NS ns01.squarespacedns.com.",
"test.co.uk. 172800 IN NS ns02.squarespacedns.com.",
"test.co.uk. 172800 IN NS ns03.squarespacedns.com.",
"test.co.uk. 172800 IN NS ns04.squarespacedns.com.",
],
"additional": [
"dns1.p02.nsone.net. 10255 IN A 198.51.44.2",
"dns2.p02.nsone.net. 136489 IN AAAA 2a00:edc0:6259:7:2::2",
"dns2.p02.nsone.net. 43189 IN A 198.51.45.2",
"dns3.p02.nsone.net. 10255 IN A 198.51.44.66",
"dns3.p02.nsone.net. 51297 IN AAAA 2620: 4d: 4000: 6259: 7: 2: 0: 3",
"dns4.p02.nsone.net. 13080 IN A 198.51.45.66",
"dns4.p02.nsone.net. 92309 IN AAAA 2a00:edc0: 6259: 7: 2: : 4",
"ns01.squarespacedns.com. 159122 IN A 45.54.22.1",
"ns02.squarespacedns.com. 154975 IN A 45.54.22.65",
"ns03.squarespacedns.com.159181 IN A 45.54.22.129",
"ns04.squarespacedns.com. 154494 IN A 45.54.22.193",
],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{"data": [{"query": "test.co.uk", "type": "A", "response": "DNS query timed out"}]},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 29995,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 5703 IN A 198.185.159.144",
"test.co.uk. 5703 IN A 198.185.159.145",
"test.co.uk. 5703 IN A 198.49.23.144",
"test.co.uk. 5703 IN A 198.49.23.145",
],
"authority": [],
"additional": [],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 58479,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 5709 IN A 198.185.159.144",
"test.co.uk. 5709 IN A 198.185.159.145",
"test.co.uk. 5709 IN A 198.49.23.144",
"test.co.uk. 5709 IN A 198.49.23.145",
],
"authority": [],
"additional": [],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 41218,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 30 IN A 198.185.159.144",
"test.co.uk. 30 IN A 198.185.159.145",
"test.co.uk. 30 IN A 198.49.23.144",
"test.co.uk. 30 IN A 198.49.23.145",
],
"authority": [],
"additional": [],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 18827,
"opcode": "QUERY",
"rcode": "SERVFAIL",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [],
"authority": [],
"additional": [],
"response": [],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 33699,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 0 IN A 198.185.159.144",
"test.co.uk. 0 IN A 198.185.159.145",
"test.co.uk. 0 IN A 198.49.23.144",
"test.co.uk. 0 IN A 198.49.23.145",
],
"authority": [],
"additional": [],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 5434,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 5706 IN A 198.185.159.144",
"test.co.uk. 5706 IN A 198.185.159.145",
"test.co.uk. 5706 IN A 198.49.23.144",
"test.co.uk. 5706 IN A 198.49.23.145",
],
"authority": [],
"additional": [],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 63102,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 5727 IN A 198.185.159.144",
"test.co.uk. 5727 IN A 198.185.159.145",
"test.co.uk. 5727 IN A 198.49.23.144",
"test.co.uk. 5727 IN A 198.49.23.145",
],
"authority": [],
"additional": [],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{"data": [{"query": "test.co.uk", "type": "A", "response": "DNS query timed out"}]},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 61609,
"opcode": "QUERY",
"rcode": "SERVFAIL",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [],
"authority": [],
"additional": [],
"response": [],
}
]
},
{"data": [{"query": "test.co.uk", "type": "A", "response": "DNS query timed out"}]},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 60452,
"opcode": "QUERY",
"rcode": "SERVFAIL",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [],
"authority": [],
"additional": [],
"response": [],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 32530,
"opcode": "QUERY",
"rcode": "SERVFAIL",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [],
"authority": [],
"additional": [],
"response": [],
}
]
},
{"data": [{"query": "test.co.uk", "type": "A", "response": "DNS query timed out"}]},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 63572,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 13732 IN A 198.185.159.144",
"test.co.uk. 13732 IN A 198.185.159.145",
"test.co.uk. 13732 IN A 198.49.23.144",
"test.co.uk. 13732 IN A 198.49.23.145",
],
"authority": [],
"additional": [],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{"data": [{"query": "test.co.uk", "type": "A", "response": "DNS query timed out"}]},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 16004,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 13731 IN A 198.185.159.144",
"test.co.uk. 13731 IN A 198.185.159.145",
"test.co.uk. 13731 IN A 198.49.23.144",
"test.co.uk. 13731 IN A 198.49.23.145",
],
"authority": [],
"additional": [],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 48708,
"opcode": "QUERY",
"rcode": "SERVFAIL",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [],
"authority": [],
"additional": [],
"response": [],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 10774,
"opcode": "QUERY",
"rcode": "SERVFAIL",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [],
"authority": [],
"additional": [],
"response": [],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 4143,
"opcode": "QUERY",
"rcode": "SERVFAIL",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [],
"authority": [],
"additional": [],
"response": [],
}
]
},
{
"data": [
{
"query": "test.co.uk",
"type": "A",
"id": 19644,
"opcode": "QUERY",
"rcode": "NOERROR",
"flags": {"qr": True, "rd": True, "ra": True},
"questions": ["test.co.uk. IN A"],
"answers": [
"test.co.uk. 14400 IN A 198.185.159.144",
"test.co.uk. 14400 IN A 198.185.159.145",
"test.co.uk. 14400 IN A 198.49.23.144",
"test.co.uk. 14400 IN A 198.49.23.145",
],
"authority": [],
"additional": [],
"response": [
"198.185.159.144",
"198.185.159.145",
"198.49.23.144",
"198.49.23.145",
],
}
]
},
]
| 36.734921 | 90 | 0.346411 | 2,333 | 23,143 | 3.436348 | 0.062152 | 0.108519 | 0.144693 | 0.056131 | 0.952975 | 0.952975 | 0.940002 | 0.940002 | 0.875265 | 0.654983 | 0 | 0.213854 | 0.484769 | 23,143 | 629 | 91 | 36.793323 | 0.458487 | 0 | 0 | 0.602871 | 0 | 0.014354 | 0.403319 | 0.038586 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.001595 | 0 | 0.001595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
dc42532e3f2daf4235d2d5dcaf501a254077131c | 6,403 | py | Python | experiments/apps.py | ndsc-mimic/mimicNOS | 90e05b05f566afd6749b74f954e6fd12533acf35 | [
"Apache-2.0"
] | null | null | null | experiments/apps.py | ndsc-mimic/mimicNOS | 90e05b05f566afd6749b74f954e6fd12533acf35 | [
"Apache-2.0"
] | null | null | null | experiments/apps.py | ndsc-mimic/mimicNOS | 90e05b05f566afd6749b74f954e6fd12533acf35 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import sys
import subprocess
import time
import random
from ExprTopo.mtopo import *
#********************************************************************
# Demo App
#********************************************************************
class DemoMonitorApp():
def __init__(self, topo):
self.graph = topo.graph
switch = self.graph.nodes()[0]
dpid = self.graph.node[switch]['vdpid']
self.rules = []
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoMinitor0", ' + \
'"priority":"0", ' + \
'"active":"true", "actions":""}'
self.rules.append(rule)
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoMonitor1", ' + \
'"priority":"1", ' + \
'"ether-type":"2048", ' + \
'"src-ip":"1.0.0.0/24", ' + \
'"active":"true", "actions":""}'
self.rules.append(rule)
def installRules(self):
for rule in self.rules:
print rule
cmd = "curl -d '%s' http://localhost:10001/wm/staticflowentrypusher/json" % rule
subprocess.call(cmd, shell=True)
print ""
class DemoRouterApp():
def __init__(self, topo):
self.graph = topo.graph
switch = self.graph.nodes()[0]
dpid = self.graph.node[switch]['vdpid']
self.rules = []
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoRouter0", ' + \
'"priority":"0", ' + \
'"active":"true", "actions":""}'
self.rules.append(rule)
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoRouter1", ' + \
'"priority":"1", ' + \
'"ether-type":"2048", ' + \
'"dst-ip":"2.0.0.1", ' + \
'"active":"true", "actions":"output=1"}'
self.rules.append(rule)
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoRouter2", ' + \
'"priority":"1", ' + \
'"ether-type":"2048", ' + \
'"dst-ip":"2.0.0.2", ' + \
'"active":"true", "actions":"output=2"}'
self.rules.append(rule)
def installRules(self):
for rule in self.rules:
print rule
cmd = "curl -d '%s' http://localhost:20001/wm/staticflowentrypusher/json" % rule
subprocess.call(cmd, shell=True)
print ""
class DemoLoadBalancerApp():
def __init__(self, topo):
self.graph = topo.graph
switch = self.graph.nodes()[0]
dpid = self.graph.node[switch]['vdpid']
self.rules = []
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoLB0", ' + \
'"priority":"0", ' + \
'"active":"true", "actions":""}'
self.rules.append(rule)
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoLB1", ' + \
'"priority":"3", ' + \
'"ether-type":"2048", ' + \
'"src-ip":"0.0.0.0/2", ' + \
'"dst-ip":"3.0.0.0", ' + \
'"active":"true", "actions":"set-dst-ip=2.0.0.1"}'
self.rules.append(rule)
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoLB2", ' + \
'"priority":"1", ' + \
'"ether-type":"2048", ' + \
'"dst-ip":"3.0.0.0", ' + \
'"active":"true", "actions":"set-dst-ip=2.0.0.2"}'
self.rules.append(rule)
def installRules(self):
for rule in self.rules:
print rule
cmd = "curl -d '%s' http://localhost:10001/wm/staticflowentrypusher/json" % rule
subprocess.call(cmd, shell=True)
print ""
class DemoVirtApp():
def __init__(self, topo):
self.graph = topo.graph
dpid = "00:a4:23:05:00:00:00:01"
self.rules1 = []
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoVirt1R1", ' + \
'"priority":"1", ' + \
'"ether-type":"2048", ' + \
'"dst-ip":"1.0.0.0/8", ' + \
'"active":"true", "actions":"output=3"}'
self.rules1.append(rule)
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoVirt1R2", ' + \
'"priority":"4", ' + \
'"ether-type":"2048", ' + \
'"dst-ip":"2.0.0.0/16", ' + \
'"active":"true", "actions":"output=2"}'
self.rules1.append(rule)
dpid = "00:a4:23:05:00:00:00:01"
self.rules2 = []
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoVirt2R1", ' + \
'"priority":"1", ' + \
'"ether-type":"2048", ' + \
'"dst-ip":"1.0.0.0/4", ' + \
'"active":"true", "actions":"set-dst-ip=2.0.0.0,output=3"}'
self.rules2.append(rule)
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoVirt2R2", ' + \
'"priority":"6", ' + \
'"ether-type":"2048", ' + \
'"dst-ip":"1.0.0.0/24", ' + \
'"active":"true", "actions":"output=2"}'
self.rules2.append(rule)
dpid = "00:a4:23:05:00:00:00:01"
self.rules3 = []
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoVirt3R1", ' + \
'"priority":"1", ' + \
'"ether-type":"2048", ' + \
'"dst-ip":"1.0.0.0/8", ' + \
'"active":"true", "actions":"output=3"}'
self.rules3.append(rule)
rule = '{"switch":"%s", ' % dpid + \
'"name":"DemoVirt3R2", ' + \
'"priority":"4", ' + \
'"ether-type":"2048", ' + \
'"dst-ip":"2.0.0.0/16", ' + \
'"active":"true", "actions":"output=2"}'
self.rules3.append(rule)
def installRules(self):
for rule in self.rules1:
print rule
cmd = "curl -d '%s' http://localhost:10001/wm/staticflowentrypusher/json" % rule
subprocess.call(cmd, shell=True)
print ""
for rule in self.rules2:
print rule
cmd = "curl -d '%s' http://localhost:20001/wm/staticflowentrypusher/json" % rule
subprocess.call(cmd, shell=True)
print ""
for rule in self.rules3:
print rule
cmd = "curl -d '%s' http://localhost:30001/wm/staticflowentrypusher/json" % rule
subprocess.call(cmd, shell=True)
print ""
| 34.058511 | 92 | 0.430111 | 645 | 6,403 | 4.244961 | 0.144186 | 0.019722 | 0.056245 | 0.076698 | 0.842951 | 0.806428 | 0.792915 | 0.753104 | 0.72973 | 0.680058 | 0 | 0.058353 | 0.336249 | 6,403 | 187 | 93 | 34.240642 | 0.585882 | 0.025144 | 0 | 0.735849 | 0 | 0.018868 | 0.36075 | 0.115921 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.031447 | null | null | 0.075472 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dc49cca464c6ee157dba24d5c1bfc06a747b92db | 109 | py | Python | utils.py | slmtnm/rzd-analysis | c8944f7449a248cc7f16a4255354398d0505c6d4 | [
"MIT"
] | null | null | null | utils.py | slmtnm/rzd-analysis | c8944f7449a248cc7f16a4255354398d0505c6d4 | [
"MIT"
] | 7 | 2021-10-12T18:44:56.000Z | 2021-12-08T15:03:48.000Z | utils.py | slmtnm/rzd_analysis | c8944f7449a248cc7f16a4255354398d0505c6d4 | [
"MIT"
] | null | null | null | from datetime import date
def dmy_from_date(date: date):
return f'{date.day}.{date.month}.{date.year}'
| 18.166667 | 49 | 0.706422 | 18 | 109 | 4.166667 | 0.611111 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 5 | 50 | 21.8 | 0.797872 | 0 | 0 | 0 | 0 | 0 | 0.321101 | 0.321101 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
dc563a5987ad69329324d90c4e4985317dfe53c9 | 24,305 | py | Python | libkloudtrader/options.py | KloudTrader/libkloudtrader | 015e2779f80ba2de93be9fa6fd751412a9d5f492 | [
"Apache-2.0"
] | 11 | 2019-01-16T16:10:09.000Z | 2021-03-02T00:59:17.000Z | libkloudtrader/options.py | KloudTrader/kloudtrader | 015e2779f80ba2de93be9fa6fd751412a9d5f492 | [
"Apache-2.0"
] | 425 | 2019-07-10T06:59:49.000Z | 2021-01-12T05:32:14.000Z | libkloudtrader/options.py | KloudTrader/kloudtrader | 015e2779f80ba2de93be9fa6fd751412a9d5f492 | [
"Apache-2.0"
] | 6 | 2019-03-15T16:25:06.000Z | 2021-05-03T10:02:13.000Z | """This module contains all functions related to options"""
import requests
import os
import typing
import datetime
import pandas
from .exceptions import (
InvalidBrokerage,
InvalidStockExchange,
BadRequest,
InvalidCredentials,
)
from .logs import start_logger
logger = start_logger(__name__)
"""Data APIs start"""
"""Config starts"""
USER_ACCESS_TOKEN = os.environ['USER_ACCESS_TOKEN']
USER_ACCOUNT_NUMBER = os.environ['USER_ACCOUNT_NUMBER']
USER_BROKERAGE = os.environ['USER_BROKERAGE']
TR_STREAMING_API_URL = "https://stream.tradier.com"
TR_BROKERAGE_API_URL = "https://production-api.tradier.com"
TR_SANDBOX_BROKERAGE_API_URL = "https://production-sandbox.tradier.com"
def tr_get_headers(access_token: str) -> dict:
'''headers for TR brokerage'''
headers = {
"Accept": "application/json",
"Authorization": "Bearer " + access_token
}
return headers
def tr_get_content_headers() -> dict:
'''content headers for TR brokerage'''
headers = {
'Accept': 'application/json',
}
return headers
"""Config ends"""
def chains(underlying_symbol: str,
expiration: str,
greeks: bool = False,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN,
dataframe: bool = True) -> dict:
"""Get options chains"""
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
params = {
'symbol': underlying_symbol.upper(),
'expiration': str(expiration),
'greeks': 'true'
}
response = requests.get("{}/v1/markets/options/chains".format(url),
headers=tr_get_headers(access_token),
params=params)
if greeks:
return response.json()
if response:
if response.json()['options'] != None:
data = response.json()
for i in data['options']['option']:
i['trade_date'] = datetime.datetime.fromtimestamp(
float(i['trade_date']) /
1000.0).strftime("%Y-%m-%d %H:%M:%S")
i['bid_date'] = datetime.datetime.fromtimestamp(
float(i['bid_date']) /
1000.0).strftime("%Y-%m-%d %H:%M:%S")
i['ask_date'] = datetime.datetime.fromtimestamp(
float(i['ask_date']) /
1000.0).strftime("%Y-%m-%d %H:%M:%S")
if dataframe == False:
return data['options']['option']
else:
data = pandas.DataFrame(data['options']['option'])
dataframe = pandas.DataFrame(data)
dataframe.set_index(['symbol'], inplace=True)
return dataframe
else:
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
def expirations(underlying_symbol: str,
includeAllRoots: bool = True,
strikes: bool = True,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN) -> dict:
"""Get expiration dates for a particular underlying."""
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
params = {
'symbol': underlying_symbol.upper(),
'includeAllRoots': includeAllRoots,
'strikes': strikes
}
response = requests.get(
"{}/v1/markets/options/expirations".format(url),
headers=tr_get_headers(access_token),
params=params)
if response:
if response.json()['expirations'] != None:
return response.json()['expirations']['expiration']
else:
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
def strikes(underlying_symbol: str,
expiration: str,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN) -> dict:
"""Get an options strike prices for a specified expiration date."""
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
params = {
'symbol': underlying_symbol.upper(),
'expiration': str(expiration)
}
response = requests.get("{}/v1/markets/options/strikes".format(url),
headers=tr_get_headers(access_token),
params=params)
if response:
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
"""Data APIs end"""
""""Trading APIs begin"""
def buy_to_open_preview(underlying_symbol: str,
option_symbol: str,
quantity: int,
order_type: str = "market",
duration: str = "gtc",
price: typing.Any = None,
stop: typing.Any = None,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN,
account_number: str = USER_ACCOUNT_NUMBER) -> dict:
"""Place buy to open Options order to trade a single option."""
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
params = {
'symbol': str(underlying_symbol.upper()),
'class': 'option',
'option_symbol': str(option_symbol.upper()),
'side': 'buy_to_open',
'quantity': quantity,
'type': order_type,
'duration': duration,
'price': price,
'stop': stop,
'preview': True
}
response = requests.post("{}/v1/accounts/{}/orders".format(
url, account_number),
headers=tr_get_headers(access_token),
params=params)
if response:
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
def buy_to_close_preview(underlying_symbol: str,
option_symbol: str,
quantity: int,
order_type: str = "market",
duration: str = "gtc",
price: typing.Any = None,
stop: typing.Any = None,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN,
account_number: str = USER_ACCOUNT_NUMBER) -> dict:
"""Place buy to close Options order to trade a single option."""
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
params = {
'symbol': underlying_symbol.upper(),
'class': 'option',
'option_symbol': option_symbol,
'side': 'buy_to_close',
'quantity': quantity,
'type': order_type,
'duration': duration,
'price': price,
'stop': stop,
'preview': True
}
response = requests.post("{}/v1/accounts/{}/orders".format(
url, account_number),
headers=tr_get_headers(access_token),
params=params)
if response:
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
def sell_to_open_preview(underlying_symbol: str,
option_symbol: str,
quantity: int,
order_type: str = "market",
duration: str = "gtc",
price: typing.Any = None,
stop: typing.Any = None,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN,
account_number: str = USER_ACCOUNT_NUMBER) -> dict:
"""Place buy to open Options order to trade a single option."""
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
params = {
'symbol': underlying_symbol.upper(),
'class': 'option',
'option_symbol': option_symbol,
'side': 'sell_to_open',
'quantity': quantity,
'type': order_type,
'duration': duration,
'price': price,
'stop': stop,
'preview': True
}
response = requests.post("{}/v1/accounts/{}/orders".format(
url, account_number),
headers=tr_get_headers(access_token),
params=params)
if response:
logger.error('Oops! An error Occurred ⚠️')
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
def sell_to_close_preview(underlying_symbol: str,
option_symbol: str,
quantity: int,
order_type: str = "market",
duration: str = "gtc",
price: typing.Any = None,
stop: typing.Any = None,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN,
account_number: str = USER_ACCOUNT_NUMBER) -> dict:
"""Place sell to close Options order to trade a single option."""
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
params = {
'symbol': underlying_symbol.upper(),
'class': 'option',
'option_symbol': option_symbol,
'side': 'sell_to_close',
'quantity': quantity,
'type': order_type,
'duration': duration,
'price': price,
'stop': stop,
'preview': True
}
response = requests.post("{}/v1/accounts/{}/orders".format(
url, account_number),
headers=tr_get_headers(access_token),
params=params)
if response:
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
def buy_to_open(underlying_symbol: str,
option_symbol: str,
quantity: int,
order_type: str = "market",
duration: str = "day",
price: typing.Any = None,
stop: typing.Any = None,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN,
account_number: str = USER_ACCOUNT_NUMBER) -> dict:
"""Place buy to open Options order to trade a single option."""
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
params = {
'symbol': underlying_symbol.upper(),
'class': 'option',
'option_symbol': option_symbol,
'side': 'buy_to_open',
'quantity': quantity,
'type': order_type,
'duration': duration,
'price': price,
'stop': stop
}
response = requests.post("{}/v1/accounts/{}/orders".format(
url, account_number),
headers=tr_get_headers(access_token),
params=params)
if response:
logger.error('Oops! An error Occurred ⚠️')
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
def buy_to_close(underlying_symbol: str,
option_symbol: str,
quantity: int,
order_type: str = "market",
duration: str = "gtc",
price: typing.Any = None,
stop: typing.Any = None,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN,
account_number: str = USER_ACCOUNT_NUMBER) -> dict:
"""Place buy to close Options order to trade a single option."""
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
params = {
'symbol': underlying_symbol.upper(),
'class': 'option',
'option_symbol': option_symbol,
'side': 'buy_to_close',
'quantity': quantity,
'type': order_type,
'duration': duration,
'price': price,
'stop': stop
}
response = requests.post("{}/v1/accounts/{}/orders".format(
url, account_number),
headers=tr_get_headers(access_token),
params=params)
if response:
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
def sell_to_open(underlying_symbol: str,
option_symbol: str,
quantity: int,
order_type: str = "market",
duration: str = "gtc",
price: typing.Any = None,
stop: typing.Any = None,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN,
account_number: str = USER_ACCOUNT_NUMBER) -> dict:
"""Place sell to open Options order to trade a single option."""
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
params = {
'symbol': underlying_symbol.upper(),
'class': 'option',
'option_symbol': option_symbol,
'side': 'sell_to_open',
'quantity': quantity,
'type': order_type,
'duration': duration,
'price': price,
'stop': stop
}
response = requests.post("{}/v1/accounts/{}/orders".format(
url, account_number),
headers=tr_get_headers(access_token),
params=params)
if response:
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
def sell_to_close(underlying_symbol: str,
option_symbol: str,
quantity: int,
order_type: str = "market",
duration: str = "gtc",
price: typing.Any = None,
stop: typing.Any = None,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN,
account_number: str = USER_ACCOUNT_NUMBER) -> dict:
"""Place sell to close Options order to trade a single option."""
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
params = {
'symbol': underlying_symbol.upper(),
'class': 'option',
'option_symbol': option_symbol,
'side': 'sell_to_close',
'quantity': quantity,
'type': order_type,
'duration': duration,
'price': price,
'stop': stop
}
response = requests.post("{}/v1/accounts/{}/orders".format(
url, account_number),
headers=tr_get_headers(access_token),
params=params)
if response:
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
def change_order(order_id: str,
duration: str,
order_type: str,
price: typing.Any = None,
stop: typing.Any = None,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN,
account_number: str = USER_ACCOUNT_NUMBER) -> dict:
'''Change an order if it is not filled yet.'''
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
raise InvalidBrokerage
put_params = {
'order_id': order_id,
'type': str(order_type.lower()),
'duration': str(duration),
'price': str(price),
'stop': str(stop)
}
response = requests.put("{}/v1/accounts/{}/orders/{}".format(
url, account_number, order_id),
data=put_params,
headers=tr_get_headers(access_token))
if response:
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
def cancel_order(order_id: str,
brokerage: typing.Any = USER_BROKERAGE,
access_token: str = USER_ACCESS_TOKEN,
account_number: str = USER_ACCOUNT_NUMBER) -> dict:
'''Cancel an order if it is not filled yet.'''
try:
if brokerage == "Tradier Inc.":
url = TR_BROKERAGE_API_URL
elif brokerage == "miscpaper":
url = TR_SANDBOX_BROKERAGE_API_URL
else:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidBrokerage
response = requests.delete("{}/v1/accounts/{}/orders/{}".format(
url, account_number, order_id),
headers=tr_get_headers(access_token))
if response:
return response.json()
if response.status_code == 400:
logger.error('Oops! An error Occurred ⚠️')
raise BadRequest(response.text)
if response.status_code == 401:
logger.error('Oops! An error Occurred ⚠️')
raise InvalidCredentials(response.text)
except Exception as exception:
logger.error('Oops! An error Occurred ⚠️')
raise exception
"""Trading APIs end"""
| 38.396524 | 77 | 0.532648 | 2,404 | 24,305 | 5.263727 | 0.066972 | 0.046072 | 0.062826 | 0.071203 | 0.884938 | 0.868421 | 0.850877 | 0.8474 | 0.839655 | 0.832543 | 0 | 0.006877 | 0.365851 | 24,305 | 632 | 78 | 38.457278 | 0.807241 | 0.032709 | 0 | 0.832168 | 0 | 0 | 0.13666 | 0.014417 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026224 | false | 0 | 0.012238 | 0 | 0.071678 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dc7649294f2e841d8d1bfe95b00145b6f1561fb6 | 15,366 | py | Python | Facebook_jobs_crawler.py | SandipSonawane/top-skills-employers-look-for | 9a9f7c9b6c81eae975475c7f193cae3044b2c9ab | [
"MIT"
] | null | null | null | Facebook_jobs_crawler.py | SandipSonawane/top-skills-employers-look-for | 9a9f7c9b6c81eae975475c7f193cae3044b2c9ab | [
"MIT"
] | null | null | null | Facebook_jobs_crawler.py | SandipSonawane/top-skills-employers-look-for | 9a9f7c9b6c81eae975475c7f193cae3044b2c9ab | [
"MIT"
] | null | null | null | import pandas as pd
import time
from selenium import webdriver
import re
job_link_dictionary = {
'Product Management': 'https://www.facebook.com/careers/jobs/?offices[0]=Altoona%2C%20IA&offices[1]=Ashburn%2C%20VA&offices[2]=Atlanta%2C%20GA&offices[3]=Austin%2C%20TX&offices[4]=Bellevue%2C%20WA&offices[5]=Boston%2C%20MA&offices[6]=Burlingame%2C%20CA&offices[7]=Chicago%2C%20IL&offices[8]=Dallas%2C%20TX&offices[9]=DeKalb%2C%20IL&offices[10]=Denver%2C%20CO&offices[11]=Detroit%2C%20MI&offices[12]=Eagle%20Mountain%2C%20Utah&offices[13]=Forest%20City%2C%20NC&offices[14]=Fort%20Worth%2C%20TX&offices[15]=Foster%20City%2C%20CA&offices[16]=Fremont%2C%20CA&offices[17]=Gallatin%2C%20TN&offices[18]=Henrico%2C%20VA&offices[19]=Huntsville%2C%20AL&offices[20]=Irvine%2C%20CA&offices[21]=Los%20Angeles%2C%20CA&offices[22]=Los%20Lunas%2C%20NM&offices[23]=Menlo%20Park%2C%20CA&offices[24]=Miami%2C%20Florida&offices[25]=Montreal%2C%20Canada&offices[26]=Mountain%20View%2C%20CA&offices[27]=New%20Albany%2C%20OH&offices[28]=New%20York%2C%20NY&offices[29]=Newton%20County%2C%20GA&offices[30]=Northridge%2C%20CA&offices[31]=Ottawa%2C%20Canada&offices[32]=Pittsburgh%2C%20PA&offices[33]=Prineville%2C%20OR&offices[34]=Redmond%2C%20WA&offices[35]=Remote%2C%20US&offices[36]=Reston%2C%20VA&offices[37]=San%20Francisco%2C%20CA&offices[38]=Santa%20Clara%2C%20CA&offices[39]=Sarpy%20County%2C%20NE&offices[40]=Sausalito%2C%20CA&offices[41]=Seattle%2C%20WA&offices[42]=Sunnyvale%2C%20CA&offices[43]=Toronto%2C%20Canada&offices[44]=Vancouver%2C%20Canada&offices[45]=Washington%2C%20DC&roles[0]=full-time&teams[0]=Product%20Management',
'Data and Analytics': 'https://www.facebook.com/careers/jobs/?offices[0]=Altoona%2C%20IA&offices[1]=Ashburn%2C%20VA&offices[2]=Atlanta%2C%20GA&offices[3]=Austin%2C%20TX&offices[4]=Bellevue%2C%20WA&offices[5]=Boston%2C%20MA&offices[6]=Burlingame%2C%20CA&offices[7]=Chicago%2C%20IL&offices[8]=Dallas%2C%20TX&offices[9]=DeKalb%2C%20IL&offices[10]=Denver%2C%20CO&offices[11]=Detroit%2C%20MI&offices[12]=Eagle%20Mountain%2C%20Utah&offices[13]=Forest%20City%2C%20NC&offices[14]=Fort%20Worth%2C%20TX&offices[15]=Foster%20City%2C%20CA&offices[16]=Fremont%2C%20CA&offices[17]=Gallatin%2C%20TN&offices[18]=Henrico%2C%20VA&offices[19]=Huntsville%2C%20AL&offices[20]=Irvine%2C%20CA&offices[21]=Los%20Angeles%2C%20CA&offices[22]=Los%20Lunas%2C%20NM&offices[23]=Menlo%20Park%2C%20CA&offices[24]=Miami%2C%20Florida&offices[25]=Mountain%20View%2C%20CA&offices[26]=New%20Albany%2C%20OH&offices[27]=New%20York%2C%20NY&offices[28]=Newton%20County%2C%20GA&offices[29]=Northridge%2C%20CA&offices[30]=Pittsburgh%2C%20PA&offices[31]=Prineville%2C%20OR&offices[32]=Redmond%2C%20WA&offices[33]=Remote%2C%20US&offices[34]=Reston%2C%20VA&offices[35]=San%20Francisco%2C%20CA&offices[36]=Santa%20Clara%2C%20CA&offices[37]=Sarpy%20County%2C%20NE&offices[38]=Sausalito%2C%20CA&offices[39]=Seattle%2C%20WA&offices[40]=Sunnyvale%2C%20CA&offices[41]=Washington%2C%20DC&roles[0]=full-time&is_leadership=0&teams[0]=Data%20%26%20Analytics&is_in_page=0',
'Software Engineering': 'https://www.facebook.com/careers/jobs/?offices[0]=Altoona%2C%20IA&offices[1]=Ashburn%2C%20VA&offices[2]=Atlanta%2C%20GA&offices[3]=Austin%2C%20TX&offices[4]=Bellevue%2C%20WA&offices[5]=Boston%2C%20MA&offices[6]=Burlingame%2C%20CA&offices[7]=Chicago%2C%20IL&offices[8]=Dallas%2C%20TX&offices[9]=DeKalb%2C%20IL&offices[10]=Denver%2C%20CO&offices[11]=Detroit%2C%20MI&offices[12]=Eagle%20Mountain%2C%20Utah&offices[13]=Forest%20City%2C%20NC&offices[14]=Fort%20Worth%2C%20TX&offices[15]=Foster%20City%2C%20CA&offices[16]=Fremont%2C%20CA&offices[17]=Gallatin%2C%20TN&offices[18]=Henrico%2C%20VA&offices[19]=Huntsville%2C%20AL&offices[20]=Irvine%2C%20CA&offices[21]=Los%20Angeles%2C%20CA&offices[22]=Los%20Lunas%2C%20NM&offices[23]=Menlo%20Park%2C%20CA&offices[24]=Miami%2C%20Florida&offices[25]=Mountain%20View%2C%20CA&offices[26]=New%20Albany%2C%20OH&offices[27]=New%20York%2C%20NY&offices[28]=Newton%20County%2C%20GA&offices[29]=Northridge%2C%20CA&offices[30]=Pittsburgh%2C%20PA&offices[31]=Prineville%2C%20OR&offices[32]=Redmond%2C%20WA&offices[33]=Remote%2C%20US&offices[34]=Reston%2C%20VA&offices[35]=San%20Francisco%2C%20CA&offices[36]=Santa%20Clara%2C%20CA&offices[37]=Sarpy%20County%2C%20NE&offices[38]=Sausalito%2C%20CA&offices[39]=Seattle%2C%20WA&offices[40]=Sunnyvale%2C%20CA&offices[41]=Washington%2C%20DC&roles[0]=full-time&is_leadership=0&teams[0]=Software%20Engineering&is_in_page=0',
'Research Scientist': 'https://www.facebook.com/careers/jobs/?offices[0]=Altoona%2C%20IA&offices[1]=Ashburn%2C%20VA&offices[2]=Atlanta%2C%20GA&offices[3]=Austin%2C%20TX&offices[4]=Bellevue%2C%20WA&offices[5]=Boston%2C%20MA&offices[6]=Burlingame%2C%20CA&offices[7]=Chicago%2C%20IL&offices[8]=Dallas%2C%20TX&offices[9]=DeKalb%2C%20IL&offices[10]=Denver%2C%20CO&offices[11]=Detroit%2C%20MI&offices[12]=Eagle%20Mountain%2C%20Utah&offices[13]=Forest%20City%2C%20NC&offices[14]=Fort%20Worth%2C%20TX&offices[15]=Foster%20City%2C%20CA&offices[16]=Fremont%2C%20CA&offices[17]=Gallatin%2C%20TN&offices[18]=Henrico%2C%20VA&offices[19]=Huntsville%2C%20AL&offices[20]=Irvine%2C%20CA&offices[21]=Los%20Angeles%2C%20CA&offices[22]=Los%20Lunas%2C%20NM&offices[23]=Menlo%20Park%2C%20CA&offices[24]=Miami%2C%20Florida&offices[25]=Mountain%20View%2C%20CA&offices[26]=New%20Albany%2C%20OH&offices[27]=New%20York%2C%20NY&offices[28]=Newton%20County%2C%20GA&offices[29]=Northridge%2C%20CA&offices[30]=Ottawa%2C%20Canada&offices[31]=Pittsburgh%2C%20PA&offices[32]=Prineville%2C%20OR&offices[33]=Redmond%2C%20WA&offices[34]=Remote%2C%20US&offices[35]=Reston%2C%20VA&offices[36]=San%20Francisco%2C%20CA&offices[37]=Santa%20Clara%2C%20CA&offices[38]=Sarpy%20County%2C%20NE&offices[39]=Sausalito%2C%20CA&offices[40]=Seattle%2C%20WA&offices[41]=Sunnyvale%2C%20CA&offices[42]=Washington%2C%20DC&roles[0]=full-time&teams[0]=Research',
'People & Recruiting': 'https://www.facebook.com/careers/jobs/?offices[0]=Altoona%2C%20IA&offices[1]=Ashburn%2C%20VA&offices[2]=Atlanta%2C%20GA&offices[3]=Austin%2C%20TX&offices[4]=Bellevue%2C%20WA&offices[5]=Boston%2C%20MA&offices[6]=Burlingame%2C%20CA&offices[7]=Chicago%2C%20IL&offices[8]=Dallas%2C%20TX&offices[9]=DeKalb%2C%20IL&offices[10]=Denver%2C%20CO&offices[11]=Detroit%2C%20MI&offices[12]=Eagle%20Mountain%2C%20Utah&offices[13]=Forest%20City%2C%20NC&offices[14]=Fort%20Worth%2C%20TX&offices[15]=Foster%20City%2C%20CA&offices[16]=Fremont%2C%20CA&offices[17]=Gallatin%2C%20TN&offices[18]=Henrico%2C%20VA&offices[19]=Huntsville%2C%20AL&offices[20]=Irvine%2C%20CA&offices[21]=Los%20Angeles%2C%20CA&offices[22]=Los%20Lunas%2C%20NM&offices[23]=Menlo%20Park%2C%20CA&offices[24]=Miami%2C%20Florida&offices[25]=Mountain%20View%2C%20CA&offices[26]=New%20Albany%2C%20OH&offices[27]=New%20York%2C%20NY&offices[28]=Newton%20County%2C%20GA&offices[29]=Northridge%2C%20CA&offices[30]=Ottawa%2C%20Canada&offices[31]=Pittsburgh%2C%20PA&offices[32]=Prineville%2C%20OR&offices[33]=Redmond%2C%20WA&offices[34]=Remote%2C%20US&offices[35]=Reston%2C%20VA&offices[36]=San%20Francisco%2C%20CA&offices[37]=Santa%20Clara%2C%20CA&offices[38]=Sarpy%20County%2C%20NE&offices[39]=Sausalito%2C%20CA&offices[40]=Seattle%2C%20WA&offices[41]=Sunnyvale%2C%20CA&offices[42]=Washington%2C%20DC&roles[0]=full-time&teams[0]=People%20%26%20Recruiting',
'Business Development & Partnerships': 'https://www.facebook.com/careers/jobs/?offices[0]=Altoona%2C%20IA&offices[1]=Ashburn%2C%20VA&offices[2]=Atlanta%2C%20GA&offices[3]=Austin%2C%20TX&offices[4]=Bellevue%2C%20WA&offices[5]=Boston%2C%20MA&offices[6]=Burlingame%2C%20CA&offices[7]=Chicago%2C%20IL&offices[8]=Dallas%2C%20TX&offices[9]=DeKalb%2C%20IL&offices[10]=Denver%2C%20CO&offices[11]=Detroit%2C%20MI&offices[12]=Eagle%20Mountain%2C%20Utah&offices[13]=Forest%20City%2C%20NC&offices[14]=Fort%20Worth%2C%20TX&offices[15]=Foster%20City%2C%20CA&offices[16]=Fremont%2C%20CA&offices[17]=Gallatin%2C%20TN&offices[18]=Henrico%2C%20VA&offices[19]=Huntsville%2C%20AL&offices[20]=Irvine%2C%20CA&offices[21]=Los%20Angeles%2C%20CA&offices[22]=Los%20Lunas%2C%20NM&offices[23]=Menlo%20Park%2C%20CA&offices[24]=Miami%2C%20Florida&offices[25]=Mountain%20View%2C%20CA&offices[26]=New%20Albany%2C%20OH&offices[27]=New%20York%2C%20NY&offices[28]=Newton%20County%2C%20GA&offices[29]=Northridge%2C%20CA&offices[30]=Ottawa%2C%20Canada&offices[31]=Pittsburgh%2C%20PA&offices[32]=Prineville%2C%20OR&offices[33]=Redmond%2C%20WA&offices[34]=Remote%2C%20US&offices[35]=Reston%2C%20VA&offices[36]=San%20Francisco%2C%20CA&offices[37]=Santa%20Clara%2C%20CA&offices[38]=Sarpy%20County%2C%20NE&offices[39]=Sausalito%2C%20CA&offices[40]=Seattle%2C%20WA&offices[41]=Sunnyvale%2C%20CA&offices[42]=Washington%2C%20DC&roles[0]=full-time&teams[0]=Business%20Development%20%26%20Partnerships',
'Global Operations': 'https://www.facebook.com/careers/jobs/?offices[0]=Altoona%2C%20IA&offices[1]=Ashburn%2C%20VA&offices[2]=Atlanta%2C%20GA&offices[3]=Austin%2C%20TX&offices[4]=Bellevue%2C%20WA&offices[5]=Boston%2C%20MA&offices[6]=Burlingame%2C%20CA&offices[7]=Chicago%2C%20IL&offices[8]=Dallas%2C%20TX&offices[9]=DeKalb%2C%20IL&offices[10]=Denver%2C%20CO&offices[11]=Detroit%2C%20MI&offices[12]=Eagle%20Mountain%2C%20Utah&offices[13]=Forest%20City%2C%20NC&offices[14]=Fort%20Worth%2C%20TX&offices[15]=Foster%20City%2C%20CA&offices[16]=Fremont%2C%20CA&offices[17]=Gallatin%2C%20TN&offices[18]=Henrico%2C%20VA&offices[19]=Huntsville%2C%20AL&offices[20]=Irvine%2C%20CA&offices[21]=Los%20Angeles%2C%20CA&offices[22]=Los%20Lunas%2C%20NM&offices[23]=Menlo%20Park%2C%20CA&offices[24]=Miami%2C%20Florida&offices[25]=Mountain%20View%2C%20CA&offices[26]=New%20Albany%2C%20OH&offices[27]=New%20York%2C%20NY&offices[28]=Newton%20County%2C%20GA&offices[29]=Northridge%2C%20CA&offices[30]=Ottawa%2C%20Canada&offices[31]=Pittsburgh%2C%20PA&offices[32]=Prineville%2C%20OR&offices[33]=Redmond%2C%20WA&offices[34]=Remote%2C%20US&offices[35]=Reston%2C%20VA&offices[36]=San%20Francisco%2C%20CA&offices[37]=Santa%20Clara%2C%20CA&offices[38]=Sarpy%20County%2C%20NE&offices[39]=Sausalito%2C%20CA&offices[40]=Seattle%2C%20WA&offices[41]=Sunnyvale%2C%20CA&offices[42]=Washington%2C%20DC&roles[0]=full-time&teams[0]=Global%20Operations'
}
class FbJobsCrawler:
def get_job_descriptions(self, link, category):
driver = webdriver.Chrome(r"C:\Users\Sandi\PycharmProjects\selenium_driver\driver\chromedriver.exe")
driver.get(link)
driver.maximize_window()
time.sleep(5)
try:
df = pd.read_excel('.\\Data\\Facebook\\Facebook_data_description.xlsx')
except:
df = pd.DataFrame(columns=['category', 'company', 'link', 'title', 'location_and_id', 'posting_date'])
next_page_availability = True
while next_page_availability:
titles = driver.find_elements_by_class_name('_8sel')
titles = [t.text for t in titles]
links = driver.find_elements_by_class_name('_8sef')
links = [l.get_attribute('href') for l in links]
locations = []
for i in range(1, 16):
path = f'/html/body/div[1]/div[1]/div[2]/div/div[1]/div[2]/div/div[2]/div[2]/div/div/div[3]/a[{i}]/div/div/div/div[3]/div[1]/div/div'
try:
location = driver.find_element_by_xpath(path).text
location = re.search(".*,\s?([A-Z][A-Z]).*\+?", location).group(1)
locations.append(location)
except Exception as e:
print(e)
break
df1 = pd.DataFrame()
df1['link'] = links
df1['title'] = titles
df1['location'] = locations
df1['posting_date'] = 'NAL'
df1['category'] = category
df1['company'] = 'Facebook'
df = df.append(df1, ignore_index=True)
df1 = None
next_page = driver.find_element_by_xpath(
'/html/body/div/div[1]/div[2]/div/div[1]/div[2]/div/div[2]/div[2]/div/div/div[4]/div[2]/a')
if next_page.text == 'Next':
next_page_availability = True
next_page.click()
time.sleep(5)
elif next_page.text == 'Prev':
try:
next_page = driver.find_element_by_xpath(
'/html/body/div/div[1]/div[2]/div/div[1]/div[2]/div/div[2]/div[2]/div/div/div[4]/div[2]/a[2]')
next_page_availability = True
next_page.click()
time.sleep(5)
except Exception as e:
print(e)
next_page_availability = False
df.to_excel('.\\Data\\Facebook\\Facebook_data_description.xlsx')
def get_qualifications(self):
driver = webdriver.Chrome(r"C:\Users\Sandi\PycharmProjects\selenium_driver\driver\chromedriver.exe")
input_df = pd.read_excel('.\\Data\\Facebook\\Facebook_data_description.xlsx')
output_df = pd.DataFrame(columns=['link', 'description', 'basic_qualifications', 'preferred_qualifications'])
for link in input_df.link:
driver.get(link)
# get description
description = ''
description_line, i = True, 1
while description_line:
try:
path = f'/html/body/div/div[1]/div[2]/div/div[3]/div[2]/div/div/div[1]/div[1]/div[3]/div[2]/div/ul/div[{i}]/li/div[3]/div/div'
desc = driver.find_element_by_xpath(path).text
description += desc + '\n'
i += 1
except Exception as e:
print(e)
description_line = False
# get minimum qualifications
min_qualifications = ''
description_line, i = True, 1
while description_line:
try:
path = f'/html/body/div/div[1]/div[2]/div/div[3]/div[2]/div/div/div[1]/div[1]/div[4]/div[2]/div/ul/div[{i}]/li/div[3]/div/div'
desc = driver.find_element_by_xpath(path).text
min_qualifications += desc + '\n'
i += 1
except Exception as e:
print(e)
description_line = False
# get Preferred Qualifications
preferred_qualifications = ''
description_line, i = True, 1
while description_line:
try:
path = f'/html/body/div/div[1]/div[2]/div/div[3]/div[2]/div/div/div[1]/div[1]/div[5]/div[2]/div/ul/div[{i}]/li/div[3]/div/div'
desc = driver.find_element_by_xpath(path).text
preferred_qualifications += desc + '\n'
i += 1
except Exception as e:
print(e)
description_line = False
output_df = output_df.append(
{'link': link, 'description': description, 'basic_qualifications': min_qualifications,
'preferred_qualifications': preferred_qualifications}, ignore_index=True)
output_df.to_excel(r'.\Data\Facebook\Facebook_data_qualifications.xlsx')
crawler = FbJobsCrawler()
for field, field_link in job_link_dictionary.items():
crawler.get_job_descriptions(field_link, field)
crawler.get_qualifications()
| 112.985294 | 1,519 | 0.703046 | 2,376 | 15,366 | 4.500842 | 0.11532 | 0.047129 | 0.102113 | 0.014027 | 0.819806 | 0.801477 | 0.791565 | 0.784459 | 0.784459 | 0.781092 | 0 | 0.129503 | 0.116556 | 15,366 | 135 | 1,520 | 113.822222 | 0.658269 | 0.004621 | 0 | 0.401786 | 0 | 0.116071 | 0.736233 | 0.06913 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0 | 0.035714 | 0 | 0.0625 | 0.044643 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
dc817f2a858cc12391510e0c8edacec10e4551c0 | 6,407 | py | Python | loldib/getratings/models/NA/na_elise/na_elise_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_elise/na_elise_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_elise/na_elise_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Elise_Bot_Aatrox(Ratings):
pass
class NA_Elise_Bot_Ahri(Ratings):
pass
class NA_Elise_Bot_Akali(Ratings):
pass
class NA_Elise_Bot_Alistar(Ratings):
pass
class NA_Elise_Bot_Amumu(Ratings):
pass
class NA_Elise_Bot_Anivia(Ratings):
pass
class NA_Elise_Bot_Annie(Ratings):
pass
class NA_Elise_Bot_Ashe(Ratings):
pass
class NA_Elise_Bot_AurelionSol(Ratings):
pass
class NA_Elise_Bot_Azir(Ratings):
pass
class NA_Elise_Bot_Bard(Ratings):
pass
class NA_Elise_Bot_Blitzcrank(Ratings):
pass
class NA_Elise_Bot_Brand(Ratings):
pass
class NA_Elise_Bot_Braum(Ratings):
pass
class NA_Elise_Bot_Caitlyn(Ratings):
pass
class NA_Elise_Bot_Camille(Ratings):
pass
class NA_Elise_Bot_Cassiopeia(Ratings):
pass
class NA_Elise_Bot_Chogath(Ratings):
pass
class NA_Elise_Bot_Corki(Ratings):
pass
class NA_Elise_Bot_Darius(Ratings):
pass
class NA_Elise_Bot_Diana(Ratings):
pass
class NA_Elise_Bot_Draven(Ratings):
pass
class NA_Elise_Bot_DrMundo(Ratings):
pass
class NA_Elise_Bot_Ekko(Ratings):
pass
class NA_Elise_Bot_Elise(Ratings):
pass
class NA_Elise_Bot_Evelynn(Ratings):
pass
class NA_Elise_Bot_Ezreal(Ratings):
pass
class NA_Elise_Bot_Fiddlesticks(Ratings):
pass
class NA_Elise_Bot_Fiora(Ratings):
pass
class NA_Elise_Bot_Fizz(Ratings):
pass
class NA_Elise_Bot_Galio(Ratings):
pass
class NA_Elise_Bot_Gangplank(Ratings):
pass
class NA_Elise_Bot_Garen(Ratings):
pass
class NA_Elise_Bot_Gnar(Ratings):
pass
class NA_Elise_Bot_Gragas(Ratings):
pass
class NA_Elise_Bot_Graves(Ratings):
pass
class NA_Elise_Bot_Hecarim(Ratings):
pass
class NA_Elise_Bot_Heimerdinger(Ratings):
pass
class NA_Elise_Bot_Illaoi(Ratings):
pass
class NA_Elise_Bot_Irelia(Ratings):
pass
class NA_Elise_Bot_Ivern(Ratings):
pass
class NA_Elise_Bot_Janna(Ratings):
pass
class NA_Elise_Bot_JarvanIV(Ratings):
pass
class NA_Elise_Bot_Jax(Ratings):
pass
class NA_Elise_Bot_Jayce(Ratings):
pass
class NA_Elise_Bot_Jhin(Ratings):
pass
class NA_Elise_Bot_Jinx(Ratings):
pass
class NA_Elise_Bot_Kalista(Ratings):
pass
class NA_Elise_Bot_Karma(Ratings):
pass
class NA_Elise_Bot_Karthus(Ratings):
pass
class NA_Elise_Bot_Kassadin(Ratings):
pass
class NA_Elise_Bot_Katarina(Ratings):
pass
class NA_Elise_Bot_Kayle(Ratings):
pass
class NA_Elise_Bot_Kayn(Ratings):
pass
class NA_Elise_Bot_Kennen(Ratings):
pass
class NA_Elise_Bot_Khazix(Ratings):
pass
class NA_Elise_Bot_Kindred(Ratings):
pass
class NA_Elise_Bot_Kled(Ratings):
pass
class NA_Elise_Bot_KogMaw(Ratings):
pass
class NA_Elise_Bot_Leblanc(Ratings):
pass
class NA_Elise_Bot_LeeSin(Ratings):
pass
class NA_Elise_Bot_Leona(Ratings):
pass
class NA_Elise_Bot_Lissandra(Ratings):
pass
class NA_Elise_Bot_Lucian(Ratings):
pass
class NA_Elise_Bot_Lulu(Ratings):
pass
class NA_Elise_Bot_Lux(Ratings):
pass
class NA_Elise_Bot_Malphite(Ratings):
pass
class NA_Elise_Bot_Malzahar(Ratings):
pass
class NA_Elise_Bot_Maokai(Ratings):
pass
class NA_Elise_Bot_MasterYi(Ratings):
pass
class NA_Elise_Bot_MissFortune(Ratings):
pass
class NA_Elise_Bot_MonkeyKing(Ratings):
pass
class NA_Elise_Bot_Mordekaiser(Ratings):
pass
class NA_Elise_Bot_Morgana(Ratings):
pass
class NA_Elise_Bot_Nami(Ratings):
pass
class NA_Elise_Bot_Nasus(Ratings):
pass
class NA_Elise_Bot_Nautilus(Ratings):
pass
class NA_Elise_Bot_Nidalee(Ratings):
pass
class NA_Elise_Bot_Nocturne(Ratings):
pass
class NA_Elise_Bot_Nunu(Ratings):
pass
class NA_Elise_Bot_Olaf(Ratings):
pass
class NA_Elise_Bot_Orianna(Ratings):
pass
class NA_Elise_Bot_Ornn(Ratings):
pass
class NA_Elise_Bot_Pantheon(Ratings):
pass
class NA_Elise_Bot_Poppy(Ratings):
pass
class NA_Elise_Bot_Quinn(Ratings):
pass
class NA_Elise_Bot_Rakan(Ratings):
pass
class NA_Elise_Bot_Rammus(Ratings):
pass
class NA_Elise_Bot_RekSai(Ratings):
pass
class NA_Elise_Bot_Renekton(Ratings):
pass
class NA_Elise_Bot_Rengar(Ratings):
pass
class NA_Elise_Bot_Riven(Ratings):
pass
class NA_Elise_Bot_Rumble(Ratings):
pass
class NA_Elise_Bot_Ryze(Ratings):
pass
class NA_Elise_Bot_Sejuani(Ratings):
pass
class NA_Elise_Bot_Shaco(Ratings):
pass
class NA_Elise_Bot_Shen(Ratings):
pass
class NA_Elise_Bot_Shyvana(Ratings):
pass
class NA_Elise_Bot_Singed(Ratings):
pass
class NA_Elise_Bot_Sion(Ratings):
pass
class NA_Elise_Bot_Sivir(Ratings):
pass
class NA_Elise_Bot_Skarner(Ratings):
pass
class NA_Elise_Bot_Sona(Ratings):
pass
class NA_Elise_Bot_Soraka(Ratings):
pass
class NA_Elise_Bot_Swain(Ratings):
pass
class NA_Elise_Bot_Syndra(Ratings):
pass
class NA_Elise_Bot_TahmKench(Ratings):
pass
class NA_Elise_Bot_Taliyah(Ratings):
pass
class NA_Elise_Bot_Talon(Ratings):
pass
class NA_Elise_Bot_Taric(Ratings):
pass
class NA_Elise_Bot_Teemo(Ratings):
pass
class NA_Elise_Bot_Thresh(Ratings):
pass
class NA_Elise_Bot_Tristana(Ratings):
pass
class NA_Elise_Bot_Trundle(Ratings):
pass
class NA_Elise_Bot_Tryndamere(Ratings):
pass
class NA_Elise_Bot_TwistedFate(Ratings):
pass
class NA_Elise_Bot_Twitch(Ratings):
pass
class NA_Elise_Bot_Udyr(Ratings):
pass
class NA_Elise_Bot_Urgot(Ratings):
pass
class NA_Elise_Bot_Varus(Ratings):
pass
class NA_Elise_Bot_Vayne(Ratings):
pass
class NA_Elise_Bot_Veigar(Ratings):
pass
class NA_Elise_Bot_Velkoz(Ratings):
pass
class NA_Elise_Bot_Vi(Ratings):
pass
class NA_Elise_Bot_Viktor(Ratings):
pass
class NA_Elise_Bot_Vladimir(Ratings):
pass
class NA_Elise_Bot_Volibear(Ratings):
pass
class NA_Elise_Bot_Warwick(Ratings):
pass
class NA_Elise_Bot_Xayah(Ratings):
pass
class NA_Elise_Bot_Xerath(Ratings):
pass
class NA_Elise_Bot_XinZhao(Ratings):
pass
class NA_Elise_Bot_Yasuo(Ratings):
pass
class NA_Elise_Bot_Yorick(Ratings):
pass
class NA_Elise_Bot_Zac(Ratings):
pass
class NA_Elise_Bot_Zed(Ratings):
pass
class NA_Elise_Bot_Ziggs(Ratings):
pass
class NA_Elise_Bot_Zilean(Ratings):
pass
class NA_Elise_Bot_Zyra(Ratings):
pass
| 15.364508 | 46 | 0.761667 | 972 | 6,407 | 4.59465 | 0.151235 | 0.216301 | 0.370802 | 0.463502 | 0.797582 | 0.797582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173404 | 6,407 | 416 | 47 | 15.401442 | 0.843278 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
f4a3da78843003b7cdad9576900ed3b3a2002f89 | 85 | py | Python | examples/simple.py | nitred/flask-rq-job-status | 7f8cee2befec33d9ad70b4b70b1b25cb52640fdf | [
"MIT"
] | null | null | null | examples/simple.py | nitred/flask-rq-job-status | 7f8cee2befec33d9ad70b4b70b1b25cb52640fdf | [
"MIT"
] | null | null | null | examples/simple.py | nitred/flask-rq-job-status | 7f8cee2befec33d9ad70b4b70b1b25cb52640fdf | [
"MIT"
] | null | null | null | """Basic functionality."""
import flask_rq_status
print(flask_rq_status.__version__) | 21.25 | 34 | 0.823529 | 11 | 85 | 5.636364 | 0.727273 | 0.225806 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 85 | 4 | 34 | 21.25 | 0.775 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
f4fcda9f3fbf8b69b1dfa0b3fda17d31a09347b6 | 98 | py | Python | Beginner_Day_1_14/Day1/Day_1.4_Variables/main.py | fredtheninja/100-Days-of-Code | d66b156d307c14d3b9d93559030d58294cc736bb | [
"MIT"
] | null | null | null | Beginner_Day_1_14/Day1/Day_1.4_Variables/main.py | fredtheninja/100-Days-of-Code | d66b156d307c14d3b9d93559030d58294cc736bb | [
"MIT"
] | null | null | null | Beginner_Day_1_14/Day1/Day_1.4_Variables/main.py | fredtheninja/100-Days-of-Code | d66b156d307c14d3b9d93559030d58294cc736bb | [
"MIT"
] | null | null | null | from typing import Counter
#print(len(input()))
# or
print(len(input("What is your name: ")))
| 10.888889 | 40 | 0.663265 | 15 | 98 | 4.333333 | 0.8 | 0.246154 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 8 | 41 | 12.25 | 0.792683 | 0.22449 | 0 | 0 | 0 | 0 | 0.260274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
521710042ffd143056cb842c883fdbb219ca85bc | 17,059 | py | Python | NetworkTypes/tfModels.py | thgnaedi/DeepRain | 4cf9323901f38898a3b119faf07e2869630046c3 | [
"BSD-3-Clause"
] | 29 | 2018-10-15T09:55:45.000Z | 2022-03-04T07:23:32.000Z | NetworkTypes/tfModels.py | thgnaedi/DeepRain | 4cf9323901f38898a3b119faf07e2869630046c3 | [
"BSD-3-Clause"
] | 30 | 2018-10-23T09:06:15.000Z | 2020-01-08T04:39:24.000Z | NetworkTypes/tfModels.py | thgnaedi/DeepRain | 4cf9323901f38898a3b119faf07e2869630046c3 | [
"BSD-3-Clause"
] | 9 | 2019-08-29T10:00:21.000Z | 2022-01-09T02:48:44.000Z | from tensorflow.python.keras.models import Model
from tensorflow.python.keras.layers import (Input, Conv2D, MaxPooling2D, Flatten, Dense, Activation, BatchNormalization,
concatenate, UpSampling2D)
def UNet64(input_shape,
n_predictions=1,
lossfunction="mean_squared_error",
simpleclassification=None,
flatten_output=True,
optimizer="adam",
activation_hidden="relu",
activation_output="relu",
metrics=None):
inputs = Input(shape=input_shape)
conv01 = Conv2D(10, kernel_size=(3, 3), padding="same")(inputs) # 10 x 64x64
conv01 = Activation(activation_hidden)(conv01)
conv01_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv01) # 10 x 32x32
print("0)", conv01_pool.shape, "10 x 32x32")
conv02 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv01_pool) # 20 x 32x32
conv02 = Activation(activation_hidden)(conv02)
conv02_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv02) # 20 x 16x16
print("1)", conv02_pool.shape, "20 x 16x16")
conv03 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv02_pool) # 20 x 16x16
conv03 = Activation(activation_hidden)(conv03)
conv03_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv03) # 20 x 8x8
print("2)", conv03_pool.shape, "20 x 8x8")
conv04 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv03_pool) # 20 x 8x8
conv04 = Activation(activation_hidden)(conv04)
conv04_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv04) # 20 x 4x4
print("3)", conv04_pool.shape, "20 x 4x4")
### UPSAMPLING:
up04 = UpSampling2D((2, 2))(conv04_pool) # 20 x 8x8
up04 = concatenate([conv04, up04], axis=3) # 20+20 x 8x8
print("4)", up04.shape, "40 x 8x8")
up03 = UpSampling2D((2, 2))(up04) # 40 x 16x16
up03 = concatenate([conv03, up03], axis=3) # 20+40 x 16x16
print("5)", up03.shape, "60 x 16x16")
up02 = UpSampling2D((2, 2))(up03) # 60 x 32x32
up02 = concatenate([conv02, up02], axis=3) # 20+60 x 32x32
print("6)", up02.shape, "80 x 32x32")
up01 = UpSampling2D((2, 2))(up02) # 80 x 64x64
up01 = concatenate([conv01, up01], axis=3) # 10+80 x 64x64
print("7)", up01.shape, "90 x 64x64")
output = Conv2D(n_predictions, (1, 1), activation=activation_output)(up01) # 1 x 64x64
print("8)", output.shape, "{} x 64x64".format(n_predictions))
if flatten_output:
output = Flatten()(output)
print("output flattened to {}".format(output.shape))
if simpleclassification is not None:
output = Dense(simpleclassification, activation='softmax')(output)
print("9)", output.shape, "zur Klassifikation von {} Klassen (mit softmax)".format(simpleclassification))
model = Model(inputs=inputs, outputs=output)
if metrics is not None:
model.compile(loss=lossfunction, optimizer=optimizer, metrics=metrics)
else:
model.compile(loss=lossfunction, optimizer=optimizer)
return model
def network_differentWay(input_shape, use_b_norm=True):
inputs = Input(shape=input_shape)
conv01 = Conv2D(32, kernel_size=(5, 5), input_shape=input_shape)(inputs)
if use_b_norm:
conv01 = BatchNormalization()(conv01)
conv01 = Activation('relu')(conv01)
conv01_pool = MaxPooling2D((3, 3), strides=(3, 3))(conv01)
# print("conv01_pool)",conv01_pool.shape)
up01 = UpSampling2D((3, 3))(conv01_pool)
if use_b_norm:
up01 = BatchNormalization()(up01)
up01 = concatenate([conv01, up01], axis=3)
output = Conv2D(1, (1, 1), activation='relu')(up01)
output = Flatten()(output)
model = Model(inputs=inputs, outputs=output)
model.compile(loss="mean_squared_error", optimizer='adam')
return model
def sameshape_CNN(input_shape, use_b_norm=True):
inputs = Input(shape=input_shape)
# print("0)", inputs.shape)
conv01 = Conv2D(32, kernel_size=(5, 5), input_shape=input_shape)(inputs)
# print("1)", conv01.shape)
if use_b_norm:
conv01 = BatchNormalization()(conv01)
conv01 = Activation('relu')(conv01)
conv01_pool = MaxPooling2D((3, 3), strides=(3, 3))(conv01)
conv02 = Conv2D(64, kernel_size=(3, 3), padding="same")(conv01_pool)
# print("2)", conv02.shape)
if use_b_norm:
conv02 = BatchNormalization()(conv02)
conv02 = Activation('relu')(conv02)
conv02_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv02)
# print("3)", conv02_pool.shape)
up02 = UpSampling2D((2, 2))(conv02_pool)
up02 = concatenate([conv02, up02], axis=3)
# print("4)", up02.shape)
up01 = UpSampling2D((3, 3))(up02)
if use_b_norm:
up01 = BatchNormalization()(up01)
up01 = concatenate([conv01, up01], axis=3)
# print("5)", up01.shape)
output = Conv2D(1, (1, 1), activation='relu')(up01)
# print("6)", output.shape)
output = Flatten()(output)
model = Model(inputs=inputs, outputs=output)
model.compile(loss="mean_squared_error", optimizer='adam')
# possible losses are: https://www.tensorflow.org/api_docs/python/tf/losses
return model
def UNet64_output_expansed(input_shape):
"""gleich wie UNet64, nur am output ist ein 3x3 Kernel eingesetzt."""
inputs = Input(shape=input_shape)
conv01 = Conv2D(10, kernel_size=(3, 3), padding="same")(inputs) # 10 x 64x64
conv01 = Activation('relu')(conv01)
conv01_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv01) # 10 x 32x32
print("0)", conv01_pool.shape, "10 x 32x32")
conv02 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv01_pool) # 20 x 32x32
conv02 = Activation('relu')(conv02)
conv02_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv02) # 20 x 16x16
print("1)", conv02_pool.shape, "20 x 16x16")
conv03 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv02_pool) # 20 x 16x16
conv03 = Activation('relu')(conv03)
conv03_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv03) # 20 x 8x8
print("2)", conv03_pool.shape, "20 x 8x8")
conv04 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv03_pool) # 20 x 8x8
conv04 = Activation('relu')(conv04)
conv04_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv04) # 20 x 4x4
print("3)", conv04_pool.shape, "20 x 4x4")
### UPSAMPLING:
up04 = UpSampling2D((2, 2))(conv04_pool) # 20 x 8x8
up04 = concatenate([conv04, up04], axis=3) # 20+20 x 8x8
print("4)", up04.shape, "40 x 8x8")
up03 = UpSampling2D((2, 2))(up04) # 40 x 16x16
up03 = concatenate([conv03, up03], axis=3) # 20+40 x 16x16
print("5)", up03.shape, "60 x 16x16")
up02 = UpSampling2D((2, 2))(up03) # 60 x 32x32
up02 = concatenate([conv02, up02], axis=3) # 20+60 x 32x32
print("6)", up02.shape, "80 x 32x32")
up01 = UpSampling2D((2, 2))(up02) # 80 x 64x64
up01 = concatenate([conv01, up01], axis=3) # 10+80 x 64x64
print("7)", up01.shape, "90 x 64x64")
output = Conv2D(1, (3, 3), activation='relu', padding="same")(up01) # 1 x 64x64
print("8)", output.shape, "1 x 64x64")
output = Flatten()(output)
model = Model(inputs=inputs, outputs=output)
model.compile(loss="mean_squared_error", optimizer='adam')
return model
def UNet64_2x2core(input_shape):
"""wie UNet64_out_expansed, aber downsampling bis 2x2"""
inputs = Input(shape=input_shape)
conv01 = Conv2D(10, kernel_size=(3, 3), padding="same")(inputs) # 10 x 64x64
conv01 = Activation('relu')(conv01)
conv01_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv01) # 10 x 32x32
print("0)", conv01_pool.shape, "10 x 32x32")
conv02 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv01_pool) # 20 x 32x32
conv02 = Activation('relu')(conv02)
conv02_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv02) # 20 x 16x16
print("1)", conv02_pool.shape, "20 x 16x16")
conv03 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv02_pool) # 20 x 16x16
conv03 = Activation('relu')(conv03)
conv03_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv03) # 20 x 8x8
print("2)", conv03_pool.shape, "20 x 8x8")
conv04 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv03_pool) # 20 x 8x8
conv04 = Activation('relu')(conv04)
conv04_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv04) # 20 x 4x4
print("3)", conv04_pool.shape, "20 x 4x4")
conv05 = Conv2D(5, kernel_size=(3, 3), padding="same")(conv04_pool) # 5 x 4x4
conv05 = Activation('relu')(conv05)
conv05_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv05) # 5 x 2x2
print("4)", conv05_pool.shape, "5 x 2x2")
### UPSAMPLING:
up05 = UpSampling2D((2, 2))(conv05_pool) # 5 x 4x4
up05 = concatenate([conv05, up05], axis=3) # 10 x 4x4
print("4)", up05.shape, "10 x 4x4")
up04 = UpSampling2D((2, 2))(up05) # 10 x 8x8
up04 = concatenate([conv04, up04], axis=3) # 20+10 x 8x8
print("4)", up04.shape, "20 x 8x8")
up03 = UpSampling2D((2, 2))(up04) # 30 x 16x16
up03 = concatenate([conv03, up03], axis=3) # 20+30 x 16x16
print("5)", up03.shape, "50 x 16x16")
up02 = UpSampling2D((2, 2))(up03) # 50 x 32x32
up02 = concatenate([conv02, up02], axis=3) # 20+50 x 32x32
print("6)", up02.shape, "70 x 32x32")
up01 = UpSampling2D((2, 2))(up02) # 70 x 64x64
up01 = concatenate([conv01, up01], axis=3) # 10+70 x 64x64
print("7)", up01.shape, "80 x 64x64")
output = Conv2D(1, (3, 3), activation='relu', padding="same")(up01) # 1 x 64x64
print("8)", output.shape, "1 x 64x64")
output = Flatten()(output)
model = Model(inputs=inputs, outputs=output)
model.compile(loss="mean_squared_error", optimizer='adam')
return model
def UNet64_2x2core_large(input_shape):
"""wie UNet64_out_expansed, aber downsampling bis 2x2"""
inputs = Input(shape=input_shape)
conv01 = Conv2D(10, kernel_size=(3, 3), padding="same")(inputs) # 10 x 64x64
conv01 = Activation('relu')(conv01)
conv01_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv01) # 10 x 32x32
print("0)", conv01_pool.shape, "10 x 32x32")
conv02 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv01_pool) # 20 x 32x32
conv02 = Activation('relu')(conv02)
conv02_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv02) # 20 x 16x16
print("1)", conv02_pool.shape, "20 x 16x16")
conv03 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv02_pool) # 20 x 16x16
conv03 = Activation('relu')(conv03)
conv03_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv03) # 20 x 8x8
print("2)", conv03_pool.shape, "20 x 8x8")
conv04 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv03_pool) # 20 x 8x8
conv04 = Activation('relu')(conv04)
conv04_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv04) # 20 x 4x4
print("3)", conv04_pool.shape, "20 x 4x4")
conv05 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv04_pool) # 20 x 4x4
conv05 = Activation('relu')(conv05)
conv05_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv05) # 20 x 2x2
print("4)", conv05_pool.shape, "20 x 2x2")
### UPSAMPLING:
up05 = UpSampling2D((2, 2))(conv05_pool) # 20 x 4x4
up05 = concatenate([conv05, up05], axis=3) # 40 x 4x4
print("4)", up05.shape, "40 x 4x4")
up04 = UpSampling2D((2, 2))(up05) # 10 x 8x8
up04 = concatenate([conv04, up04], axis=3) # 20+40 x 8x8
print("4)", up04.shape, "60 x 8x8")
up03 = UpSampling2D((2, 2))(up04) # 30 x 16x16
up03 = concatenate([conv03, up03], axis=3) # 20+60 x 16x16
print("5)", up03.shape, "80 x 16x16")
up02 = UpSampling2D((2, 2))(up03) # 80 x 32x32
up02 = concatenate([conv02, up02], axis=3) # 20+80 x 32x32
print("6)", up02.shape, "100 x 32x32")
up01 = UpSampling2D((2, 2))(up02) # 100 x 64x64
up01 = concatenate([conv01, up01], axis=3) # 10+100 x 64x64
print("7)", up01.shape, "110 x 64x64")
output = Conv2D(1, (3, 3), activation='relu', padding="same")(up01) # 1 x 64x64
print("8)", output.shape, "1 x 64x64")
output = Flatten()(output)
model = Model(inputs=inputs, outputs=output)
model.compile(loss="mean_squared_error", optimizer='adam')
return model
def UNet64_sigmoid_tanh(input_shape):
"""gleich wie UNet64_output_expansed, teilweise mit sigmoid und tanh statt relu."""
inputs = Input(shape=input_shape)
conv01 = Conv2D(10, kernel_size=(3, 3), padding="same")(inputs) # 10 x 64x64
conv01 = Activation('tanh')(conv01)
conv01_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv01) # 10 x 32x32
print("0)", conv01_pool.shape, "10 x 32x32")
conv02 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv01_pool) # 20 x 32x32
conv02 = Activation('tanh')(conv02)
conv02_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv02) # 20 x 16x16
print("1)", conv02_pool.shape, "20 x 16x16")
conv03 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv02_pool) # 20 x 16x16
conv03 = Activation('tanh')(conv03)
conv03_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv03) # 20 x 8x8
print("2)", conv03_pool.shape, "20 x 8x8")
conv04 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv03_pool) # 20 x 8x8
conv04 = Activation('relu')(conv04)
conv04_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv04) # 20 x 4x4
print("3)", conv04_pool.shape, "20 x 4x4")
### UPSAMPLING:
up04 = UpSampling2D((2, 2))(conv04_pool) # 20 x 8x8
up04 = concatenate([conv04, up04], axis=3) # 20+20 x 8x8
print("4)", up04.shape, "40 x 8x8")
up03 = UpSampling2D((2, 2))(up04) # 40 x 16x16
up03 = concatenate([conv03, up03], axis=3) # 20+40 x 16x16
print("5)", up03.shape, "60 x 16x16")
up02 = UpSampling2D((2, 2))(up03) # 60 x 32x32
up02 = concatenate([conv02, up02], axis=3) # 20+60 x 32x32
print("6)", up02.shape, "80 x 32x32")
up01 = UpSampling2D((2, 2))(up02) # 80 x 64x64
up01 = concatenate([conv01, up01], axis=3) # 15+80 x 64x64
print("7)", up01.shape, "95 x 64x64")
output = Conv2D(1, (3, 3), activation='relu', padding="same")(up01) # 1 x 64x64
# output = Activation('tanh')(output)
print("8)", output.shape, "1 x 64x64")
output = Flatten()(output)
model = Model(inputs=inputs, outputs=output)
model.compile(loss="mean_squared_error", optimizer='nadam')
# ToDo: try Nesterov Adam optimizer (nadam)
# http://proceedings.mlr.press/v28/sutskever13.pdf
return model
def UNet64x2(input_shape):
"""default network extendet to predict 2 timesteps at once"""
inputs = Input(shape=input_shape)
conv01 = Conv2D(10, kernel_size=(3, 3), padding="same")(inputs) # 10 x 64x64
conv01 = Activation('relu')(conv01)
conv01_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv01) # 10 x 32x32
print("0)", conv01_pool.shape, "10 x 32x32")
conv02 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv01_pool) # 20 x 32x32
conv02 = Activation('relu')(conv02)
conv02_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv02) # 20 x 16x16
print("1)", conv02_pool.shape, "20 x 16x16")
conv03 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv02_pool) # 20 x 16x16
conv03 = Activation('relu')(conv03)
conv03_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv03) # 20 x 8x8
print("2)", conv03_pool.shape, "20 x 8x8")
conv04 = Conv2D(20, kernel_size=(3, 3), padding="same")(conv03_pool) # 20 x 8x8
conv04 = Activation('relu')(conv04)
conv04_pool = MaxPooling2D((2, 2), strides=(2, 2))(conv04) # 20 x 4x4
print("3)", conv04_pool.shape, "20 x 4x4")
### UPSAMPLING:
up04 = UpSampling2D((2, 2))(conv04_pool) # 20 x 8x8
up04 = concatenate([conv04, up04], axis=3) # 20+20 x 8x8
print("4)", up04.shape, "40 x 8x8")
up03 = UpSampling2D((2, 2))(up04) # 40 x 16x16
up03 = concatenate([conv03, up03], axis=3) # 20+40 x 16x16
print("5)", up03.shape, "60 x 16x16")
up02 = UpSampling2D((2, 2))(up03) # 60 x 32x32
up02 = concatenate([conv02, up02], axis=3) # 20+60 x 32x32
print("6)", up02.shape, "80 x 32x32")
up01 = UpSampling2D((2, 2))(up02) # 80 x 64x64
up01 = concatenate([conv01, up01], axis=3) # 10+80 x 64x64
print("7)", up01.shape, "90 x 64x64")
output = Conv2D(2, (1, 1), activation='relu')(up01) # 2 x 64x64
print("8)", output.shape, "2 x 64x64")
output = Flatten()(output)
model = Model(inputs=inputs, outputs=output)
model.compile(loss="mean_squared_error", optimizer='adam')
return model
if __name__ == '__main__':
print("=)")
| 42.861809 | 120 | 0.612463 | 2,372 | 17,059 | 4.319562 | 0.067454 | 0.015811 | 0.028987 | 0.031622 | 0.857603 | 0.843939 | 0.806656 | 0.7886 | 0.762932 | 0.739899 | 0 | 0.169362 | 0.224339 | 17,059 | 397 | 121 | 42.969773 | 0.604973 | 0.116947 | 0 | 0.786207 | 0 | 0 | 0.07873 | 0 | 0 | 0 | 0 | 0.002519 | 0 | 1 | 0.027586 | false | 0 | 0.006897 | 0 | 0.062069 | 0.210345 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5217197ada853bcb9e501aa01f08ed09d2be9c81 | 8,285 | py | Python | venv/lib/python3.8/site-packages/spaceone/api/spot_automation/v1/interrupt_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/spot_automation/v1/interrupt_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/spot_automation/v1/interrupt_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from spaceone.api.spot_automation.v1 import interrupt_pb2 as spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2
class InterruptStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.confirm = channel.unary_unary(
'/spaceone.api.spot_automation.v1.Interrupt/confirm',
request_serializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.ConfirmRequest.SerializeToString,
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
)
self.interrupt = channel.unary_unary(
'/spaceone.api.spot_automation.v1.Interrupt/interrupt',
request_serializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptRequest.SerializeToString,
response_deserializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptInfo.FromString,
)
self.list = channel.unary_unary(
'/spaceone.api.spot_automation.v1.Interrupt/list',
request_serializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.QueryInterruptRequest.SerializeToString,
response_deserializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptsInfo.FromString,
)
self.stat = channel.unary_unary(
'/spaceone.api.spot_automation.v1.Interrupt/stat',
request_serializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptStatRequest.SerializeToString,
response_deserializer=google_dot_protobuf_dot_struct__pb2.Struct.FromString,
)
class InterruptServicer(object):
"""Missing associated documentation comment in .proto file."""
def confirm(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def interrupt(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def list(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def stat(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_InterruptServicer_to_server(servicer, server):
rpc_method_handlers = {
'confirm': grpc.unary_unary_rpc_method_handler(
servicer.confirm,
request_deserializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.ConfirmRequest.FromString,
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
),
'interrupt': grpc.unary_unary_rpc_method_handler(
servicer.interrupt,
request_deserializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptRequest.FromString,
response_serializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptInfo.SerializeToString,
),
'list': grpc.unary_unary_rpc_method_handler(
servicer.list,
request_deserializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.QueryInterruptRequest.FromString,
response_serializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptsInfo.SerializeToString,
),
'stat': grpc.unary_unary_rpc_method_handler(
servicer.stat,
request_deserializer=spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptStatRequest.FromString,
response_serializer=google_dot_protobuf_dot_struct__pb2.Struct.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'spaceone.api.spot_automation.v1.Interrupt', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class Interrupt(object):
"""Missing associated documentation comment in .proto file."""
@staticmethod
def confirm(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/spaceone.api.spot_automation.v1.Interrupt/confirm',
spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.ConfirmRequest.SerializeToString,
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def interrupt(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/spaceone.api.spot_automation.v1.Interrupt/interrupt',
spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptRequest.SerializeToString,
spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptInfo.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def list(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/spaceone.api.spot_automation.v1.Interrupt/list',
spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.QueryInterruptRequest.SerializeToString,
spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptsInfo.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def stat(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/spaceone.api.spot_automation.v1.Interrupt/stat',
spaceone_dot_api_dot_spot__automation_dot_v1_dot_interrupt__pb2.InterruptStatRequest.SerializeToString,
google_dot_protobuf_dot_struct__pb2.Struct.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
| 49.315476 | 139 | 0.704043 | 864 | 8,285 | 6.302083 | 0.121528 | 0.074564 | 0.048852 | 0.05932 | 0.866483 | 0.861524 | 0.842608 | 0.775758 | 0.73719 | 0.677319 | 0 | 0.00922 | 0.22764 | 8,285 | 167 | 140 | 49.610778 | 0.841694 | 0.07592 | 0 | 0.477612 | 1 | 0 | 0.08452 | 0.057094 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074627 | false | 0 | 0.029851 | 0.029851 | 0.156716 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
524a19a42621c6c8e8123122889d35d1aa3eb425 | 7,000 | py | Python | tests/test_basic.py | untitaker/python-sensitive-variables | 9078aa09c0cf1902e38a45cfd92b71dccf38bb96 | [
"MIT"
] | 9 | 2019-08-13T03:12:11.000Z | 2021-07-01T21:56:26.000Z | tests/test_basic.py | untitaker/python-sensitive-variables | 9078aa09c0cf1902e38a45cfd92b71dccf38bb96 | [
"MIT"
] | 10 | 2020-04-30T14:45:20.000Z | 2022-01-18T11:34:33.000Z | tests/test_basic.py | untitaker/python-sensitive-variables | 9078aa09c0cf1902e38a45cfd92b71dccf38bb96 | [
"MIT"
] | 1 | 2020-04-29T20:34:01.000Z | 2020-04-29T20:34:01.000Z | import gc
try:
from collections import UserDict # type: ignore
except ImportError:
from UserDict import UserDict # type: ignore
import pytest # type: ignore
from sensitive_variables import PLACEHOLDER, sensitive_variables, get_all_variables
ITERATION_COUNT = 1000
@pytest.fixture
def no_cyclic_references():
gc.disable()
gc.collect()
def inner(f):
old_objects = len(gc.get_objects())
for _ in range(ITERATION_COUNT):
f()
assert len(gc.get_objects()) - old_objects < ITERATION_COUNT
yield inner
gc.enable()
gc.collect()
def test_basic(no_cyclic_references):
def f():
is_test_func = True # noqa
@sensitive_variables("password")
def login_user(username, password):
is_inside_func = True # noqa
print("logging in " + username + password)
try:
login_user(None, "secret123")
except TypeError:
test_locals, wrapper_locals, locals = get_all_variables()
else:
assert False
# Assert that we got the right frames
assert test_locals["is_test_func"]
assert locals["is_inside_func"]
assert wrapper_locals["f"]
# Assert real functionality
assert locals["password"] == PLACEHOLDER
assert "secret123" not in list(locals.values())
no_cyclic_references(f)
def test_basic_no_arguments(no_cyclic_references):
def f():
is_test_func = True # noqa
# This should clean everything!
@sensitive_variables()
def login_user(username, password):
is_inside_func = True # noqa
to_clean = {"dict": "a"} # noqa
print("logging in " + username + password)
try:
login_user(None, "secret123")
except TypeError:
test_locals, wrapper_locals, locals = get_all_variables()
else:
assert False
# Assert that we got the right frames
assert test_locals["is_test_func"]
assert locals["is_inside_func"]
assert wrapper_locals["f"]
# Assert real functionality
assert locals["password"] == PLACEHOLDER
assert "secret123" not in list(locals.values())
assert locals["to_clean"] == PLACEHOLDER
no_cyclic_references(f)
def test_basic_depth_2(no_cyclic_references):
def f():
is_test_func = True # noqa
def _login_user(username, password):
is_inside_nested_func = True # noqa
print("logging in " + username + password)
@sensitive_variables("password", depth=2)
def login_user(username, password):
is_inside_func = True # noqa
_login_user(username, password)
try:
login_user(None, "secret123")
except TypeError:
test_locals, wrapper_locals, login_user_locals, locals = get_all_variables()
else:
assert False
# Assert that we got the right frames
assert test_locals["is_test_func"]
assert locals["is_inside_nested_func"]
assert wrapper_locals["f"]
assert login_user_locals["_login_user"]
# Assert real functionality
assert locals["password"] == PLACEHOLDER
assert "secret123" not in list(locals.values())
no_cyclic_references(f)
def test_basic_custom_scrub_fn_reference(no_cyclic_references):
def scrub_dict(local_value, variable_name):
if isinstance(local_value, dict):
local_value.pop("field_special", None)
return True, local_value
return False, local_value
def f():
is_test_func = True # noqa
@sensitive_variables("password", custom_scrub_fn=scrub_dict)
def login_user(username, password):
is_inside_func = True # noqa
test_dict = {"field_special": "secret123", "normal": "not secret"} # noqa
test_user_dict = UserDict( # noqa
{"field_special": "secret123", "normal": "not secret"}
)
print("logging in " + username + password)
try:
login_user(None, "secret123")
except TypeError:
test_locals, wrapper_locals, locals = get_all_variables()
else:
assert False
# Assert that we got the right frames
assert test_locals["is_test_func"]
assert locals["is_inside_func"]
assert wrapper_locals["f"]
# Assert real functionality
assert locals["password"] == PLACEHOLDER
assert "secret123" not in list(locals.values())
assert locals["test_dict"] == {"normal": "not secret"}
assert locals["test_user_dict"] == UserDict(
{"field_special": "secret123", "normal": "not secret"}
)
no_cyclic_references(f)
def test_basic_custom_scrub_fn_reference_without_names(no_cyclic_references):
def scrub_dict(local_value, variable_name):
if isinstance(local_value, dict):
return True, {"new_dict": "a"}
return False, local_value
def f():
is_test_func = True # noqa
@sensitive_variables(custom_scrub_fn=scrub_dict)
def login_user(username, password):
is_inside_func = True # noqa
test_dict = {"field_special": "secret123", "normal": "not secret"} # noqa
print("logging in " + username + password)
try:
login_user(None, "secret123")
except TypeError:
test_locals, wrapper_locals, locals = get_all_variables()
else:
assert False
# Assert that we got the right frames
assert test_locals["is_test_func"]
assert locals["is_inside_func"]
assert wrapper_locals["f"]
# Assert real functionality
assert locals["test_dict"] == {"new_dict": "a"}
no_cyclic_references(f)
def test_basic_custom_scrub_fn_int(no_cyclic_references):
def scrub_var(local_value, variable_name):
if variable_name == "to_scrub":
return True, PLACEHOLDER
return False, local_value
def f():
is_test_func = True # noqa
@sensitive_variables("password", custom_scrub_fn=scrub_var)
def login_user(username, password):
is_inside_func = True # noqa
to_scrub = "secret123" # noqa
print("logging in " + username + password)
try:
login_user(None, "secret123")
except TypeError:
test_locals, wrapper_locals, locals = get_all_variables()
else:
assert False
# Assert that we got the right frames
assert test_locals["is_test_func"]
assert locals["is_inside_func"]
assert wrapper_locals["f"]
# Assert real functionality
assert locals["password"] == PLACEHOLDER
assert "secret123" not in list(locals.values())
assert locals["to_scrub"] == PLACEHOLDER
no_cyclic_references(f)
| 30.042918 | 88 | 0.62 | 799 | 7,000 | 5.151439 | 0.125156 | 0.037172 | 0.056851 | 0.048591 | 0.802478 | 0.780369 | 0.755588 | 0.73931 | 0.729106 | 0.729106 | 0 | 0.010887 | 0.291429 | 7,000 | 232 | 89 | 30.172414 | 0.818952 | 0.075714 | 0 | 0.687117 | 0 | 0 | 0.106605 | 0.003263 | 0 | 0 | 0 | 0 | 0.251534 | 1 | 0.147239 | false | 0.141104 | 0.03681 | 0 | 0.220859 | 0.03681 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
525199574b6b9406b6765de06ac5454c169bc000 | 252 | py | Python | spacq/devices/__init__.py | zachparrott/SpanishAcquisitionIQC | dd2e683c4cbc5fa420226d545077d94bf2dcb46b | [
"BSD-2-Clause"
] | null | null | null | spacq/devices/__init__.py | zachparrott/SpanishAcquisitionIQC | dd2e683c4cbc5fa420226d545077d94bf2dcb46b | [
"BSD-2-Clause"
] | null | null | null | spacq/devices/__init__.py | zachparrott/SpanishAcquisitionIQC | dd2e683c4cbc5fa420226d545077d94bf2dcb46b | [
"BSD-2-Clause"
] | null | null | null | from . import agilent, iqc, oxford, rohde_schwarz, tektronix, keithley, cryomagnetics, lakeshore, stanford_research_systems
manufacturers = [agilent, iqc, oxford, rohde_schwarz, tektronix, keithley, cryomagnetics, lakeshore, stanford_research_systems]
| 84 | 127 | 0.829365 | 27 | 252 | 7.518519 | 0.555556 | 0.098522 | 0.157635 | 0.206897 | 0.8867 | 0.8867 | 0.8867 | 0.8867 | 0.8867 | 0.8867 | 0 | 0 | 0.09127 | 252 | 2 | 128 | 126 | 0.886463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
5279608e54cc0689e5534476175af4645faaabc3 | 578 | py | Python | market_data/__init__.py | alphamatic/amp | 5018137097159415c10eaa659a2e0de8c4e403d4 | [
"BSD-3-Clause"
] | 5 | 2021-08-10T23:16:44.000Z | 2022-03-17T17:27:00.000Z | market_data/__init__.py | alphamatic/amp | 5018137097159415c10eaa659a2e0de8c4e403d4 | [
"BSD-3-Clause"
] | 330 | 2021-06-10T17:28:22.000Z | 2022-03-31T00:55:48.000Z | market_data/__init__.py | alphamatic/amp | 5018137097159415c10eaa659a2e0de8c4e403d4 | [
"BSD-3-Clause"
] | 6 | 2021-06-10T17:20:32.000Z | 2022-03-28T08:08:03.000Z | """
Import as:
import market_data as mdata
"""
from market_data.abstract_market_data import * # pylint: disable=unused-import # NOQA
from market_data.market_data_client_example import * # pylint: disable=unused-import # NOQA
from market_data.market_data_example import * # pylint: disable=unused-import # NOQA
from market_data.market_data_im_client import * # pylint: disable=unused-import # NOQA
from market_data.real_time_market_data import * # pylint: disable=unused-import # NOQA
from market_data.replayed_market_data import * # pylint: disable=unused-import # NOQA
| 44.461538 | 92 | 0.794118 | 82 | 578 | 5.329268 | 0.207317 | 0.297483 | 0.19222 | 0.343249 | 0.810069 | 0.810069 | 0.810069 | 0.810069 | 0.707094 | 0.594966 | 0 | 0 | 0.121107 | 578 | 12 | 93 | 48.166667 | 0.860236 | 0.442907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 11 |
8705f7babf6fb27e01d02962c252be5d480d909f | 3,820 | py | Python | fixtures/models/board.py | iamwillzhu/sneky-snek | 3a02f23f484cd589f05ebccfe97d8a5dfe31ea5e | [
"MIT"
] | null | null | null | fixtures/models/board.py | iamwillzhu/sneky-snek | 3a02f23f484cd589f05ebccfe97d8a5dfe31ea5e | [
"MIT"
] | null | null | null | fixtures/models/board.py | iamwillzhu/sneky-snek | 3a02f23f484cd589f05ebccfe97d8a5dfe31ea5e | [
"MIT"
] | null | null | null | import pytest
from src.models.battlesnake import Battlesnake
from src.models.board import Board
from src.models.point import Point
@pytest.fixture
def json():
return {
"game": {
"id": "game-00fe20da-94ad-11ea-bb37",
"timeout": 500
},
"turn": 14,
"board": {
"height": 11,
"width": 11,
"food": [
{"x": 5, "y": 5},
{"x": 9, "y": 0},
{"x": 2, "y": 6}
],
"snakes": [
{
"id": "snake-508e96ac-94ad-11ea-bb37",
"name": "My Snake",
"health": 54,
"body": [
{"x": 0, "y": 0},
{"x": 1, "y": 0},
{"x": 2, "y": 0}
],
"head": {"x": 0, "y": 0},
"length": 3,
"shout": "why are we shouting??"
},
{
"id": "snake-b67f4906-94ae-11ea-bb37",
"name": "Another Snake",
"health": 16,
"body": [
{"x": 5, "y": 4},
{"x": 5, "y": 3},
{"x": 6, "y": 3},
{"x": 6, "y": 2}
],
"head": {"x": 5, "y": 4},
"length": 4,
"shout": "I'm not really sure..."
}
]
},
"you": {
"id": "snake-508e96ac-94ad-11ea-bb37",
"name": "My Snake",
"health": 54,
"body": [
{"x": 0, "y": 0},
{"x": 1, "y": 0},
{"x": 2, "y": 0}
],
"head": {"x": 0, "y": 0},
"length": 3,
"shout": "why are we shouting??"
}
}
@pytest.fixture
def board():
return Board(
height=11,
width=11,
food=(
Point(x=5,y=5),
Point(x=9,y=0),
Point(x=2,y=6)),
snakes=(
Battlesnake(
id="snake-508e96ac-94ad-11ea-bb37",
name="My Snake",
health=54,
body=(
Point(x=0,y=0),
Point(x=1,y=0),
Point(x=2,y=0)),
head=Point(x=0,y=0),
length=3,
shout="why are we shouting??"),
Battlesnake(
id="snake-b67f4906-94ae-11ea-bb37",
name="Another Snake",
health=16,
body=(
Point(x=5,y=4),
Point(x=5,y=3),
Point(x=6,y=3),
Point(x=6,y=2)),
head=Point(x=5,y=4),
length=4,
shout="I'm not really sure...")))
@pytest.fixture
def one_food_board():
return Board(
height=11,
width=11,
food=(
Point(x=5,y=5),),
snakes=(
Battlesnake(
id="snake-508e96ac-94ad-11ea-bb37",
name="My Snake",
health=54,
body=(
Point(x=0,y=0),
Point(x=1,y=0),
Point(x=2,y=0)),
head=Point(x=0,y=0),
length=3,
shout="why are we shouting??"),
Battlesnake(
id="snake-b67f4906-94ae-11ea-bb37",
name="Another Snake",
health=16,
body=(
Point(x=5,y=4),
Point(x=5,y=3),
Point(x=6,y=3),
Point(x=6,y=2)),
head=Point(x=5,y=4),
length=4,
shout="I'm not really sure...")))
| 28.939394 | 55 | 0.322251 | 391 | 3,820 | 3.143223 | 0.158568 | 0.107404 | 0.029292 | 0.026037 | 0.801465 | 0.779496 | 0.751831 | 0.751831 | 0.751831 | 0.751831 | 0 | 0.109618 | 0.512827 | 3,820 | 131 | 56 | 29.160305 | 0.550779 | 0 | 0 | 0.65625 | 0 | 0 | 0.163089 | 0.060471 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023438 | true | 0 | 0.03125 | 0.023438 | 0.078125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8742b4fb965d4c0f3b5f48680fa19a1afed05897 | 31,100 | py | Python | tests/test_validate_paddle_cabling.py | Cray-HPE/canu | 3a92ce1e9b63f35aa30b9135afaa734e61909407 | [
"MIT"
] | 6 | 2021-09-16T22:02:48.000Z | 2022-02-04T18:08:57.000Z | tests/test_validate_paddle_cabling.py | Cray-HPE/canu | 3a92ce1e9b63f35aa30b9135afaa734e61909407 | [
"MIT"
] | 57 | 2021-09-17T17:15:59.000Z | 2022-03-31T20:56:21.000Z | tests/test_validate_paddle_cabling.py | Cray-HPE/canu | 3a92ce1e9b63f35aa30b9135afaa734e61909407 | [
"MIT"
] | 4 | 2022-01-06T17:09:02.000Z | 2022-02-04T18:09:33.000Z | # MIT License
#
# (C) Copyright [2022] Hewlett Packard Enterprise Development LP
#
# 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.
"""Test CANU validate shcd commands."""
import json
from os import path
from pathlib import Path
from unittest.mock import patch
from click import testing
import requests
import responses
from canu.cli import cli
from canu.utils.cache import remove_switch_from_cache
from .test_validate_paddle import bad_ccj
from .test_validate_shcd_cabling import (
arp_neighbors_json1,
lldp_neighbors_json1,
mac_address_table,
switch_info1,
)
test_file_directory = Path(__file__).resolve().parent
test_file_name = "Full_Architecture_Golden_Config_1.1.5.json"
test_file = path.join(test_file_directory, "data", test_file_name)
cache_minutes = 0
csm = "1.2"
username = "admin"
password = "admin"
ip = "192.168.1.1"
ips = "192.168.1.1"
credentials = {"username": username, "password": password}
ccj_file = "test_file.json"
runner = testing.CliRunner()
@patch("canu.report.switch.cabling.cabling.switch_vendor")
@patch("canu.report.switch.cabling.cabling.netmiko_command")
@responses.activate
def test_validate_paddle_cabling(netmiko_command, switch_vendor):
"""Test that the `canu validate paddle-cabling` command runs and returns valid cabling."""
with runner.isolated_filesystem():
with open(ccj_file, "w") as f:
json.dump(ccj, f)
switch_vendor.return_value = "aruba"
netmiko_command.return_value = mac_address_table
responses.add(
responses.POST,
f"https://{ip}/rest/v10.04/login",
)
responses.add(
responses.GET,
f"https://{ip}/rest/v10.04/system?attributes=platform_name,hostname,system_mac",
json=switch_info1,
)
responses.add(
responses.GET,
f"https://{ip}/rest/v10.04/system/interfaces/*/lldp_neighbors?depth=2",
json=lldp_neighbors_json1,
)
responses.add(
responses.GET,
f"https://{ip}/rest/v10.04/system/vrfs/default/neighbors?depth=2",
json=arp_neighbors_json1,
)
responses.add(
responses.POST,
f"https://{ip}/rest/v10.04/logout",
)
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--csm",
csm,
"--ccj",
ccj_file,
"--ips",
ips,
"--username",
username,
"--password",
password,
],
)
assert result.exit_code == 0
assert (
"sw-spine-001\n"
+ "Rack: x3000 Elevation: u12\n"
+ "--------------------------------------------------------------------------------\n"
+ "Port CCJ Cabling\n"
+ "--------------------------------------------------------------------------------\n"
+ "1 sw-spine-002:1 sw-spine-002:1\n"
+ "2 sw-spine-002:2 sw-spine-002:2\n"
+ "4 sw-leaf-bmc-099:2 ncn-m88:ocp:2\n"
+ "9 ncn-w003:ocp:1 None\n"
+ "15 ncn-s003:ocp:1 None\n"
+ "16 uan001:ocp:1 None\n"
+ "17 uan001:ocp:2 None\n"
+ "47 sw-spine-002:47 None\n"
+ "48 sw-leaf-bmc-001:49 None\n"
+ "5 None sw-leaf-bmc-099:5\n"
+ "\n"
+ "sw-spine-002\n"
+ "Rack: x3000 Elevation: u13\n"
+ "--------------------------------------------------------------------------------\n"
+ "Port CCJ Cabling\n"
+ "--------------------------------------------------------------------------------\n"
+ "1 sw-spine-001:1 sw-spine-001:1\n"
+ "2 sw-spine-001:2 sw-spine-001:2\n"
+ "9 ncn-w003:ocp:2 None\n"
+ "16 uan001:pcie-slot1:1 None\n"
+ "17 uan001:pcie-slot1:2 None\n"
+ "47 sw-spine-001:47 None\n"
+ "48 sw-leaf-bmc-001:50 None\n"
) in str(result.output)
assert (
"Node type could not be determined for the following.\n"
+ "These nodes are not currently included in the model.\n"
+ "(This may be a missing architectural definition/lookup or a spelling error)\n"
+ "--------------------------------------------------------------------------------\n"
+ "sw-spine-001 1/1/3 ===> 00:00:00:00:00:00 XEROX CORPORATION 192.168.1.2:vlan1, 192.168.2.2:vlan3\n"
+ "Nodes that show up as MAC addresses might need to have LLDP enabled.\n"
+ "\n"
+ "The following nodes should be renamed\n"
+ "--------------------------------------------------------------------------------\n"
+ "sw-leaf-bmc99 should be renamed sw-leaf-bmc-099\n"
+ "sw-spine01 should be renamed sw-spine-001\n"
+ "sw-spine02 should be renamed sw-spine-002\n"
) in str(result.output)
remove_switch_from_cache(ip)
def test_validate_paddle_cabling_no_architecture():
"""Test that the `canu validate paddle-cabling` command errors on bad architecture."""
bad_ccj_file = "bad.json"
with runner.isolated_filesystem():
with open(bad_ccj_file, "w") as f:
json.dump(bad_ccj, f)
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--ccj",
bad_ccj_file,
"--csm",
csm,
"--ips",
ips,
"--username",
username,
"--password",
password,
],
)
assert result.exit_code == 0
assert (
"The key 'architecture' is missing from the CCJ. Ensure that you are using a validated CCJ."
in str(result.output)
)
@patch("canu.report.switch.cabling.cabling.switch_vendor")
@patch("canu.report.switch.cabling.cabling.netmiko_command")
@responses.activate
def test_validate_paddle_cabling_file(netmiko_command, switch_vendor):
"""Test that the `canu validate paddle-cabling` command runs and returns valid cabling from file."""
ccj_file = "test_file.json"
with runner.isolated_filesystem():
with open(ccj_file, "w") as f:
json.dump(ccj, f)
with open("test.txt", "w") as f:
f.write("192.168.1.1")
switch_vendor.return_value = "aruba"
netmiko_command.return_value = mac_address_table
responses.add(
responses.POST,
f"https://{ip}/rest/v10.04/login",
)
responses.add(
responses.GET,
f"https://{ip}/rest/v10.04/system?attributes=platform_name,hostname,system_mac",
json=switch_info1,
)
responses.add(
responses.GET,
f"https://{ip}/rest/v10.04/system/interfaces/*/lldp_neighbors?depth=2",
json=lldp_neighbors_json1,
)
responses.add(
responses.GET,
f"https://{ip}/rest/v10.04/system/vrfs/default/neighbors?depth=2",
json=arp_neighbors_json1,
)
responses.add(
responses.POST,
f"https://{ip}/rest/v10.04/logout",
)
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--csm",
csm,
"--ccj",
ccj_file,
"--ips-file",
"test.txt",
"--username",
username,
"--password",
password,
],
)
assert result.exit_code == 0
assert (
"sw-spine-001\n"
+ "Rack: x3000 Elevation: u12\n"
+ "--------------------------------------------------------------------------------\n"
+ "Port CCJ Cabling\n"
+ "--------------------------------------------------------------------------------\n"
+ "1 sw-spine-002:1 sw-spine-002:1\n"
+ "2 sw-spine-002:2 sw-spine-002:2\n"
+ "4 sw-leaf-bmc-099:2 ncn-m88:ocp:2\n"
+ "9 ncn-w003:ocp:1 None\n"
+ "15 ncn-s003:ocp:1 None\n"
+ "16 uan001:ocp:1 None\n"
+ "17 uan001:ocp:2 None\n"
+ "47 sw-spine-002:47 None\n"
+ "48 sw-leaf-bmc-001:49 None\n"
+ "5 None sw-leaf-bmc-099:5\n"
+ "\n"
+ "sw-spine-002\n"
+ "Rack: x3000 Elevation: u13\n"
+ "--------------------------------------------------------------------------------\n"
+ "Port CCJ Cabling\n"
+ "--------------------------------------------------------------------------------\n"
+ "1 sw-spine-001:1 sw-spine-001:1\n"
+ "2 sw-spine-001:2 sw-spine-001:2\n"
+ "9 ncn-w003:ocp:2 None\n"
+ "16 uan001:pcie-slot1:1 None\n"
+ "17 uan001:pcie-slot1:2 None\n"
+ "47 sw-spine-001:47 None\n"
+ "48 sw-leaf-bmc-001:50 None\n"
) in str(result.output)
assert (
"Node type could not be determined for the following.\n"
+ "These nodes are not currently included in the model.\n"
+ "(This may be a missing architectural definition/lookup or a spelling error)\n"
+ "--------------------------------------------------------------------------------\n"
+ "sw-spine-001 1/1/3 ===> 00:00:00:00:00:00 XEROX CORPORATION 192.168.1.2:vlan1, 192.168.2.2:vlan3\n"
+ "Nodes that show up as MAC addresses might need to have LLDP enabled.\n"
+ "\n"
+ "The following nodes should be renamed\n"
+ "--------------------------------------------------------------------------------\n"
+ "sw-leaf-bmc99 should be renamed sw-leaf-bmc-099\n"
+ "sw-spine01 should be renamed sw-spine-001\n"
+ "sw-spine02 should be renamed sw-spine-002\n"
) in str(result.output)
remove_switch_from_cache(ip)
def test_validate_paddle_cabling_missing_ips():
"""Test that the `canu validate paddle-cabling` command errors on missing IP address."""
with runner.isolated_filesystem():
with open(ccj_file, "w") as f:
json.dump(ccj, f)
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--csm",
csm,
"--ccj",
test_file,
"--username",
username,
"--password",
password,
],
)
assert result.exit_code == 2
assert (
"Error: Missing one of the required mutually exclusive options from 'Network cabling IPv4 input sources' option group"
in str(result.output)
)
def test_validate_paddle_cabling_mutually_exclusive_ips_and_file():
"""Test that the `canu validate paddle-cabling` command only accepts IPs from command line OR file input, not both."""
with runner.isolated_filesystem():
with open(ccj_file, "w") as f:
json.dump(ccj, f)
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--csm",
csm,
"--ccj",
test_file,
"--username",
username,
"--password",
password,
"--ips",
ips,
"--ips-file",
"file.txt",
],
)
assert result.exit_code == 2
assert (
"Error: Mutually exclusive options from 'Network cabling IPv4 input sources'"
in str(result.output)
)
def test_validate_paddle_cabling_invalid_ip():
"""Test that the `canu validate paddle-cabling` command errors on invalid IP address."""
invalid_ip = "999.999.999.999"
with runner.isolated_filesystem():
with open(ccj_file, "w") as f:
json.dump(ccj, f)
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--csm",
csm,
"--ccj",
test_file,
"--ips",
invalid_ip,
"--username",
username,
"--password",
password,
],
)
assert result.exit_code == 2
assert (
"Error: Invalid value for '--ips': These items are not ipv4 addresses: ['999.999.999.999']"
in str(result.output)
)
def test_validate_paddle_cabling_invalid_ip_file():
"""Test that the `canu validate paddle-cabling` command errors on invalid IPs from a file."""
invalid_ip = "999.999.999.999"
with runner.isolated_filesystem():
with open("test.txt", "w") as f:
f.write(invalid_ip)
with open(ccj_file, "w") as f:
json.dump(ccj, f)
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--csm",
csm,
"--ccj",
test_file,
"--ips-file",
"test.txt",
"--username",
username,
"--password",
password,
],
)
assert result.exit_code == 2
assert "Error: Invalid value:" in str(result.output)
@patch("canu.report.switch.cabling.cabling.switch_vendor")
@patch("canu.report.switch.cabling.cabling.netmiko_command")
@responses.activate
def test_validate_paddle_cabling_bad_ip(netmiko_command, switch_vendor):
"""Test that the `canu validate paddle-cabling` command errors on bad IP address."""
bad_ip = "192.168.1.99"
with runner.isolated_filesystem():
switch_vendor.return_value = "aruba"
netmiko_command.return_value = mac_address_table
responses.add(
responses.POST,
f"https://{bad_ip}/rest/v10.04/login",
body=requests.exceptions.ConnectionError(
"Failed to establish a new connection: [Errno 60] Operation timed out'))",
),
)
with open(ccj_file, "w") as f:
json.dump(ccj, f)
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--csm",
csm,
"--ccj",
test_file,
"--ips",
bad_ip,
"--username",
username,
"--password",
password,
],
)
assert result.exit_code == 0
assert "check the IP address and try again" in str(result.output)
@patch("canu.report.switch.cabling.cabling.switch_vendor")
@patch("canu.report.switch.cabling.cabling.netmiko_command")
@responses.activate
def test_validate_paddle_cabling_bad_ip_file(netmiko_command, switch_vendor):
"""Test that the `canu validate paddle-cabling` command errors on a bad IP from a file."""
bad_ip = "192.168.1.99"
with runner.isolated_filesystem():
switch_vendor.return_value = "aruba"
netmiko_command.return_value = mac_address_table
with open("test.txt", "w") as f:
f.write(bad_ip)
responses.add(
responses.POST,
f"https://{bad_ip}/rest/v10.04/login",
body=requests.exceptions.ConnectionError(
"Failed to establish a new connection: [Errno 60] Operation timed out'))",
),
)
with open(ccj_file, "w") as f:
json.dump(ccj, f)
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--csm",
csm,
"--ccj",
test_file,
"--ips-file",
"test.txt",
"--username",
username,
"--password",
password,
],
)
assert result.exit_code == 0
assert "check the IP address and try again" in str(result.output)
@patch("canu.report.switch.cabling.cabling.switch_vendor")
@patch("canu.report.switch.cabling.cabling.netmiko_command")
@responses.activate
def test_validate_paddle_cabling_bad_password(netmiko_command, switch_vendor):
"""Test that the `canu validate paddle-cabling` command errors on bad credentials."""
bad_password = "foo"
with runner.isolated_filesystem():
switch_vendor.return_value = "aruba"
netmiko_command.return_value = mac_address_table
responses.add(
responses.POST,
f"https://{ip}/rest/v10.04/login",
body=requests.exceptions.HTTPError("Client Error: Unauthorized for url"),
)
with open(ccj_file, "w") as f:
json.dump(ccj, f)
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--csm",
csm,
"--ccj",
test_file,
"--ips",
ip,
"--username",
username,
"--password",
bad_password,
],
)
assert result.exit_code == 0
assert "IP, username, or password" in str(result.output)
def test_validate_paddle_cabling_missing_file():
"""Test that the `canu validate paddle-cabling` command fails on missing file."""
with runner.isolated_filesystem():
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--csm",
csm,
"--ips",
ips,
"--username",
username,
"--password",
password,
],
)
assert result.exit_code == 2
assert "Error: Missing option '--ccj'." in str(result.output)
def test_validate_paddle_cabling_bad_file():
"""Test that the `canu validate paddle-cabling` command fails on bad file."""
bad_file = "does_not_exist.json"
with runner.isolated_filesystem():
result = runner.invoke(
cli,
[
"--cache",
cache_minutes,
"validate",
"paddle-cabling",
"--csm",
csm,
"--ccj",
bad_file,
"--ips",
ips,
"--username",
username,
"--password",
password,
],
)
assert result.exit_code == 2
assert "Error: Invalid value for '--ccj':" in str(result.output)
ccj = {
"canu_version": "0.0.6",
"architecture": "network_v2_tds",
"shcd_file": "ccj",
"topology": [
{
"common_name": "sw-spine-001",
"id": 0,
"architecture": "spine",
"model": "8325_JL625A",
"type": "switch",
"vendor": "aruba",
"ports": [
{
"port": 1,
"speed": 25,
"slot": None,
"destination_node_id": 1,
"destination_port": 1,
"destination_slot": None,
},
{
"port": 2,
"speed": 25,
"slot": None,
"destination_node_id": 1,
"destination_port": 2,
"destination_slot": None,
},
{
"port": 4,
"speed": 10,
"slot": None,
"destination_node_id": 2,
"destination_port": 2,
"destination_slot": None,
},
{
"port": 9,
"speed": 25,
"slot": None,
"destination_node_id": 6,
"destination_port": 1,
"destination_slot": "ocp",
},
{
"port": 15,
"speed": 25,
"slot": None,
"destination_node_id": 5,
"destination_port": 1,
"destination_slot": "ocp",
},
{
"port": 16,
"speed": 25,
"slot": None,
"destination_node_id": 4,
"destination_port": 1,
"destination_slot": "ocp",
},
{
"port": 17,
"speed": 25,
"slot": None,
"destination_node_id": 4,
"destination_port": 2,
"destination_slot": "ocp",
},
{
"port": 47,
"speed": 25,
"slot": None,
"destination_node_id": 1,
"destination_port": 47,
"destination_slot": None,
},
{
"port": 48,
"speed": 10,
"slot": None,
"destination_node_id": 3,
"destination_port": 49,
"destination_slot": None,
},
],
"location": {"rack": "x3000", "elevation": "u12"},
},
{
"common_name": "sw-spine-002",
"id": 1,
"architecture": "spine",
"model": "8325_JL625A",
"type": "switch",
"vendor": "aruba",
"ports": [
{
"port": 1,
"speed": 25,
"slot": None,
"destination_node_id": 0,
"destination_port": 1,
"destination_slot": None,
},
{
"port": 2,
"speed": 25,
"slot": None,
"destination_node_id": 0,
"destination_port": 2,
"destination_slot": None,
},
{
"port": 9,
"speed": 25,
"slot": None,
"destination_node_id": 6,
"destination_port": 2,
"destination_slot": "ocp",
},
{
"port": 16,
"speed": 25,
"slot": None,
"destination_node_id": 4,
"destination_port": 1,
"destination_slot": "pcie-slot1",
},
{
"port": 17,
"speed": 25,
"slot": None,
"destination_node_id": 4,
"destination_port": 2,
"destination_slot": "pcie-slot1",
},
{
"port": 47,
"speed": 25,
"slot": None,
"destination_node_id": 0,
"destination_port": 47,
"destination_slot": None,
},
{
"port": 48,
"speed": 10,
"slot": None,
"destination_node_id": 3,
"destination_port": 50,
"destination_slot": None,
},
],
"location": {"rack": "x3000", "elevation": "u13"},
},
{
"common_name": "sw-leaf-bmc-099",
"id": 2,
"architecture": "river_bmc_leaf",
"model": "6300M_JL762A",
"type": "switch",
"vendor": "aruba",
"ports": [
{
"port": 2,
"speed": 10,
"slot": None,
"destination_node_id": 0,
"destination_port": 4,
"destination_slot": None,
},
],
"location": {"rack": "x3000", "elevation": "u13"},
},
{
"common_name": "sw-leaf-bmc-001",
"id": 3,
"architecture": "river_bmc_leaf",
"model": "6300M_JL762A",
"type": "switch",
"vendor": "aruba",
"ports": [
{
"port": 49,
"speed": 10,
"slot": None,
"destination_node_id": 0,
"destination_port": 48,
"destination_slot": None,
},
{
"port": 50,
"speed": 10,
"slot": None,
"destination_node_id": 1,
"destination_port": 48,
"destination_slot": None,
},
],
"location": {"rack": "x3000", "elevation": "U14"},
},
{
"common_name": "uan001",
"id": 4,
"architecture": "river_ncn_node_4_port",
"model": "river_ncn_node_4_port",
"type": "server",
"vendor": "hpe",
"ports": [
{
"port": 1,
"speed": 25,
"slot": "ocp",
"destination_node_id": 0,
"destination_port": 16,
"destination_slot": None,
},
{
"port": 2,
"speed": 25,
"slot": "ocp",
"destination_node_id": 0,
"destination_port": 17,
"destination_slot": None,
},
{
"port": 1,
"speed": 25,
"slot": "pcie-slot1",
"destination_node_id": 1,
"destination_port": 16,
"destination_slot": None,
},
{
"port": 2,
"speed": 25,
"slot": "pcie-slot1",
"destination_node_id": 1,
"destination_port": 17,
"destination_slot": None,
},
],
"location": {"rack": "x3000", "elevation": "u19"},
},
{
"common_name": "ncn-s003",
"id": 5,
"architecture": "river_ncn_node_4_port",
"model": "river_ncn_node_4_port",
"type": "server",
"vendor": "hpe",
"ports": [
{
"port": 1,
"speed": 25,
"slot": "ocp",
"destination_node_id": 0,
"destination_port": 15,
"destination_slot": None,
},
],
"location": {"rack": "x3000", "elevation": "u09"},
},
{
"common_name": "ncn-w003",
"id": 6,
"architecture": "river_ncn_node_2_port",
"model": "river_ncn_node_2_port",
"type": "server",
"vendor": "hpe",
"ports": [
{
"port": 1,
"speed": 25,
"slot": "ocp",
"destination_node_id": 0,
"destination_port": 9,
"destination_slot": None,
},
{
"port": 2,
"speed": 25,
"slot": "ocp",
"destination_node_id": 1,
"destination_port": 9,
"destination_slot": None,
},
],
"location": {"rack": "x3000", "elevation": "u06"},
},
],
}
| 34.555556 | 130 | 0.427556 | 2,854 | 31,100 | 4.520322 | 0.120533 | 0.023564 | 0.0586 | 0.033873 | 0.823347 | 0.81389 | 0.807612 | 0.769165 | 0.764282 | 0.734439 | 0 | 0.045749 | 0.429293 | 31,100 | 899 | 131 | 34.593993 | 0.681109 | 0.069132 | 0 | 0.746944 | 0 | 0.006112 | 0.326912 | 0.056887 | 0 | 0 | 0 | 0 | 0.031785 | 1 | 0.01467 | false | 0.035452 | 0.013447 | 0 | 0.028117 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8759eeefd9c269877c55f33012386b5c960d18a8 | 751 | py | Python | source/algorithms/BubbleSort.py | stiwenparker/sorting_algorithms | 2ec453dad198ed42ade3fb11b952ed60d437899f | [
"MIT"
] | null | null | null | source/algorithms/BubbleSort.py | stiwenparker/sorting_algorithms | 2ec453dad198ed42ade3fb11b952ed60d437899f | [
"MIT"
] | null | null | null | source/algorithms/BubbleSort.py | stiwenparker/sorting_algorithms | 2ec453dad198ed42ade3fb11b952ed60d437899f | [
"MIT"
] | null | null | null | class BubbleSort:
def sort_asc(self, data: list) -> list:
if len(data) < 1:
return []
sorted = False
while not sorted:
sorted = True
for i in range(len(data) - 1):
if data[i] > data[i+1]:
sorted = False
data[i], data[i+1] = data[i+1], data[i]
return data
def sort_desc(self, data: list) -> list:
if len(data) < 1:
return []
sorted = False
while not sorted:
sorted = True
for i in range(len(data) - 1):
if data[i] < data[i+1]:
sorted = False
data[i], data[i+1] = data[i+1], data[i]
return data | 28.884615 | 59 | 0.428762 | 94 | 751 | 3.404255 | 0.234043 | 0.1875 | 0.1125 | 0.125 | 0.8875 | 0.8875 | 0.8875 | 0.8875 | 0.8875 | 0.8875 | 0 | 0.02445 | 0.455393 | 751 | 26 | 60 | 28.884615 | 0.757946 | 0 | 0 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5e5c208d72aa6bad49d5eee444e84c6627af697f | 107 | py | Python | src/filters.py | accraze/audio-soup | 0957d96ba408a2721d281048b5f3f0b9d39e1383 | [
"MIT"
] | 1 | 2020-12-09T23:20:23.000Z | 2020-12-09T23:20:23.000Z | src/filters.py | accraze/audio-soup | 0957d96ba408a2721d281048b5f3f0b9d39e1383 | [
"MIT"
] | 10 | 2020-12-04T05:59:21.000Z | 2021-04-14T04:28:07.000Z | src/filters.py | accraze/audio-soup | 0957d96ba408a2721d281048b5f3f0b9d39e1383 | [
"MIT"
] | 1 | 2020-12-12T15:19:17.000Z | 2020-12-12T15:19:17.000Z | def split_name(s):
return s.split('/')[1]
def split_name_label(s):
return s.split('/')[0]
| 17.833333 | 30 | 0.560748 | 17 | 107 | 3.352941 | 0.470588 | 0.280702 | 0.421053 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.233645 | 107 | 5 | 31 | 21.4 | 0.670732 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
5e9ad993293758b4057c7674d13a076b2e228233 | 26,079 | py | Python | tests/version_models/migrations/0001_initial.py | ff0000/scarlet | 6c37befd810916a2d7ffff2cdb2dab57bcb6d12e | [
"MIT"
] | 9 | 2015-10-13T04:35:56.000Z | 2017-03-16T19:00:44.000Z | tests/version_models/migrations/0001_initial.py | ff0000/scarlet | 6c37befd810916a2d7ffff2cdb2dab57bcb6d12e | [
"MIT"
] | 32 | 2015-02-10T21:09:18.000Z | 2017-07-18T20:26:51.000Z | tests/version_models/migrations/0001_initial.py | ff0000/scarlet | 6c37befd810916a2d7ffff2cdb2dab57bcb6d12e | [
"MIT"
] | 3 | 2017-07-13T13:32:21.000Z | 2019-04-08T20:18:58.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.db.models.deletion
from .. import models as version_models
import django.utils.timezone
import scarlet.versioning.fields
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Author',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('last_save', models.DateTimeField(editable=False)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('vid', models.PositiveIntegerField(unique=True, editable=False)),
('object_id', models.PositiveIntegerField(editable=False)),
('name', models.CharField(max_length=255)),
],
options={
b'db_table': 'version_models_author_base',
'managed': False,
},
bases=(models.Model, version_models.AuthorReferences),
),
migrations.CreateModel(
name='Book',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('last_save', models.DateTimeField(editable=False)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('vid', models.PositiveIntegerField(unique=True, editable=False)),
('object_id', models.PositiveIntegerField(editable=False)),
('name', models.CharField(max_length=255)),
],
options={
b'db_table': 'version_models_book_base',
'managed': False,
},
bases=(models.Model, version_models.Harmless, version_models.BookReferences),
),
migrations.CreateModel(
name='BookNoRelated',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('last_save', models.DateTimeField(editable=False)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('vid', models.PositiveIntegerField(unique=True, editable=False)),
('object_id', models.PositiveIntegerField(editable=False)),
('name', models.CharField(max_length=255)),
],
options={
b'db_table': 'version_models_booknorelated_base',
'managed': False,
},
bases=(models.Model, version_models.Harmless, version_models.BookReferences),
),
migrations.CreateModel(
name='Cartoon',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('last_save', models.DateTimeField(editable=False)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('vid', models.PositiveIntegerField(unique=True, editable=False)),
('object_id', models.PositiveIntegerField(editable=False)),
('name', models.CharField(max_length=255)),
],
options={
b'db_table': 'version_models_cartoon_base',
'managed': False,
},
bases=(models.Model, version_models.CartoonReferences),
),
migrations.CreateModel(
name='Gun',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('last_save', models.DateTimeField(editable=False)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('vid', models.PositiveIntegerField(unique=True, editable=False)),
('object_id', models.PositiveIntegerField(editable=False)),
('reg_number', models.CharField(max_length=20)),
('name', models.CharField(max_length=20)),
],
options={
b'db_table': 'version_models_custommodel',
'managed': False,
},
bases=(models.Model, version_models.GunReferences),
),
migrations.CreateModel(
name='NoReverse',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('last_save', models.DateTimeField(editable=False)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('vid', models.PositiveIntegerField(unique=True, editable=False)),
('object_id', models.PositiveIntegerField(editable=False)),
('name', models.CharField(max_length=255)),
],
options={
b'db_table': 'version_models_noreverse_base',
'managed': False,
},
bases=(models.Model, version_models.NoReverseReferences),
),
migrations.CreateModel(
name='Store',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('last_save', models.DateTimeField(editable=False)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('vid', models.PositiveIntegerField(unique=True, editable=False)),
('object_id', models.PositiveIntegerField(editable=False)),
('name', models.CharField(max_length=255)),
],
options={
b'db_table': 'version_models_store_base',
'managed': False,
},
bases=(models.Model, version_models.StoreReferences),
),
migrations.CreateModel(
name='Author_base',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Author_version',
fields=[
('last_save', models.DateTimeField(editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('name', models.CharField(max_length=255)),
('vid', models.AutoField(serialize=False, primary_key=True)),
('associates', scarlet.versioning.fields.M2MFromVersion(to='version_models.Author_base', blank=True)),
('object', models.ForeignKey(related_name='version_version', to='version_models.Author_base')),
],
options={
'managed': True,
},
bases=(models.Model, version_models.AuthorVersionReferences),
),
migrations.CreateModel(
name='Book_base',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Book_version',
fields=[
('last_save', models.DateTimeField(editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('name', models.CharField(max_length=255)),
('vid', models.AutoField(serialize=False, primary_key=True)),
('author', models.ForeignKey(to='version_models.Author')),
],
options={
'managed': True,
},
bases=(models.Model, version_models.Harmless, version_models.BookVersionReferences),
),
migrations.CreateModel(
name='BookNoRelated_base',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='BookNoRelated_version',
fields=[
('last_save', models.DateTimeField(editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('name', models.CharField(max_length=255)),
('vid', models.AutoField(serialize=False, primary_key=True)),
('author', models.ForeignKey(to='version_models.Author')),
],
options={
'managed': True,
},
bases=(models.Model, version_models.Harmless, version_models.BookVersionReferences),
),
migrations.CreateModel(
name='Cartoon_base',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Cartoon_version',
fields=[
('last_save', models.DateTimeField(editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('name', models.CharField(max_length=255)),
('vid', models.AutoField(serialize=False, primary_key=True)),
('author', models.ForeignKey(related_name='works_version', on_delete=django.db.models.deletion.SET_NULL, blank=True, to='version_models.Author', null=True)),
('object', models.ForeignKey(related_name='version_version', to='version_models.Cartoon_base')),
],
options={
'managed': True,
},
bases=(models.Model, version_models.CartoonVersionReferences),
),
migrations.CreateModel(
name='ConcreteModel',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=255)),
],
options={
},
bases=(models.Model,),
),
migrations.CreateModel(
name='CustomModel',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
('reg_number', models.CharField(max_length=20)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Gallery',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('last_save', models.DateTimeField(editable=False)),
('name', models.CharField(max_length=255)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Gun_version',
fields=[
('last_save', models.DateTimeField(editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('name', models.CharField(max_length=20)),
('vid', models.AutoField(serialize=False, primary_key=True)),
('object', models.ForeignKey(related_name='version_version', to='version_models.CustomModel')),
],
options={
'managed': True,
},
bases=(models.Model, version_models.GunVersionReferences),
),
migrations.CreateModel(
name='Image',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('last_save', models.DateTimeField(editable=False)),
('name', models.CharField(max_length=255)),
('cartoons', models.ManyToManyField(to='version_models.Cartoon')),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='NoReverse_base',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='NoReverse_version',
fields=[
('last_save', models.DateTimeField(editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('name', models.CharField(max_length=255)),
('vid', models.AutoField(serialize=False, primary_key=True)),
('object', models.ForeignKey(related_name='version_version', to='version_models.NoReverse_base')),
],
options={
'managed': True,
},
bases=(models.Model, version_models.NoReverseVersionReferences),
),
migrations.CreateModel(
name='Review',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('last_save', models.DateTimeField(editable=False)),
('text', models.CharField(max_length=255)),
('book', scarlet.versioning.fields.FKToVersion(to='version_models.Book_version', swappable=False)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='RM2M',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('last_save', models.DateTimeField(editable=False)),
('no', models.ManyToManyField(to='version_models.NoReverse')),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Store_base',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('is_published', models.BooleanField(default=False, editable=False)),
('created_date', models.DateTimeField(default=django.utils.timezone.now, editable=False)),
('v_last_save', models.DateTimeField(null=True, editable=False)),
],
options={
'abstract': False,
},
bases=(models.Model,),
),
migrations.CreateModel(
name='Store_version',
fields=[
('last_save', models.DateTimeField(editable=False)),
('state', models.CharField(max_length=50, editable=False, choices=[(b'published', b'published'), (b'scheduled', b'scheduled'), (b'draft', b'draft'), (b'archived', b'archived')])),
('last_scheduled', models.DateTimeField(null=True, editable=False)),
('date_published', models.DateTimeField(null=True, editable=False)),
('user_published', models.CharField(max_length=255, null=True, editable=False)),
('name', models.CharField(max_length=255)),
('vid', models.AutoField(serialize=False, primary_key=True)),
('books', scarlet.versioning.fields.M2MFromVersion(to='version_models.Book', blank=True)),
('cartoon', scarlet.versioning.fields.FKToVersion(swappable=False, blank=True, to='version_models.Cartoon_version', null=True)),
('object', models.ForeignKey(related_name='version_version', to='version_models.Store_base')),
],
options={
'managed': True,
},
bases=(models.Model, version_models.StoreVersionReferences),
),
migrations.AddField(
model_name='book_version',
name='galleries',
field=scarlet.versioning.fields.M2MFromVersion(to='version_models.Gallery'),
preserve_default=True,
),
migrations.AddField(
model_name='booknorelated_version',
name='galleries',
field=scarlet.versioning.fields.M2MFromVersion(to='version_models.Gallery'),
preserve_default=True,
),
migrations.AddField(
model_name='book_version',
name='object',
field=models.ForeignKey(related_name='version_version', to='version_models.Book_base'),
preserve_default=True,
),
migrations.AddField(
model_name='booknorelated_version',
name='object',
field=models.ForeignKey(related_name='version_version', to='version_models.BookNoRelated_base'),
preserve_default=True,
),
]
| 55.252119 | 195 | 0.5797 | 2,448 | 26,079 | 6.029412 | 0.049428 | 0.114499 | 0.072561 | 0.079675 | 0.915583 | 0.904539 | 0.897696 | 0.882927 | 0.867547 | 0.840718 | 0 | 0.006977 | 0.274512 | 26,079 | 471 | 196 | 55.369427 | 0.77315 | 0.000805 | 0 | 0.795699 | 0 | 0 | 0.149524 | 0.026059 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012903 | 0 | 0.019355 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5ecf9e018d95f70c950e2b5554854e7a6093f858 | 91 | py | Python | variables_samples/variable_files/variable_file_func.py | thinkAmi-sandbox/RobotFramework-sample | 86455e912ac132350b8aacb430de9f060b9d722a | [
"Unlicense"
] | 9 | 2017-12-20T23:10:33.000Z | 2020-11-27T06:22:05.000Z | variables_samples/variable_files/variable_file_func.py | thinkAmi-sandbox/RobotFramework-sample | 86455e912ac132350b8aacb430de9f060b9d722a | [
"Unlicense"
] | 1 | 2021-06-01T22:03:43.000Z | 2021-06-01T22:03:43.000Z | variables_samples/variable_files/variable_file_func.py | thinkAmi-sandbox/RobotFramework-sample | 86455e912ac132350b8aacb430de9f060b9d722a | [
"Unlicense"
] | 2 | 2018-05-21T00:16:11.000Z | 2019-11-04T13:43:57.000Z | def get_result():
return 1
RESULT = get_result()
def _under_score_func():
pass
| 9.1 | 24 | 0.659341 | 13 | 91 | 4.230769 | 0.692308 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.241758 | 91 | 9 | 25 | 10.111111 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
21c35cd72a4f857c6d0360fc71b0e2d4a423b43a | 366 | py | Python | testing/funkybraces.py | worldwalker2000/pyxx | 8c6f129042241ca8b0eb274a69ca56b2ac1261cb | [
"MIT"
] | 4 | 2021-12-29T22:44:57.000Z | 2022-01-21T17:27:35.000Z | testing/funkybraces.py | worldwalker2000/pyxx | 8c6f129042241ca8b0eb274a69ca56b2ac1261cb | [
"MIT"
] | 1 | 2022-03-09T20:56:56.000Z | 2022-03-09T21:57:04.000Z | testing/funkybraces.py | worldwalker2000/pyxx | 8c6f129042241ca8b0eb274a69ca56b2ac1261cb | [
"MIT"
] | null | null | null | if True :
print(True)
print(True)
print(True)
print(True)
print(True)
print(True)
print(True)
print(True)
print(True)
print(True)
print(True)
if True:
print(True)
print(True)
if True:
print(True)
print(True)
print(True)
if True :
print(True)
print(True)
print(True)
if True:
print(True)
print(True)
print(True)
if True :
print(True)
| 9.891892 | 12 | 0.663934 | 58 | 366 | 4.189655 | 0.051724 | 0.851852 | 1.230453 | 1.259259 | 1 | 1 | 1 | 1 | 0.99177 | 0.99177 | 0 | 0 | 0.193989 | 366 | 36 | 13 | 10.166667 | 0.823729 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.793103 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 12 |
df070d676a10c6ae91360cda1e5b59173ca5052a | 373 | py | Python | src/bdd_provider.py | olijzenga/bdd-parity-game-solver | 22195bfb303986c872fce7ee710d0fe6284ab9a3 | [
"Apache-2.0"
] | 1 | 2021-06-21T07:22:48.000Z | 2021-06-21T07:22:48.000Z | src/bdd_provider.py | olijzenga/bdd-parity-game-solver | 22195bfb303986c872fce7ee710d0fe6284ab9a3 | [
"Apache-2.0"
] | null | null | null | src/bdd_provider.py | olijzenga/bdd-parity-game-solver | 22195bfb303986c872fce7ee710d0fe6284ab9a3 | [
"Apache-2.0"
] | null | null | null | from dd.cudd import BDD
# Allows for easy repository-wide change of dd backend.
# Note that some stuff will break when using a different backend.
# Using the pure python autoref backend is relatively free of problems.
# Only the 'statistics' function is not present which causes errors in
# main.py so these should be removed in that case.
def make_bdd():
return BDD() | 41.444444 | 71 | 0.769437 | 62 | 373 | 4.612903 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179625 | 373 | 9 | 72 | 41.444444 | 0.934641 | 0.817694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
df6fbeca059349a0c13a4f967481b65037b6bbe3 | 3,301 | py | Python | src/templates/openai_imagenet_template.py | mmatena/wise-ft | 2630c366d252ad32db82ea886f7ab6a752142792 | [
"MIT"
] | 79 | 2021-10-01T22:29:51.000Z | 2022-03-30T04:19:58.000Z | src/templates/openai_imagenet_template.py | mmatena/wise-ft | 2630c366d252ad32db82ea886f7ab6a752142792 | [
"MIT"
] | 2 | 2021-11-18T19:50:59.000Z | 2022-01-08T00:57:24.000Z | src/templates/openai_imagenet_template.py | mmatena/wise-ft | 2630c366d252ad32db82ea886f7ab6a752142792 | [
"MIT"
] | 10 | 2021-10-14T18:29:59.000Z | 2022-03-27T12:40:18.000Z |
openai_imagenet_template = [
lambda c: f'a bad photo of a {c}.',
lambda c: f'a photo of many {c}.',
lambda c: f'a sculpture of a {c}.',
lambda c: f'a photo of the hard to see {c}.',
lambda c: f'a low resolution photo of the {c}.',
lambda c: f'a rendering of a {c}.',
lambda c: f'graffiti of a {c}.',
lambda c: f'a bad photo of the {c}.',
lambda c: f'a cropped photo of the {c}.',
lambda c: f'a tattoo of a {c}.',
lambda c: f'the embroidered {c}.',
lambda c: f'a photo of a hard to see {c}.',
lambda c: f'a bright photo of a {c}.',
lambda c: f'a photo of a clean {c}.',
lambda c: f'a photo of a dirty {c}.',
lambda c: f'a dark photo of the {c}.',
lambda c: f'a drawing of a {c}.',
lambda c: f'a photo of my {c}.',
lambda c: f'the plastic {c}.',
lambda c: f'a photo of the cool {c}.',
lambda c: f'a close-up photo of a {c}.',
lambda c: f'a black and white photo of the {c}.',
lambda c: f'a painting of the {c}.',
lambda c: f'a painting of a {c}.',
lambda c: f'a pixelated photo of the {c}.',
lambda c: f'a sculpture of the {c}.',
lambda c: f'a bright photo of the {c}.',
lambda c: f'a cropped photo of a {c}.',
lambda c: f'a plastic {c}.',
lambda c: f'a photo of the dirty {c}.',
lambda c: f'a jpeg corrupted photo of a {c}.',
lambda c: f'a blurry photo of the {c}.',
lambda c: f'a photo of the {c}.',
lambda c: f'a good photo of the {c}.',
lambda c: f'a rendering of the {c}.',
lambda c: f'a {c} in a video game.',
lambda c: f'a photo of one {c}.',
lambda c: f'a doodle of a {c}.',
lambda c: f'a close-up photo of the {c}.',
lambda c: f'a photo of a {c}.',
lambda c: f'the origami {c}.',
lambda c: f'the {c} in a video game.',
lambda c: f'a sketch of a {c}.',
lambda c: f'a doodle of the {c}.',
lambda c: f'a origami {c}.',
lambda c: f'a low resolution photo of a {c}.',
lambda c: f'the toy {c}.',
lambda c: f'a rendition of the {c}.',
lambda c: f'a photo of the clean {c}.',
lambda c: f'a photo of a large {c}.',
lambda c: f'a rendition of a {c}.',
lambda c: f'a photo of a nice {c}.',
lambda c: f'a photo of a weird {c}.',
lambda c: f'a blurry photo of a {c}.',
lambda c: f'a cartoon {c}.',
lambda c: f'art of a {c}.',
lambda c: f'a sketch of the {c}.',
lambda c: f'a embroidered {c}.',
lambda c: f'a pixelated photo of a {c}.',
lambda c: f'itap of the {c}.',
lambda c: f'a jpeg corrupted photo of the {c}.',
lambda c: f'a good photo of a {c}.',
lambda c: f'a plushie {c}.',
lambda c: f'a photo of the nice {c}.',
lambda c: f'a photo of the small {c}.',
lambda c: f'a photo of the weird {c}.',
lambda c: f'the cartoon {c}.',
lambda c: f'art of the {c}.',
lambda c: f'a drawing of the {c}.',
lambda c: f'a photo of the large {c}.',
lambda c: f'a black and white photo of a {c}.',
lambda c: f'the plushie {c}.',
lambda c: f'a dark photo of a {c}.',
lambda c: f'itap of a {c}.',
lambda c: f'graffiti of the {c}.',
lambda c: f'a toy {c}.',
lambda c: f'itap of my {c}.',
lambda c: f'a photo of a cool {c}.',
lambda c: f'a photo of a small {c}.',
lambda c: f'a tattoo of the {c}.',
] | 38.835294 | 53 | 0.554075 | 666 | 3,301 | 2.743243 | 0.088589 | 0.306513 | 0.350301 | 0.37931 | 0.981938 | 0.950739 | 0.88451 | 0.728517 | 0.482211 | 0.226601 | 0 | 0 | 0.274765 | 3,301 | 85 | 54 | 38.835294 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0.529858 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
df886cd090229c79a3d008dbf9d01d2636993cd8 | 98,784 | py | Python | ironic/tests/drivers/ilo/test_deploy.py | redhat-openstack/ironic | f27daf3372b56622e74362b88a9defbf089db37e | [
"Apache-2.0"
] | 1 | 2021-03-29T15:39:15.000Z | 2021-03-29T15:39:15.000Z | ironic/tests/drivers/ilo/test_deploy.py | redhat-openstack/ironic | f27daf3372b56622e74362b88a9defbf089db37e | [
"Apache-2.0"
] | null | null | null | ironic/tests/drivers/ilo/test_deploy.py | redhat-openstack/ironic | f27daf3372b56622e74362b88a9defbf089db37e | [
"Apache-2.0"
] | 1 | 2015-01-15T18:39:26.000Z | 2015-01-15T18:39:26.000Z | # Copyright 2014 Hewlett-Packard Development Company, L.P.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"""Test class for common methods used by iLO modules."""
import tempfile
import mock
from oslo_config import cfg
import six
from ironic.common import boot_devices
from ironic.common import exception
from ironic.common.glance_service import service_utils
from ironic.common import image_service
from ironic.common import images
from ironic.common import states
from ironic.common import swift
from ironic.common import utils
from ironic.conductor import task_manager
from ironic.conductor import utils as manager_utils
from ironic.drivers.modules import agent
from ironic.drivers.modules import agent_base_vendor
from ironic.drivers.modules import deploy_utils
from ironic.drivers.modules.ilo import common as ilo_common
from ironic.drivers.modules.ilo import deploy as ilo_deploy
from ironic.drivers.modules import iscsi_deploy
from ironic.drivers import utils as driver_utils
from ironic.tests.conductor import utils as mgr_utils
from ironic.tests.db import base as db_base
from ironic.tests.db import utils as db_utils
from ironic.tests.objects import utils as obj_utils
if six.PY3:
import io
file = io.BytesIO
INFO_DICT = db_utils.get_test_ilo_info()
CONF = cfg.CONF
class IloDeployPrivateMethodsTestCase(db_base.DbTestCase):
def setUp(self):
super(IloDeployPrivateMethodsTestCase, self).setUp()
mgr_utils.mock_the_extension_manager(driver="iscsi_ilo")
self.node = obj_utils.create_test_node(
self.context, driver='iscsi_ilo', driver_info=INFO_DICT)
def test__get_boot_iso_object_name(self):
boot_iso_actual = ilo_deploy._get_boot_iso_object_name(self.node)
boot_iso_expected = "boot-%s" % self.node.uuid
self.assertEqual(boot_iso_expected, boot_iso_actual)
@mock.patch.object(image_service.HttpImageService, 'validate_href',
spec_set=True, autospec=True)
def test__get_boot_iso_http_url(self, service_mock):
url = 'http://abc.org/image/qcow2'
i_info = self.node.instance_info
i_info['ilo_boot_iso'] = url
self.node.instance_info = i_info
self.node.save()
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
boot_iso_actual = ilo_deploy._get_boot_iso(task, 'root-uuid')
service_mock.assert_called_once_with(mock.ANY, url)
self.assertEqual(url, boot_iso_actual)
@mock.patch.object(image_service.HttpImageService, 'validate_href',
spec_set=True, autospec=True)
def test__get_boot_iso_url(self, mock_validate):
url = 'http://aaa/bbb'
i_info = self.node.instance_info
i_info['ilo_boot_iso'] = url
self.node.instance_info = i_info
self.node.save()
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
boot_iso_actual = ilo_deploy._get_boot_iso(task, 'root-uuid')
self.assertEqual(url, boot_iso_actual)
mock_validate.assert_called_once_with(mock.ANY, url)
@mock.patch.object(image_service.HttpImageService, 'validate_href',
spec_set=True, autospec=True)
def test__get_boot_iso_unsupported_url(self, validate_href_mock):
validate_href_mock.side_effect = iter(
[exception.ImageRefValidationFailed(
image_href='file://img.qcow2', reason='fail')])
url = 'file://img.qcow2'
i_info = self.node.instance_info
i_info['ilo_boot_iso'] = url
self.node.instance_info = i_info
self.node.save()
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
self.assertRaises(exception.ImageRefValidationFailed,
ilo_deploy._get_boot_iso, task, 'root-uuid')
@mock.patch.object(images, 'get_image_properties', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_parse_deploy_info', spec_set=True,
autospec=True)
def test__get_boot_iso_glance_image(self, deploy_info_mock,
image_props_mock):
deploy_info_mock.return_value = {'image_source': 'image-uuid',
'ilo_deploy_iso': 'deploy_iso_uuid'}
image_props_mock.return_value = {'boot_iso': 'boot-iso-uuid',
'kernel_id': None,
'ramdisk_id': None}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
boot_iso_actual = ilo_deploy._get_boot_iso(task, 'root-uuid')
deploy_info_mock.assert_called_once_with(task.node)
image_props_mock.assert_called_once_with(
task.context, 'image-uuid',
['boot_iso', 'kernel_id', 'ramdisk_id'])
boot_iso_expected = 'boot-iso-uuid'
self.assertEqual(boot_iso_expected, boot_iso_actual)
@mock.patch.object(deploy_utils, 'get_boot_mode_for_deploy', spec_set=True,
autospec=True)
@mock.patch.object(images, 'get_image_properties', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_parse_deploy_info', spec_set=True,
autospec=True)
def test__get_boot_iso_uefi_no_glance_image(self,
deploy_info_mock,
image_props_mock,
boot_mode_mock):
deploy_info_mock.return_value = {'image_source': 'image-uuid',
'ilo_deploy_iso': 'deploy_iso_uuid'}
image_props_mock.return_value = {'boot_iso': None,
'kernel_id': None,
'ramdisk_id': None}
properties = {'capabilities': 'boot_mode:uefi'}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.properties = properties
boot_iso_result = ilo_deploy._get_boot_iso(task, 'root-uuid')
deploy_info_mock.assert_called_once_with(task.node)
image_props_mock.assert_called_once_with(
task.context, 'image-uuid',
['boot_iso', 'kernel_id', 'ramdisk_id'])
self.assertFalse(boot_mode_mock.called)
self.assertIsNone(boot_iso_result)
@mock.patch.object(tempfile, 'NamedTemporaryFile', spec_set=True,
autospec=True)
@mock.patch.object(images, 'create_boot_iso', spec_set=True, autospec=True)
@mock.patch.object(swift, 'SwiftAPI', spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_get_boot_iso_object_name', spec_set=True,
autospec=True)
@mock.patch.object(driver_utils, 'get_node_capability', spec_set=True,
autospec=True)
@mock.patch.object(images, 'get_image_properties', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_parse_deploy_info', spec_set=True,
autospec=True)
def test__get_boot_iso_create(self, deploy_info_mock, image_props_mock,
capability_mock, boot_object_name_mock,
swift_api_mock,
create_boot_iso_mock, tempfile_mock):
CONF.ilo.swift_ilo_container = 'ilo-cont'
CONF.pxe.pxe_append_params = 'kernel-params'
swift_obj_mock = swift_api_mock.return_value
fileobj_mock = mock.MagicMock(spec=file)
fileobj_mock.name = 'tmpfile'
mock_file_handle = mock.MagicMock(spec=file)
mock_file_handle.__enter__.return_value = fileobj_mock
tempfile_mock.return_value = mock_file_handle
deploy_info_mock.return_value = {'image_source': 'image-uuid',
'ilo_deploy_iso': 'deploy_iso_uuid'}
image_props_mock.return_value = {'boot_iso': None,
'kernel_id': 'kernel_uuid',
'ramdisk_id': 'ramdisk_uuid'}
boot_object_name_mock.return_value = 'abcdef'
create_boot_iso_mock.return_value = '/path/to/boot-iso'
capability_mock.return_value = 'uefi'
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
boot_iso_actual = ilo_deploy._get_boot_iso(task, 'root-uuid')
deploy_info_mock.assert_called_once_with(task.node)
image_props_mock.assert_called_once_with(
task.context, 'image-uuid',
['boot_iso', 'kernel_id', 'ramdisk_id'])
boot_object_name_mock.assert_called_once_with(task.node)
create_boot_iso_mock.assert_called_once_with(task.context,
'tmpfile',
'kernel_uuid',
'ramdisk_uuid',
'deploy_iso_uuid',
'root-uuid',
'kernel-params',
'uefi')
swift_obj_mock.create_object.assert_called_once_with('ilo-cont',
'abcdef',
'tmpfile')
boot_iso_expected = 'swift:abcdef'
self.assertEqual(boot_iso_expected, boot_iso_actual)
@mock.patch.object(ilo_common, 'copy_image_to_web_server', spec_set=True,
autospec=True)
@mock.patch.object(tempfile, 'NamedTemporaryFile', spec_set=True,
autospec=True)
@mock.patch.object(images, 'create_boot_iso', spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_get_boot_iso_object_name', spec_set=True,
autospec=True)
@mock.patch.object(driver_utils, 'get_node_capability', spec_set=True,
autospec=True)
@mock.patch.object(images, 'get_image_properties', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_parse_deploy_info', spec_set=True,
autospec=True)
def test__get_boot_iso_create_use_webserver_true_ramdisk_webserver(
self, deploy_info_mock, image_props_mock,
capability_mock, boot_object_name_mock,
create_boot_iso_mock, tempfile_mock,
copy_file_mock):
CONF.ilo.swift_ilo_container = 'ilo-cont'
CONF.ilo.use_web_server_for_images = True
CONF.deploy.http_url = "http://10.10.1.30/httpboot"
CONF.deploy.http_root = "/httpboot"
CONF.pxe.pxe_append_params = 'kernel-params'
fileobj_mock = mock.MagicMock(spec=file)
fileobj_mock.name = 'tmpfile'
mock_file_handle = mock.MagicMock(spec=file)
mock_file_handle.__enter__.return_value = fileobj_mock
tempfile_mock.return_value = mock_file_handle
ramdisk_href = "http://10.10.1.30/httpboot/ramdisk"
kernel_href = "http://10.10.1.30/httpboot/kernel"
deploy_info_mock.return_value = {'image_source': 'image-uuid',
'ilo_deploy_iso': 'deploy_iso_uuid'}
image_props_mock.return_value = {'boot_iso': None,
'kernel_id': kernel_href,
'ramdisk_id': ramdisk_href}
boot_object_name_mock.return_value = 'abcdef'
create_boot_iso_mock.return_value = '/path/to/boot-iso'
capability_mock.return_value = 'uefi'
copy_file_mock.return_value = "http://10.10.1.30/httpboot/abcdef"
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
boot_iso_actual = ilo_deploy._get_boot_iso(task, 'root-uuid')
deploy_info_mock.assert_called_once_with(task.node)
image_props_mock.assert_called_once_with(
task.context, 'image-uuid',
['boot_iso', 'kernel_id', 'ramdisk_id'])
boot_object_name_mock.assert_called_once_with(task.node)
create_boot_iso_mock.assert_called_once_with(task.context,
'tmpfile',
kernel_href,
ramdisk_href,
'deploy_iso_uuid',
'root-uuid',
'kernel-params',
'uefi')
boot_iso_expected = 'http://10.10.1.30/httpboot/abcdef'
self.assertEqual(boot_iso_expected, boot_iso_actual)
copy_file_mock.assert_called_once_with(fileobj_mock.name,
'abcdef')
@mock.patch.object(ilo_deploy, '_get_boot_iso_object_name', spec_set=True,
autospec=True)
@mock.patch.object(swift, 'SwiftAPI', spec_set=True, autospec=True)
def test__clean_up_boot_iso_for_instance(self, swift_mock,
boot_object_name_mock):
swift_obj_mock = swift_mock.return_value
CONF.ilo.swift_ilo_container = 'ilo-cont'
boot_object_name_mock.return_value = 'boot-object'
i_info = self.node.instance_info
i_info['ilo_boot_iso'] = 'swift:bootiso'
self.node.instance_info = i_info
self.node.save()
ilo_deploy._clean_up_boot_iso_for_instance(self.node)
swift_obj_mock.delete_object.assert_called_once_with('ilo-cont',
'boot-object')
@mock.patch.object(utils, 'unlink_without_raise', spec_set=True,
autospec=True)
def test__clean_up_boot_iso_for_instance_on_webserver(self, unlink_mock):
CONF.ilo.use_web_server_for_images = True
CONF.deploy.http_root = "/webserver"
i_info = self.node.instance_info
i_info['ilo_boot_iso'] = 'http://x.y.z.a/webserver/boot-object'
self.node.instance_info = i_info
self.node.save()
boot_iso_path = "/webserver/boot-object"
ilo_deploy._clean_up_boot_iso_for_instance(self.node)
unlink_mock.assert_called_once_with(boot_iso_path)
@mock.patch.object(ilo_deploy, '_get_boot_iso_object_name', spec_set=True,
autospec=True)
def test__clean_up_boot_iso_for_instance_no_boot_iso(
self, boot_object_name_mock):
ilo_deploy._clean_up_boot_iso_for_instance(self.node)
self.assertFalse(boot_object_name_mock.called)
@mock.patch.object(deploy_utils, 'check_for_missing_params', spec_set=True,
autospec=True)
def test__parse_driver_info(self, check_params_mock):
self.node.driver_info['ilo_deploy_iso'] = 'deploy-iso-uuid'
driver_info_expected = {'ilo_deploy_iso': 'deploy-iso-uuid'}
driver_info_actual = ilo_deploy._parse_driver_info(self.node)
error_msg = ("Error validating iLO virtual media deploy. Some"
" parameters were missing in node's driver_info")
check_params_mock.assert_called_once_with(driver_info_expected,
error_msg)
self.assertEqual(driver_info_expected, driver_info_actual)
@mock.patch.object(ilo_deploy, '_parse_driver_info', spec_set=True,
autospec=True)
@mock.patch.object(iscsi_deploy, 'parse_instance_info', spec_set=True,
autospec=True)
def test__parse_deploy_info(self, instance_info_mock, driver_info_mock):
instance_info_mock.return_value = {'a': 'b'}
driver_info_mock.return_value = {'c': 'd'}
expected_info = {'a': 'b', 'c': 'd'}
actual_info = ilo_deploy._parse_deploy_info(self.node)
self.assertEqual(expected_info, actual_info)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_set_boot_device', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'setup_vmedia_for_boot', spec_set=True,
autospec=True)
def test__reboot_into(self, setup_vmedia_mock, set_boot_device_mock,
node_power_action_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
opts = {'a': 'b'}
ilo_deploy._reboot_into(task, 'iso', opts)
setup_vmedia_mock.assert_called_once_with(task, 'iso', opts)
set_boot_device_mock.assert_called_once_with(task,
boot_devices.CDROM)
node_power_action_mock.assert_called_once_with(task, states.REBOOT)
@mock.patch.object(ilo_common, 'eject_vmedia_devices',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_reboot_into', spec_set=True,
autospec=True)
@mock.patch.object(deploy_utils, 'build_agent_options', spec_set=True,
autospec=True)
def test__prepare_agent_vmedia_boot(self, build_options_mock,
reboot_into_mock, eject_mock):
deploy_opts = {'a': 'b'}
build_options_mock.return_value = deploy_opts
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.driver_info['ilo_deploy_iso'] = 'deploy-iso-uuid'
ilo_deploy._prepare_agent_vmedia_boot(task)
eject_mock.assert_called_once_with(task)
build_options_mock.assert_called_once_with(task.node)
reboot_into_mock.assert_called_once_with(task,
'deploy-iso-uuid',
deploy_opts)
@mock.patch.object(deploy_utils, 'is_secure_boot_requested', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'set_secure_boot_mode', spec_set=True,
autospec=True)
def test__update_secure_boot_mode_passed_true(self,
func_set_secure_boot_mode,
func_is_secure_boot_req):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
func_is_secure_boot_req.return_value = True
ilo_deploy._update_secure_boot_mode(task, True)
func_set_secure_boot_mode.assert_called_once_with(task, True)
@mock.patch.object(deploy_utils, 'is_secure_boot_requested', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'set_secure_boot_mode', spec_set=True,
autospec=True)
def test__update_secure_boot_mode_passed_False(self,
func_set_secure_boot_mode,
func_is_secure_boot_req):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
func_is_secure_boot_req.return_value = False
ilo_deploy._update_secure_boot_mode(task, False)
self.assertFalse(func_set_secure_boot_mode.called)
@mock.patch.object(ilo_common, 'set_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'get_secure_boot_mode', spec_set=True,
autospec=True)
def test__disable_secure_boot_false(self,
func_get_secure_boot_mode,
func_set_secure_boot_mode):
func_get_secure_boot_mode.return_value = False
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
returned_state = ilo_deploy._disable_secure_boot(task)
func_get_secure_boot_mode.assert_called_once_with(task)
self.assertFalse(func_set_secure_boot_mode.called)
self.assertFalse(returned_state)
@mock.patch.object(ilo_common, 'set_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'get_secure_boot_mode', spec_set=True,
autospec=True)
def test__disable_secure_boot_true(self,
func_get_secure_boot_mode,
func_set_secure_boot_mode):
func_get_secure_boot_mode.return_value = True
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
returned_state = ilo_deploy._disable_secure_boot(task)
func_get_secure_boot_mode.assert_called_once_with(task)
func_set_secure_boot_mode.assert_called_once_with(task, False)
self.assertTrue(returned_state)
@mock.patch.object(ilo_deploy.LOG, 'debug', spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, 'exception', spec_set=True, autospec=True)
@mock.patch.object(ilo_common, 'get_secure_boot_mode', spec_set=True,
autospec=True)
def test__disable_secure_boot_exception(self,
func_get_secure_boot_mode,
exception_mock,
mock_log):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
exception_mock.IloOperationNotSupported = Exception
func_get_secure_boot_mode.side_effect = Exception
returned_state = ilo_deploy._disable_secure_boot(task)
func_get_secure_boot_mode.assert_called_once_with(task)
self.assertTrue(mock_log.called)
self.assertFalse(returned_state)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_disable_secure_boot', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
def test__prepare_node_for_deploy(self,
func_node_power_action,
func_disable_secure_boot,
func_update_boot_mode):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
func_disable_secure_boot.return_value = False
ilo_deploy._prepare_node_for_deploy(task)
func_node_power_action.assert_called_once_with(task,
states.POWER_OFF)
func_disable_secure_boot.assert_called_once_with(task)
func_update_boot_mode.assert_called_once_with(task)
bootmode = driver_utils.get_node_capability(task.node, "boot_mode")
self.assertIsNone(bootmode)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_disable_secure_boot', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
def test__prepare_node_for_deploy_sec_boot_on(self,
func_node_power_action,
func_disable_secure_boot,
func_update_boot_mode):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
func_disable_secure_boot.return_value = True
ilo_deploy._prepare_node_for_deploy(task)
func_node_power_action.assert_called_once_with(task,
states.POWER_OFF)
func_disable_secure_boot.assert_called_once_with(task)
self.assertFalse(func_update_boot_mode.called)
ret_boot_mode = task.node.instance_info['deploy_boot_mode']
self.assertEqual('uefi', ret_boot_mode)
bootmode = driver_utils.get_node_capability(task.node, "boot_mode")
self.assertIsNone(bootmode)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_disable_secure_boot', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
def test__prepare_node_for_deploy_inst_info(self,
func_node_power_action,
func_disable_secure_boot,
func_update_boot_mode):
instance_info = {'capabilities': '{"secure_boot": "true"}'}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
func_disable_secure_boot.return_value = False
task.node.instance_info = instance_info
ilo_deploy._prepare_node_for_deploy(task)
func_node_power_action.assert_called_once_with(task,
states.POWER_OFF)
func_disable_secure_boot.assert_called_once_with(task)
func_update_boot_mode.assert_called_once_with(task)
bootmode = driver_utils.get_node_capability(task.node, "boot_mode")
self.assertIsNone(bootmode)
deploy_boot_mode = task.node.instance_info.get('deploy_boot_mode')
self.assertIsNone(deploy_boot_mode)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_disable_secure_boot', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
def test__prepare_node_for_deploy_sec_boot_on_inst_info(
self, func_node_power_action, func_disable_secure_boot,
func_update_boot_mode):
instance_info = {'capabilities': '{"secure_boot": "true"}'}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
func_disable_secure_boot.return_value = True
task.node.instance_info = instance_info
ilo_deploy._prepare_node_for_deploy(task)
func_node_power_action.assert_called_once_with(task,
states.POWER_OFF)
func_disable_secure_boot.assert_called_once_with(task)
self.assertFalse(func_update_boot_mode.called)
bootmode = driver_utils.get_node_capability(task.node, "boot_mode")
self.assertIsNone(bootmode)
deploy_boot_mode = task.node.instance_info.get('deploy_boot_mode')
self.assertIsNone(deploy_boot_mode)
@mock.patch.object(ilo_deploy.LOG, 'warning', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_get_boot_iso', spec_set=True,
autospec=True)
def test__recreate_and_populate_boot_iso_root_uuid_set(self,
get_boot_iso_mock,
log_mock):
driver_internal_info = {}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
driver_internal_info['root_uuid_or_disk_id'] = 'root-uuid'
task.node.driver_internal_info = driver_internal_info
r_uuid = task.node.driver_internal_info['root_uuid_or_disk_id']
get_boot_iso_mock.return_value = 'boot-uuid'
ilo_deploy._recreate_and_populate_ilo_boot_iso(task)
self.assertEqual(task.node.instance_info['ilo_boot_iso'],
'boot-uuid')
get_boot_iso_mock.assert_called_once_with(task, r_uuid)
self.assertFalse(log_mock.called)
@mock.patch.object(ilo_deploy.LOG, 'warning', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_get_boot_iso', spec_set=True,
autospec=True)
def test__recreate_and_populate_boot_iso_root_not_set(self,
get_boot_iso_mock,
log_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.instance_info['ilo_boot_iso'] = 'boot-uuid-old-iso'
ilo_deploy._recreate_and_populate_ilo_boot_iso(task)
self.assertEqual(task.node.instance_info['ilo_boot_iso'],
'boot-uuid-old-iso')
self.assertFalse(get_boot_iso_mock.called)
self.assertTrue(log_mock.called)
@mock.patch.object(ilo_deploy.LOG, 'warning',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_get_boot_iso',
spec_set=True, autospec=True)
def test__recreate_and_populate_get_boot_iso_fails(self,
get_boot_iso_mock,
log_mock):
driver_internal_info = {}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
driver_internal_info['boot_iso_created_in_web_server'] = True
driver_internal_info['root_uuid_or_disk_id'] = 'uuid'
task.node.instance_info['ilo_boot_iso'] = 'boot-uuid-old-iso'
task.node.driver_internal_info = driver_internal_info
task.node.save()
r_uuid = task.node.driver_internal_info.get('root_uuid_or_disk_id')
get_boot_iso_mock.side_effect = Exception
ilo_deploy._recreate_and_populate_ilo_boot_iso(task)
self.assertEqual(task.node.instance_info['ilo_boot_iso'],
'boot-uuid-old-iso')
get_boot_iso_mock.assert_called_once_with(task, r_uuid)
self.assertTrue(log_mock.called)
@mock.patch.object(ilo_deploy.LOG, 'warning',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_get_boot_iso',
spec_set=True, autospec=True)
def test__recreate_and_populate_get_boot_iso_none(self,
boot_iso_mock,
log_mock):
driver_internal_info = {}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
driver_internal_info['boot_iso_created_in_web_server'] = True
driver_internal_info['root_uuid_or_disk_id'] = 'uuid'
task.node.driver_internal_info = driver_internal_info
r_uuid = task.node.driver_internal_info.get('root_uuid_or_disk_id')
task.node.instance_info['ilo_boot_iso'] = 'boot-uuid-old-iso'
task.node.save()
boot_iso_mock.return_value = None
ilo_deploy._recreate_and_populate_ilo_boot_iso(task)
boot_iso_mock.assert_called_once_with(task, r_uuid)
self.assertEqual(task.node.instance_info['ilo_boot_iso'],
'boot-uuid-old-iso')
self.assertTrue(log_mock.called)
class IloVirtualMediaIscsiDeployTestCase(db_base.DbTestCase):
def setUp(self):
super(IloVirtualMediaIscsiDeployTestCase, self).setUp()
mgr_utils.mock_the_extension_manager(driver="iscsi_ilo")
self.node = obj_utils.create_test_node(
self.context, driver='iscsi_ilo', driver_info=INFO_DICT)
@mock.patch.object(deploy_utils, 'validate_capabilities',
spec_set=True, autospec=True)
@mock.patch.object(deploy_utils, 'validate_image_properties',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_parse_deploy_info', spec_set=True,
autospec=True)
@mock.patch.object(iscsi_deploy, 'validate', spec_set=True, autospec=True)
def _test_validate(self, validate_mock,
deploy_info_mock,
validate_prop_mock,
validate_capability_mock,
props_expected):
d_info = {'image_source': 'uuid'}
deploy_info_mock.return_value = d_info
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.deploy.validate(task)
validate_mock.assert_called_once_with(task)
deploy_info_mock.assert_called_once_with(task.node)
validate_prop_mock.assert_called_once_with(
task.context, d_info, props_expected)
validate_capability_mock.assert_called_once_with(task.node)
@mock.patch.object(deploy_utils, 'validate_image_properties',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_parse_deploy_info', spec_set=True,
autospec=True)
@mock.patch.object(iscsi_deploy, 'validate', spec_set=True, autospec=True)
def test_validate_invalid_boot_option(self,
validate_mock,
deploy_info_mock,
validate_prop_mock):
d_info = {'image_source': '733d1c44-a2ea-414b-aca7-69decf20d810'}
properties = {'capabilities': 'boot_mode:uefi,boot_option:foo'}
deploy_info_mock.return_value = d_info
props = ['kernel_id', 'ramdisk_id']
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.properties = properties
exc = self.assertRaises(exception.InvalidParameterValue,
task.driver.deploy.validate,
task)
validate_mock.assert_called_once_with(task)
deploy_info_mock.assert_called_once_with(task.node)
validate_prop_mock.assert_called_once_with(task.context,
d_info, props)
self.assertIn('boot_option', str(exc))
@mock.patch.object(deploy_utils, 'validate_image_properties',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_parse_deploy_info', spec_set=True,
autospec=True)
@mock.patch.object(iscsi_deploy, 'validate', spec_set=True, autospec=True)
def test_validate_invalid_boot_mode(self,
validate_mock,
deploy_info_mock,
validate_prop_mock):
d_info = {'image_source': '733d1c44-a2ea-414b-aca7-69decf20d810'}
properties = {'capabilities': 'boot_mode:foo,boot_option:local'}
deploy_info_mock.return_value = d_info
props = ['kernel_id', 'ramdisk_id']
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.properties = properties
exc = self.assertRaises(exception.InvalidParameterValue,
task.driver.deploy.validate,
task)
validate_mock.assert_called_once_with(task)
deploy_info_mock.assert_called_once_with(task.node)
validate_prop_mock.assert_called_once_with(task.context,
d_info, props)
self.assertIn('boot_mode', str(exc))
@mock.patch.object(service_utils, 'is_glance_image', spec_set=True,
autospec=True)
def test_validate_glance_partition_image(self, is_glance_image_mock):
is_glance_image_mock.return_value = True
self._test_validate(props_expected=['kernel_id', 'ramdisk_id'])
def test_validate_whole_disk_image(self):
self.node.driver_internal_info = {'is_whole_disk_image': True}
self.node.save()
self._test_validate(props_expected=[])
@mock.patch.object(service_utils, 'is_glance_image', spec_set=True,
autospec=True)
def test_validate_non_glance_partition_image(self, is_glance_image_mock):
is_glance_image_mock.return_value = False
self._test_validate(props_expected=['kernel', 'ramdisk'])
@mock.patch.object(ilo_common, 'eject_vmedia_devices',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_reboot_into', spec_set=True,
autospec=True)
@mock.patch.object(deploy_utils, 'get_single_nic_with_vif_port_id',
spec_set=True, autospec=True)
@mock.patch.object(deploy_utils, 'build_agent_options', spec_set=True,
autospec=True)
@mock.patch.object(iscsi_deploy, 'build_deploy_ramdisk_options',
spec_set=True, autospec=True)
@mock.patch.object(iscsi_deploy, 'check_image_size', spec_set=True,
autospec=True)
@mock.patch.object(iscsi_deploy, 'cache_instance_image', spec_set=True,
autospec=True)
def _test_deploy(self,
cache_instance_image_mock,
check_image_size_mock,
build_opts_mock,
agent_options_mock,
get_nic_mock,
reboot_into_mock,
eject_mock,
ilo_boot_iso,
image_source
):
instance_info = self.node.instance_info
instance_info['ilo_boot_iso'] = ilo_boot_iso
instance_info['image_source'] = image_source
self.node.instance_info = instance_info
self.node.save()
deploy_opts = {'a': 'b'}
agent_options_mock.return_value = {
'ipa-api-url': 'http://1.2.3.4:6385'}
build_opts_mock.return_value = deploy_opts
get_nic_mock.return_value = '12:34:56:78:90:ab'
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.driver_info['ilo_deploy_iso'] = 'deploy-iso'
returned_state = task.driver.deploy.deploy(task)
eject_mock.assert_called_once_with(task)
cache_instance_image_mock.assert_called_once_with(task.context,
task.node)
check_image_size_mock.assert_called_once_with(task)
expected_ramdisk_opts = {'a': 'b', 'BOOTIF': '12:34:56:78:90:ab',
'ipa-api-url': 'http://1.2.3.4:6385'}
build_opts_mock.assert_called_once_with(task.node)
get_nic_mock.assert_called_once_with(task)
reboot_into_mock.assert_called_once_with(task, 'deploy-iso',
expected_ramdisk_opts)
self.assertEqual(states.DEPLOYWAIT, returned_state)
def test_deploy_glance_image(self):
self._test_deploy(
ilo_boot_iso='swift:abcdef',
image_source='6b2f0c0c-79e8-4db6-842e-43c9764204af')
self.node.refresh()
self.assertNotIn('ilo_boot_iso', self.node.instance_info)
def test_deploy_not_a_glance_image(self):
self._test_deploy(
ilo_boot_iso='http://mybootiso',
image_source='http://myimage')
self.node.refresh()
self.assertEqual('http://mybootiso',
self.node.instance_info['ilo_boot_iso'])
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
def test_tear_down(self,
node_power_action_mock,
update_secure_boot_mode_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
driver_internal_info = task.node.driver_internal_info
driver_internal_info['boot_iso_created_in_web_server'] = True
driver_internal_info['root_uuid_or_disk_id'] = 'uuid'
task.node.driver_internal_info = driver_internal_info
task.node.save()
returned_state = task.driver.deploy.tear_down(task)
node_power_action_mock.assert_called_once_with(task,
states.POWER_OFF)
update_secure_boot_mode_mock.assert_called_once_with(task, False)
self.assertEqual(states.DELETED, returned_state)
dinfo = task.node.driver_internal_info
self.assertNotIn('boot_iso_created_in_web_server', dinfo)
self.assertNotIn('root_uuid_or_disk_id', dinfo)
@mock.patch.object(ilo_deploy.LOG, 'warn', spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, 'exception', spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
def test_tear_down_handle_exception(self,
node_power_action_mock,
update_secure_boot_mode_mock,
exception_mock,
mock_log):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
exception_mock.IloOperationNotSupported = Exception
update_secure_boot_mode_mock.side_effect = Exception
returned_state = task.driver.deploy.tear_down(task)
node_power_action_mock.assert_called_once_with(task,
states.POWER_OFF)
update_secure_boot_mode_mock.assert_called_once_with(task, False)
self.assertTrue(mock_log.called)
self.assertEqual(states.DELETED, returned_state)
@mock.patch.object(ilo_deploy, '_clean_up_boot_iso_for_instance',
spec_set=True, autospec=True)
@mock.patch.object(iscsi_deploy, 'destroy_images', spec_set=True,
autospec=True)
def test_clean_up(self, destroy_images_mock, clean_up_boot_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.deploy.clean_up(task)
destroy_images_mock.assert_called_once_with(task.node.uuid)
clean_up_boot_mock.assert_called_once_with(task.node)
@mock.patch.object(ilo_deploy, '_clean_up_boot_iso_for_instance',
spec_set=True, autospec=True)
@mock.patch.object(ilo_common, 'destroy_floppy_image_from_web_server',
spec_set=True, autospec=True)
def test_clean_up_of_webserver_images(self, destroy_images_mock,
clean_up_boot_mock):
CONF.ilo.use_web_server_for_images = True
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.deploy.clean_up(task)
destroy_images_mock.assert_called_once_with(task.node)
clean_up_boot_mock.assert_called_once_with(task.node)
@mock.patch.object(ilo_deploy, '_prepare_node_for_deploy', spec_set=True,
autospec=True)
def test_prepare(self, func_prepare_node_for_deploy):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.deploy.prepare(task)
func_prepare_node_for_deploy.assert_called_once_with(task)
@mock.patch.object(ilo_deploy, '_prepare_node_for_deploy', spec_set=True,
autospec=True)
def test_prepare_active_node(self, func_prepare_node_for_deploy):
self.node.provision_state = states.ACTIVE
self.node.save()
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.deploy.prepare(task)
self.assertFalse(func_prepare_node_for_deploy.called)
@mock.patch.object(ilo_deploy, '_recreate_and_populate_ilo_boot_iso',
spec_set=True, autospec=True)
def test_take_over_recreate_iso_config_and_dif_set(self, mock_recreate):
driver_internal_info = {}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
CONF.ilo.use_web_server_for_images = True
driver_internal_info['boot_iso_created_in_web_server'] = True
task.node.driver_internal_info = driver_internal_info
task.node.save()
task.driver.deploy.take_over(task)
mock_recreate.assert_called_once_with(task)
@mock.patch.object(ilo_deploy, '_recreate_and_populate_ilo_boot_iso',
spec_set=True, autospec=True)
def test_take_over_recreate_iso_config_set_and_dif_not_set(self,
mock_recreate):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
CONF.ilo.use_web_server_for_images = True
task.node.save()
task.driver.deploy.take_over(task)
self.assertFalse(mock_recreate.called)
@mock.patch.object(ilo_deploy, '_recreate_and_populate_ilo_boot_iso',
spec_set=True, autospec=True)
def test_take_over_recreate_iso_config_not_set(self, mock_recreate):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
CONF.ilo.use_web_server_for_images = False
task.node.save()
task.driver.deploy.take_over(task)
self.assertFalse(mock_recreate.called)
class IloVirtualMediaAgentDeployTestCase(db_base.DbTestCase):
def setUp(self):
super(IloVirtualMediaAgentDeployTestCase, self).setUp()
mgr_utils.mock_the_extension_manager(driver="agent_ilo")
self.node = obj_utils.create_test_node(
self.context, driver='agent_ilo', driver_info=INFO_DICT)
@mock.patch.object(deploy_utils, 'validate_capabilities',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_parse_driver_info', spec_set=True,
autospec=True)
def test_validate(self,
parse_driver_info_mock,
validate_capability_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.deploy.validate(task)
parse_driver_info_mock.assert_called_once_with(task.node)
validate_capability_mock.assert_called_once_with(task.node)
@mock.patch.object(ilo_deploy, '_prepare_agent_vmedia_boot', spec_set=True,
autospec=True)
def test_deploy(self, vmedia_boot_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
returned_state = task.driver.deploy.deploy(task)
vmedia_boot_mock.assert_called_once_with(task)
self.assertEqual(states.DEPLOYWAIT, returned_state)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
def test_tear_down(self,
node_power_action_mock,
update_secure_boot_mode_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
returned_state = task.driver.deploy.tear_down(task)
node_power_action_mock.assert_called_once_with(task,
states.POWER_OFF)
update_secure_boot_mode_mock.assert_called_once_with(task, False)
self.assertEqual(states.DELETED, returned_state)
@mock.patch.object(ilo_deploy.LOG, 'warn', spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, 'exception', spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
def test_tear_down_handle_exception(self,
node_power_action_mock,
update_secure_boot_mode_mock,
exception_mock,
mock_log):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
exception_mock.IloOperationNotSupported = Exception
update_secure_boot_mode_mock.side_effect = Exception
returned_state = task.driver.deploy.tear_down(task)
node_power_action_mock.assert_called_once_with(task,
states.POWER_OFF)
update_secure_boot_mode_mock.assert_called_once_with(task, False)
self.assertTrue(mock_log.called)
self.assertEqual(states.DELETED, returned_state)
@mock.patch.object(ilo_deploy, '_prepare_node_for_deploy', spec_set=True,
autospec=True)
@mock.patch.object(agent, 'build_instance_info_for_deploy', spec_set=True,
autospec=True)
def test_prepare(self,
build_instance_info_mock,
func_prepare_node_for_deploy):
deploy_opts = {'a': 'b'}
build_instance_info_mock.return_value = deploy_opts
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.deploy.prepare(task)
self.assertEqual(deploy_opts, task.node.instance_info)
func_prepare_node_for_deploy.assert_called_once_with(task)
@mock.patch.object(ilo_deploy, '_prepare_node_for_deploy', spec_set=True,
autospec=True)
@mock.patch.object(agent, 'build_instance_info_for_deploy', spec_set=True,
autospec=True)
def test_prepare_active_node(self,
build_instance_info_mock,
func_prepare_node_for_deploy):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.provision_state = states.ACTIVE
task.driver.deploy.prepare(task)
self.assertFalse(build_instance_info_mock.called)
self.assertFalse(func_prepare_node_for_deploy.called)
@mock.patch('ironic.dhcp.neutron.NeutronDHCPApi.delete_cleaning_ports',
spec_set=True, autospec=True)
@mock.patch('ironic.dhcp.neutron.NeutronDHCPApi.create_cleaning_ports',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_prepare_agent_vmedia_boot', spec_set=True,
autospec=True)
def test_prepare_cleaning(self, vmedia_boot_mock, create_port_mock,
delete_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
returned_state = task.driver.deploy.prepare_cleaning(task)
vmedia_boot_mock.assert_called_once_with(task)
self.assertEqual(states.CLEANWAIT, returned_state)
create_port_mock.assert_called_once_with(mock.ANY, task)
delete_mock.assert_called_once_with(mock.ANY, task)
self.assertEqual(task.node.driver_internal_info.get(
'agent_erase_devices_iterations'), 1)
@mock.patch('ironic.dhcp.neutron.NeutronDHCPApi.delete_cleaning_ports',
spec_set=True, autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
def test_tear_down_cleaning(self, power_mock, delete_mock):
with task_manager.acquire(
self.context, self.node['uuid'], shared=False) as task:
task.driver.deploy.tear_down_cleaning(task)
power_mock.assert_called_once_with(task, states.POWER_OFF)
delete_mock.assert_called_once_with(mock.ANY, task)
@mock.patch.object(deploy_utils, 'agent_execute_clean_step', spec_set=True,
autospec=True)
def test_execute_clean_step(self, execute_mock):
with task_manager.acquire(
self.context, self.node['uuid'], shared=False) as task:
task.driver.deploy.execute_clean_step(task, 'fake-step')
execute_mock.assert_called_once_with(task, 'fake-step')
@mock.patch.object(deploy_utils, 'agent_get_clean_steps', spec_set=True,
autospec=True)
def test_get_clean_steps_with_conf_option(self, get_clean_step_mock):
self.config(clean_priority_erase_devices=20, group='ilo')
get_clean_step_mock.return_value = [{
'step': 'erase_devices',
'priority': 10,
'interface': 'deploy',
'reboot_requested': False
}]
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
step = task.driver.deploy.get_clean_steps(task)
get_clean_step_mock.assert_called_once_with(task)
self.assertEqual(step[0].get('priority'),
CONF.ilo.clean_priority_erase_devices)
@mock.patch.object(deploy_utils, 'agent_get_clean_steps', spec_set=True,
autospec=True)
def test_get_clean_steps_erase_devices_disable(self, get_clean_step_mock):
self.config(clean_priority_erase_devices=0, group='ilo')
get_clean_step_mock.return_value = [{
'step': 'erase_devices',
'priority': 10,
'interface': 'deploy',
'reboot_requested': False
}]
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
step = task.driver.deploy.get_clean_steps(task)
get_clean_step_mock.assert_called_once_with(task)
self.assertEqual(step[0].get('priority'),
CONF.ilo.clean_priority_erase_devices)
@mock.patch.object(deploy_utils, 'agent_get_clean_steps', spec_set=True,
autospec=True)
def test_get_clean_steps_without_conf_option(self, get_clean_step_mock):
get_clean_step_mock.return_value = [{
'step': 'erase_devices',
'priority': 10,
'interface': 'deploy',
'reboot_requested': False
}]
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
step = task.driver.deploy.get_clean_steps(task)
get_clean_step_mock.assert_called_once_with(task)
self.assertEqual(step[0].get('priority'), 10)
class VendorPassthruTestCase(db_base.DbTestCase):
def setUp(self):
super(VendorPassthruTestCase, self).setUp()
mgr_utils.mock_the_extension_manager(driver="iscsi_ilo")
self.node = obj_utils.create_test_node(self.context,
driver='iscsi_ilo',
driver_info=INFO_DICT)
@mock.patch.object(iscsi_deploy, 'get_deploy_info', spec_set=True,
autospec=True)
def test_validate_pass_deploy_info(self, get_deploy_info_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
vendor = ilo_deploy.VendorPassthru()
vendor.validate(task, method='pass_deploy_info', foo='bar')
get_deploy_info_mock.assert_called_once_with(task.node,
foo='bar')
@mock.patch.object(iscsi_deploy, 'validate_pass_bootloader_info_input',
spec_set=True, autospec=True)
def test_validate_pass_bootloader_install_info(self,
validate_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=True) as task:
kwargs = {'address': '1.2.3.4', 'key': 'fake-key',
'status': 'SUCCEEDED', 'error': ''}
task.driver.vendor.validate(
task, method='pass_bootloader_install_info', **kwargs)
validate_mock.assert_called_once_with(task, kwargs)
@mock.patch.object(iscsi_deploy, 'get_deploy_info', spec_set=True,
autospec=True)
def test_validate_heartbeat(self, get_deploy_info_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
vendor = ilo_deploy.VendorPassthru()
vendor.validate(task, method='heartbeat', foo='bar')
self.assertFalse(get_deploy_info_mock.called)
@mock.patch.object(manager_utils, 'node_set_boot_device', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'setup_vmedia_for_boot', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_get_boot_iso', spec_set=True,
autospec=True)
def test__configure_vmedia_boot_with_boot_iso(
self, get_boot_iso_mock, setup_vmedia_mock, set_boot_device_mock):
root_uuid = {'root uuid': 'root_uuid'}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
get_boot_iso_mock.return_value = 'boot.iso'
task.driver.vendor._configure_vmedia_boot(
task, root_uuid)
get_boot_iso_mock.assert_called_once_with(
task, root_uuid)
setup_vmedia_mock.assert_called_once_with(
task, 'boot.iso')
set_boot_device_mock.assert_called_once_with(
task, boot_devices.CDROM, persistent=True)
self.assertEqual('boot.iso',
task.node.instance_info['ilo_boot_iso'])
@mock.patch.object(manager_utils, 'node_set_boot_device', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'setup_vmedia_for_boot', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_get_boot_iso', spec_set=True,
autospec=True)
def test__configure_vmedia_boot_without_boot_iso(
self, get_boot_iso_mock, setup_vmedia_mock, set_boot_device_mock):
root_uuid = {'root uuid': 'root_uuid'}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
get_boot_iso_mock.return_value = None
task.driver.vendor._configure_vmedia_boot(
task, root_uuid)
get_boot_iso_mock.assert_called_once_with(
task, root_uuid)
self.assertFalse(setup_vmedia_mock.called)
self.assertFalse(set_boot_device_mock.called)
@mock.patch.object(iscsi_deploy, 'validate_bootloader_install_status',
spec_set=True, autospec=True)
@mock.patch.object(iscsi_deploy, 'finish_deploy', spec_set=True,
autospec=True)
def test_pass_bootloader_install_info(self, finish_deploy_mock,
validate_input_mock):
kwargs = {'method': 'pass_deploy_info', 'address': '123456'}
self.node.provision_state = states.DEPLOYWAIT
self.node.target_provision_state = states.ACTIVE
self.node.save()
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.vendor.pass_bootloader_install_info(task, **kwargs)
finish_deploy_mock.assert_called_once_with(task, '123456')
validate_input_mock.assert_called_once_with(task, kwargs)
@mock.patch.object(deploy_utils, 'notify_ramdisk_to_proceed',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_set_boot_device', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'setup_vmedia_for_boot', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_get_boot_iso', spec_set=True,
autospec=True)
@mock.patch.object(iscsi_deploy, 'continue_deploy', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'cleanup_vmedia_boot', spec_set=True,
autospec=True)
def test_pass_deploy_info_good(self, cleanup_vmedia_boot_mock,
continue_deploy_mock, get_boot_iso_mock,
setup_vmedia_mock, set_boot_device_mock,
func_update_boot_mode,
func_update_secure_boot_mode,
notify_ramdisk_to_proceed_mock):
kwargs = {'method': 'pass_deploy_info', 'address': '123456'}
continue_deploy_mock.return_value = {'root uuid': 'root-uuid'}
get_boot_iso_mock.return_value = 'boot-iso'
self.node.provision_state = states.DEPLOYWAIT
self.node.target_provision_state = states.ACTIVE
self.node.save()
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.vendor.pass_deploy_info(task, **kwargs)
cleanup_vmedia_boot_mock.assert_called_once_with(task)
continue_deploy_mock.assert_called_once_with(task, **kwargs)
get_boot_iso_mock.assert_called_once_with(task, 'root-uuid')
setup_vmedia_mock.assert_called_once_with(task, 'boot-iso')
self.assertEqual(states.ACTIVE, task.node.provision_state)
self.assertEqual(states.NOSTATE, task.node.target_provision_state)
set_boot_device_mock.assert_called_once_with(task,
boot_devices.CDROM,
persistent=True)
func_update_boot_mode.assert_called_once_with(task)
func_update_secure_boot_mode.assert_called_once_with(task, True)
self.assertEqual('boot-iso',
task.node.instance_info['ilo_boot_iso'])
info = task.node.driver_internal_info['root_uuid_or_disk_id']
self.assertEqual('root-uuid', info)
notify_ramdisk_to_proceed_mock.assert_called_once_with('123456')
@mock.patch.object(ilo_common, 'cleanup_vmedia_boot', spec_set=True,
autospec=True)
def test_pass_deploy_info_bad(self, cleanup_vmedia_boot_mock):
kwargs = {'method': 'pass_deploy_info', 'address': '123456'}
self.node.provision_state = states.AVAILABLE
self.node.target_provision_state = states.NOSTATE
self.node.save()
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
vendor = task.driver.vendor
self.assertRaises(exception.InvalidState,
vendor.pass_deploy_info,
task, **kwargs)
self.assertEqual(states.AVAILABLE, task.node.provision_state)
self.assertEqual(states.NOSTATE, task.node.target_provision_state)
self.assertFalse(cleanup_vmedia_boot_mock.called)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
@mock.patch.object(iscsi_deploy, 'continue_deploy', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'cleanup_vmedia_boot', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_get_boot_iso', spec_set=True,
autospec=True)
def test_pass_deploy_info_create_boot_iso_fail(
self, get_iso_mock, cleanup_vmedia_boot_mock, continue_deploy_mock,
node_power_mock, update_boot_mode_mock,
update_secure_boot_mode_mock):
kwargs = {'address': '123456'}
continue_deploy_mock.return_value = {'root uuid': 'root-uuid'}
get_iso_mock.side_effect = iter([exception.ImageCreationFailed(
image_type='iso', error="error")])
self.node.provision_state = states.DEPLOYWAIT
self.node.target_provision_state = states.ACTIVE
self.node.save()
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.vendor.pass_deploy_info(task, **kwargs)
cleanup_vmedia_boot_mock.assert_called_once_with(task)
update_boot_mode_mock.assert_called_once_with(task)
update_secure_boot_mode_mock.assert_called_once_with(task, True)
continue_deploy_mock.assert_called_once_with(task, **kwargs)
get_iso_mock.assert_called_once_with(task, 'root-uuid')
node_power_mock.assert_called_once_with(task, states.POWER_OFF)
self.assertEqual(states.DEPLOYFAIL, task.node.provision_state)
self.assertEqual(states.ACTIVE, task.node.target_provision_state)
self.assertIsNotNone(task.node.last_error)
@mock.patch.object(iscsi_deploy, 'finish_deploy', spec_set=True,
autospec=True)
@mock.patch.object(deploy_utils, 'notify_ramdisk_to_proceed',
spec_set=True, autospec=True)
@mock.patch.object(manager_utils, 'node_set_boot_device', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(iscsi_deploy, 'continue_deploy', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'cleanup_vmedia_boot', spec_set=True,
autospec=True)
def test_pass_deploy_info_boot_option_local(
self, cleanup_vmedia_boot_mock, continue_deploy_mock,
func_update_boot_mode, func_update_secure_boot_mode,
set_boot_device_mock, notify_ramdisk_to_proceed_mock,
finish_deploy_mock):
kwargs = {'method': 'pass_deploy_info', 'address': '123456'}
continue_deploy_mock.return_value = {'root uuid': '<some-uuid>'}
self.node.instance_info = {'capabilities': '{"boot_option": "local"}'}
self.node.provision_state = states.DEPLOYWAIT
self.node.target_provision_state = states.ACTIVE
self.node.save()
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
vendor = task.driver.vendor
vendor.pass_deploy_info(task, **kwargs)
cleanup_vmedia_boot_mock.assert_called_once_with(task)
continue_deploy_mock.assert_called_once_with(task, **kwargs)
set_boot_device_mock.assert_called_once_with(task,
boot_devices.DISK,
persistent=True)
func_update_boot_mode.assert_called_once_with(task)
func_update_secure_boot_mode.assert_called_once_with(task, True)
notify_ramdisk_to_proceed_mock.assert_called_once_with('123456')
self.assertEqual(states.DEPLOYWAIT, task.node.provision_state)
self.assertEqual(states.ACTIVE, task.node.target_provision_state)
self.assertFalse(finish_deploy_mock.called)
@mock.patch.object(iscsi_deploy, 'finish_deploy', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_set_boot_device', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(iscsi_deploy, 'continue_deploy', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'cleanup_vmedia_boot', spec_set=True,
autospec=True)
def _test_pass_deploy_info_whole_disk_image(
self, cleanup_vmedia_boot_mock, continue_deploy_mock,
func_update_boot_mode, func_update_secure_boot_mode,
set_boot_device_mock, notify_ramdisk_to_proceed_mock):
kwargs = {'method': 'pass_deploy_info', 'address': '123456'}
continue_deploy_mock.return_value = {'root uuid': '<some-uuid>'}
self.node.driver_internal_info = {'is_whole_disk_image': True}
self.node.provision_state = states.DEPLOYWAIT
self.node.target_provision_state = states.ACTIVE
self.node.save()
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
vendor = task.driver.vendor
vendor.pass_deploy_info(task, **kwargs)
cleanup_vmedia_boot_mock.assert_called_once_with(task)
continue_deploy_mock.assert_called_once_with(task, **kwargs)
set_boot_device_mock.assert_called_once_with(task,
boot_devices.DISK,
persistent=True)
func_update_boot_mode.assert_called_once_with(task)
func_update_secure_boot_mode.assert_called_once_with(task, True)
iscsi_deploy.finish_deploy.assert_called_once_with(task, '123456')
def test_pass_deploy_info_whole_disk_image_local(self):
self.node.instance_info = {'capabilities': '{"boot_option": "local"}'}
self.node.save()
self._test_pass_deploy_info_whole_disk_image()
def test_pass_deploy_info_whole_disk_image(self):
self._test_pass_deploy_info_whole_disk_image()
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(agent_base_vendor.BaseAgentVendor,
'reboot_and_finish_deploy', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy.VendorPassthru, '_configure_vmedia_boot',
spec_set=True, autospec=True)
@mock.patch.object(iscsi_deploy, 'do_agent_iscsi_deploy', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'cleanup_vmedia_boot', spec_set=True,
autospec=True)
def test_continue_deploy_netboot(self, cleanup_vmedia_boot_mock,
do_agent_iscsi_deploy_mock,
configure_vmedia_boot_mock,
reboot_and_finish_deploy_mock,
boot_mode_cap_mock,
update_secure_boot_mock):
self.node.provision_state = states.DEPLOYWAIT
self.node.target_provision_state = states.DEPLOYING
self.node.save()
do_agent_iscsi_deploy_mock.return_value = {
'root uuid': 'some-root-uuid'}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.vendor.continue_deploy(task)
cleanup_vmedia_boot_mock.assert_called_once_with(task)
do_agent_iscsi_deploy_mock.assert_called_once_with(task,
mock.ANY)
configure_vmedia_boot_mock.assert_called_once_with(
mock.ANY, task, 'some-root-uuid')
boot_mode_cap_mock.assert_called_once_with(task)
update_secure_boot_mock.assert_called_once_with(task, True)
reboot_and_finish_deploy_mock.assert_called_once_with(
mock.ANY, task)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(agent_base_vendor.BaseAgentVendor,
'reboot_and_finish_deploy', spec_set=True,
autospec=True)
@mock.patch.object(agent_base_vendor.BaseAgentVendor,
'configure_local_boot', spec_set=True, autospec=True)
@mock.patch.object(iscsi_deploy, 'do_agent_iscsi_deploy', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'cleanup_vmedia_boot', spec_set=True,
autospec=True)
def test_continue_deploy_localboot(self, cleanup_vmedia_boot_mock,
do_agent_iscsi_deploy_mock,
configure_local_boot_mock,
reboot_and_finish_deploy_mock,
boot_mode_cap_mock,
update_secure_boot_mock):
self.node.provision_state = states.DEPLOYWAIT
self.node.target_provision_state = states.DEPLOYING
self.node.instance_info = {
'capabilities': {'boot_option': 'local'}}
self.node.save()
do_agent_iscsi_deploy_mock.return_value = {
'root uuid': 'some-root-uuid'}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.vendor.continue_deploy(task)
cleanup_vmedia_boot_mock.assert_called_once_with(task)
do_agent_iscsi_deploy_mock.assert_called_once_with(task,
mock.ANY)
configure_local_boot_mock.assert_called_once_with(
mock.ANY, task, root_uuid='some-root-uuid',
efi_system_part_uuid=None)
boot_mode_cap_mock.assert_called_once_with(task)
update_secure_boot_mock.assert_called_once_with(task, True)
reboot_and_finish_deploy_mock.assert_called_once_with(
mock.ANY, task)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(agent_base_vendor.BaseAgentVendor,
'reboot_and_finish_deploy', spec_set=True,
autospec=True)
@mock.patch.object(agent_base_vendor.BaseAgentVendor,
'configure_local_boot', spec_set=True, autospec=True)
@mock.patch.object(iscsi_deploy, 'do_agent_iscsi_deploy', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'cleanup_vmedia_boot', spec_set=True,
autospec=True)
def test_continue_deploy_whole_disk_image(
self, cleanup_vmedia_boot_mock, do_agent_iscsi_deploy_mock,
configure_local_boot_mock, reboot_and_finish_deploy_mock,
boot_mode_cap_mock, update_secure_boot_mock):
self.node.provision_state = states.DEPLOYWAIT
self.node.target_provision_state = states.DEPLOYING
self.node.driver_internal_info = {'is_whole_disk_image': True}
self.node.save()
do_agent_iscsi_deploy_mock.return_value = {
'disk identifier': 'some-disk-id'}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.vendor.continue_deploy(task)
cleanup_vmedia_boot_mock.assert_called_once_with(task)
do_agent_iscsi_deploy_mock.assert_called_once_with(task,
mock.ANY)
configure_local_boot_mock.assert_called_once_with(
mock.ANY, task, root_uuid=None, efi_system_part_uuid=None)
reboot_and_finish_deploy_mock.assert_called_once_with(
mock.ANY, task)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(agent_base_vendor.BaseAgentVendor,
'reboot_and_finish_deploy', spec_set=True,
autospec=True)
@mock.patch.object(agent_base_vendor.BaseAgentVendor,
'configure_local_boot', spec_set=True, autospec=True)
@mock.patch.object(iscsi_deploy, 'do_agent_iscsi_deploy', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'cleanup_vmedia_boot', spec_set=True,
autospec=True)
def test_continue_deploy_localboot_uefi(self, cleanup_vmedia_boot_mock,
do_agent_iscsi_deploy_mock,
configure_local_boot_mock,
reboot_and_finish_deploy_mock,
boot_mode_cap_mock,
update_secure_boot_mock):
self.node.provision_state = states.DEPLOYWAIT
self.node.target_provision_state = states.DEPLOYING
self.node.instance_info = {
'capabilities': {'boot_option': 'local'}}
self.node.save()
do_agent_iscsi_deploy_mock.return_value = {
'root uuid': 'some-root-uuid',
'efi system partition uuid': 'efi-system-part-uuid'}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.vendor.continue_deploy(task)
cleanup_vmedia_boot_mock.assert_called_once_with(task)
do_agent_iscsi_deploy_mock.assert_called_once_with(task,
mock.ANY)
configure_local_boot_mock.assert_called_once_with(
mock.ANY, task, root_uuid='some-root-uuid',
efi_system_part_uuid='efi-system-part-uuid')
boot_mode_cap_mock.assert_called_once_with(task)
update_secure_boot_mock.assert_called_once_with(task, True)
reboot_and_finish_deploy_mock.assert_called_once_with(
mock.ANY, task)
@mock.patch.object(ilo_deploy, '_reboot_into', spec_set=True,
autospec=True)
def test_boot_into_iso(self, reboot_into_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.vendor.boot_into_iso(task, boot_iso_href='foo')
reboot_into_mock.assert_called_once_with(task, 'foo',
ramdisk_options=None)
@mock.patch.object(ilo_deploy.VendorPassthru, '_validate_boot_into_iso',
spec_set=True, autospec=True)
def test_validate_boot_into_iso(self, validate_boot_into_iso_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
vendor = ilo_deploy.VendorPassthru()
vendor.validate(task, method='boot_into_iso', foo='bar')
validate_boot_into_iso_mock.assert_called_once_with(
vendor, task, {'foo': 'bar'})
def test__validate_boot_into_iso_invalid_state(self):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.provision_state = states.AVAILABLE
self.assertRaises(
exception.InvalidStateRequested,
task.driver.vendor._validate_boot_into_iso,
task, {})
def test__validate_boot_into_iso_missing_boot_iso_href(self):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.provision_state = states.MANAGEABLE
self.assertRaises(
exception.MissingParameterValue,
task.driver.vendor._validate_boot_into_iso,
task, {})
@mock.patch.object(deploy_utils, 'validate_image_properties',
spec_set=True, autospec=True)
def test__validate_boot_into_iso_manage(self, validate_image_prop_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
info = {'boot_iso_href': 'foo'}
task.node.provision_state = states.MANAGEABLE
task.driver.vendor._validate_boot_into_iso(
task, info)
validate_image_prop_mock.assert_called_once_with(
task.context, {'image_source': 'foo'}, [])
@mock.patch.object(deploy_utils, 'validate_image_properties',
spec_set=True, autospec=True)
def test__validate_boot_into_iso_maintenance(
self, validate_image_prop_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
info = {'boot_iso_href': 'foo'}
task.node.maintenance = True
task.driver.vendor._validate_boot_into_iso(
task, info)
validate_image_prop_mock.assert_called_once_with(
task.context, {'image_source': 'foo'}, [])
class IloPXEDeployTestCase(db_base.DbTestCase):
def setUp(self):
super(IloPXEDeployTestCase, self).setUp()
mgr_utils.mock_the_extension_manager(driver="pxe_ilo")
self.node = obj_utils.create_test_node(
self.context, driver='pxe_ilo', driver_info=INFO_DICT)
@mock.patch.object(iscsi_deploy.ISCSIDeploy, 'validate', spec_set=True,
autospec=True)
def test_validate(self, pxe_validate_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.deploy.validate(task)
pxe_validate_mock.assert_called_once_with(mock.ANY, task)
@mock.patch.object(iscsi_deploy.ISCSIDeploy, 'prepare', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_prepare_node_for_deploy', spec_set=True,
autospec=True)
def test_prepare(self,
prepare_node_mock,
pxe_prepare_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.properties['capabilities'] = 'boot_mode:uefi'
task.driver.deploy.prepare(task)
prepare_node_mock.assert_called_once_with(task)
pxe_prepare_mock.assert_called_once_with(mock.ANY, task)
@mock.patch.object(iscsi_deploy.ISCSIDeploy, 'prepare', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_prepare_node_for_deploy', spec_set=True,
autospec=True)
def test_prepare_active_node(self,
prepare_node_mock,
pxe_prepare_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.provision_state = states.ACTIVE
task.node.properties['capabilities'] = 'boot_mode:uefi'
task.driver.deploy.prepare(task)
self.assertFalse(prepare_node_mock.called)
pxe_prepare_mock.assert_called_once_with(mock.ANY, task)
@mock.patch.object(iscsi_deploy.ISCSIDeploy, 'prepare', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_prepare_node_for_deploy', spec_set=True,
autospec=True)
def test_prepare_uefi_whole_disk_image_fail(self,
prepare_node_for_deploy_mock,
pxe_prepare_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.properties['capabilities'] = 'boot_mode:uefi'
task.node.driver_internal_info['is_whole_disk_image'] = True
self.assertRaises(exception.InvalidParameterValue,
task.driver.deploy.prepare, task)
prepare_node_for_deploy_mock.assert_called_once_with(task)
self.assertFalse(pxe_prepare_mock.called)
@mock.patch.object(iscsi_deploy.ISCSIDeploy, 'deploy', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_set_boot_device', spec_set=True,
autospec=True)
def test_deploy_boot_mode_exists(self, set_persistent_mock,
pxe_deploy_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.deploy.deploy(task)
set_persistent_mock.assert_called_with(task, boot_devices.PXE)
pxe_deploy_mock.assert_called_once_with(mock.ANY, task)
@mock.patch.object(iscsi_deploy.ISCSIDeploy, 'tear_down',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
def test_tear_down(self, node_power_action_mock,
update_secure_boot_mode_mock, pxe_tear_down_mock):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
pxe_tear_down_mock.return_value = states.DELETED
returned_state = task.driver.deploy.tear_down(task)
node_power_action_mock.assert_called_once_with(task,
states.POWER_OFF)
update_secure_boot_mode_mock.assert_called_once_with(task, False)
pxe_tear_down_mock.assert_called_once_with(mock.ANY, task)
self.assertEqual(states.DELETED, returned_state)
@mock.patch.object(ilo_deploy.LOG, 'warn', spec_set=True, autospec=True)
@mock.patch.object(iscsi_deploy.ISCSIDeploy, 'tear_down',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, 'exception', spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode',
spec_set=True, autospec=True)
@mock.patch.object(manager_utils, 'node_power_action', spec_set=True,
autospec=True)
def test_tear_down_handle_exception(self, node_power_action_mock,
update_secure_boot_mode_mock,
exception_mock, pxe_tear_down_mock,
mock_log):
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
pxe_tear_down_mock.return_value = states.DELETED
exception_mock.IloOperationNotSupported = Exception
update_secure_boot_mode_mock.side_effect = Exception
returned_state = task.driver.deploy.tear_down(task)
update_secure_boot_mode_mock.assert_called_once_with(task, False)
pxe_tear_down_mock.assert_called_once_with(mock.ANY, task)
node_power_action_mock.assert_called_once_with(task,
states.POWER_OFF)
self.assertTrue(mock_log.called)
self.assertEqual(states.DELETED, returned_state)
class IloPXEVendorPassthruTestCase(db_base.DbTestCase):
def setUp(self):
super(IloPXEVendorPassthruTestCase, self).setUp()
mgr_utils.mock_the_extension_manager(driver="pxe_ilo")
self.node = obj_utils.create_test_node(
self.context, driver='pxe_ilo', driver_info=INFO_DICT)
def test_vendor_routes(self):
expected = ['heartbeat', 'pass_deploy_info',
'pass_bootloader_install_info']
with task_manager.acquire(self.context, self.node.uuid,
shared=True) as task:
vendor_routes = task.driver.vendor.vendor_routes
self.assertIsInstance(vendor_routes, dict)
self.assertEqual(sorted(expected), sorted(list(vendor_routes)))
def test_driver_routes(self):
expected = ['lookup']
with task_manager.acquire(self.context, self.node.uuid,
shared=True) as task:
driver_routes = task.driver.vendor.driver_routes
self.assertIsInstance(driver_routes, dict)
self.assertEqual(sorted(expected), sorted(list(driver_routes)))
@mock.patch.object(iscsi_deploy.VendorPassthru, 'pass_deploy_info',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(manager_utils, 'node_set_boot_device', spec_set=True,
autospec=True)
def test_vendorpassthru_pass_deploy_info(self, set_boot_device_mock,
func_update_boot_mode,
func_update_secure_boot_mode,
pxe_vendorpassthru_mock):
kwargs = {'address': '123456'}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.provision_state = states.DEPLOYWAIT
task.node.target_provision_state = states.ACTIVE
task.driver.vendor.pass_deploy_info(task, **kwargs)
set_boot_device_mock.assert_called_with(task, boot_devices.PXE,
persistent=True)
func_update_boot_mode.assert_called_once_with(task)
func_update_secure_boot_mode.assert_called_once_with(task, True)
pxe_vendorpassthru_mock.assert_called_once_with(
mock.ANY, task, **kwargs)
@mock.patch.object(iscsi_deploy.VendorPassthru, 'continue_deploy',
spec_set=True, autospec=True)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', autospec=True)
def test_vendorpassthru_continue_deploy(self,
func_update_boot_mode,
func_update_secure_boot_mode,
pxe_vendorpassthru_mock):
kwargs = {'address': '123456'}
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.node.provision_state = states.DEPLOYWAIT
task.node.target_provision_state = states.ACTIVE
task.driver.vendor.continue_deploy(task, **kwargs)
func_update_boot_mode.assert_called_once_with(task)
func_update_secure_boot_mode.assert_called_once_with(task, True)
pxe_vendorpassthru_mock.assert_called_once_with(
mock.ANY, task, **kwargs)
class IloVirtualMediaAgentVendorInterfaceTestCase(db_base.DbTestCase):
def setUp(self):
super(IloVirtualMediaAgentVendorInterfaceTestCase, self).setUp()
mgr_utils.mock_the_extension_manager(driver="agent_ilo")
self.node = obj_utils.create_test_node(
self.context, driver='agent_ilo', driver_info=INFO_DICT)
@mock.patch.object(agent.AgentVendorInterface, 'reboot_to_instance',
spec_set=True, autospec=True)
@mock.patch.object(agent.AgentVendorInterface, 'check_deploy_success',
spec_set=True, autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
def test_reboot_to_instance(self, func_update_secure_boot_mode,
func_update_boot_mode,
check_deploy_success_mock,
agent_reboot_to_instance_mock):
kwargs = {'address': '123456'}
check_deploy_success_mock.return_value = None
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.vendor.reboot_to_instance(task, **kwargs)
check_deploy_success_mock.assert_called_once_with(
mock.ANY, task.node)
func_update_boot_mode.assert_called_once_with(task)
func_update_secure_boot_mode.assert_called_once_with(task, True)
agent_reboot_to_instance_mock.assert_called_once_with(
mock.ANY, task, **kwargs)
@mock.patch.object(agent.AgentVendorInterface, 'reboot_to_instance',
spec_set=True, autospec=True)
@mock.patch.object(agent.AgentVendorInterface, 'check_deploy_success',
spec_set=True, autospec=True)
@mock.patch.object(ilo_common, 'update_boot_mode', spec_set=True,
autospec=True)
@mock.patch.object(ilo_deploy, '_update_secure_boot_mode', spec_set=True,
autospec=True)
def test_reboot_to_instance_deploy_fail(self, func_update_secure_boot_mode,
func_update_boot_mode,
check_deploy_success_mock,
agent_reboot_to_instance_mock):
kwargs = {'address': '123456'}
check_deploy_success_mock.return_value = "Error"
with task_manager.acquire(self.context, self.node.uuid,
shared=False) as task:
task.driver.vendor.reboot_to_instance(task, **kwargs)
check_deploy_success_mock.assert_called_once_with(
mock.ANY, task.node)
self.assertFalse(func_update_boot_mode.called)
self.assertFalse(func_update_secure_boot_mode.called)
agent_reboot_to_instance_mock.assert_called_once_with(
mock.ANY, task, **kwargs)
| 53.081139 | 79 | 0.608601 | 11,280 | 98,784 | 4.93484 | 0.035816 | 0.035732 | 0.058744 | 0.074409 | 0.887973 | 0.869451 | 0.843618 | 0.815935 | 0.792886 | 0.773987 | 0 | 0.003556 | 0.308157 | 98,784 | 1,860 | 80 | 53.109677 | 0.810939 | 0.006874 | 0 | 0.731202 | 0 | 0 | 0.088249 | 0.025192 | 0 | 0 | 0 | 0 | 0.158082 | 1 | 0.059799 | false | 0.028419 | 0.015394 | 0 | 0.079337 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
10bef238f72972d7c9f0862a14628e0087124f5a | 91 | py | Python | mnistetude/lossfunc/__init__.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | null | null | null | mnistetude/lossfunc/__init__.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | 1 | 2022-03-18T03:14:13.000Z | 2022-03-18T03:14:13.000Z | mnistetude/lossfunc/__init__.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | null | null | null | from .cross_entropy_error import *
from .sum_square_error import *
from .ilossfunc import * | 30.333333 | 34 | 0.813187 | 13 | 91 | 5.384615 | 0.615385 | 0.314286 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 91 | 3 | 35 | 30.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
803795fbcc3035d6d8575249d48ae676b57e8a90 | 34,914 | py | Python | api/places/migrations/0001_initial.py | william-librata/places-api | 4d422fef3de501318ad1d8e55ba576171eea626e | [
"MIT"
] | null | null | null | api/places/migrations/0001_initial.py | william-librata/places-api | 4d422fef3de501318ad1d8e55ba576171eea626e | [
"MIT"
] | null | null | null | api/places/migrations/0001_initial.py | william-librata/places-api | 4d422fef3de501318ad1d8e55ba576171eea626e | [
"MIT"
] | null | null | null | # Generated by Django 3.0.6 on 2020-06-03 14:16
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Address',
fields=[
('address_detail_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField(blank=True, null=True)),
('date_last_modified', models.DateField(blank=True, null=True)),
('date_retired', models.DateField(blank=True, null=True)),
('building_name', models.CharField(blank=True, max_length=200, null=True)),
('lot_number_prefix', models.CharField(blank=True, max_length=2, null=True)),
('lot_number', models.CharField(blank=True, max_length=5, null=True)),
('lot_number_suffix', models.CharField(blank=True, max_length=2, null=True)),
('lot_number_combined', models.TextField(blank=True, null=True)),
('flat_type_code', models.CharField(blank=True, max_length=7, null=True)),
('flat_number_prefix', models.CharField(blank=True, max_length=2, null=True)),
('flat_number', models.DecimalField(blank=True, decimal_places=0, max_digits=5, null=True)),
('flat_number_suffix', models.CharField(blank=True, max_length=2, null=True)),
('flat_number_combined', models.TextField(blank=True, null=True)),
('level_type_code', models.CharField(blank=True, max_length=4, null=True)),
('level_number_prefix', models.CharField(blank=True, max_length=2, null=True)),
('level_number', models.DecimalField(blank=True, decimal_places=0, max_digits=3, null=True)),
('level_number_suffix', models.CharField(blank=True, max_length=2, null=True)),
('level_number_combined', models.TextField(blank=True, null=True)),
('number_first_prefix', models.CharField(blank=True, max_length=3, null=True)),
('number_first', models.DecimalField(blank=True, decimal_places=0, max_digits=6, null=True)),
('number_first_suffix', models.CharField(blank=True, max_length=2, null=True)),
('number_first_combined', models.TextField(blank=True, null=True)),
('number_last_prefix', models.CharField(blank=True, max_length=3, null=True)),
('number_last', models.DecimalField(blank=True, decimal_places=0, max_digits=6, null=True)),
('number_last_suffix', models.CharField(blank=True, max_length=2, null=True)),
('number_last_combined', models.TextField(blank=True, null=True)),
('house_number', models.TextField(blank=True, null=True)),
('street_locality_pid', models.CharField(blank=True, max_length=15, null=True)),
('street_name', models.CharField(blank=True, max_length=100, null=True)),
('street_type', models.CharField(blank=True, max_length=50, null=True)),
('street_suffix_code', models.CharField(blank=True, max_length=15, null=True)),
('street_suffix_name', models.CharField(blank=True, max_length=50, null=True)),
('street', models.TextField(blank=True, null=True)),
('locality_pid', models.CharField(blank=True, max_length=15, null=True)),
('locality_name', models.CharField(blank=True, max_length=100, null=True)),
('state', models.CharField(blank=True, max_length=3, null=True)),
('alias_principal', models.CharField(blank=True, max_length=1, null=True)),
('postcode', models.CharField(blank=True, max_length=4, null=True)),
('confidence', models.DecimalField(blank=True, decimal_places=0, max_digits=1, null=True)),
('address_site_pid', models.CharField(blank=True, max_length=15, null=True)),
('address_type_name', models.CharField(blank=True, max_length=50, null=True)),
('address_site_name', models.CharField(blank=True, max_length=200, null=True)),
('level_geocoded_code', models.DecimalField(blank=True, decimal_places=0, max_digits=2, null=True)),
('primary_secondary', models.CharField(blank=True, max_length=1, null=True)),
('latitude', models.DecimalField(blank=True, decimal_places=8, max_digits=10, null=True)),
('longitude', models.DecimalField(blank=True, decimal_places=8, max_digits=11, null=True)),
],
options={
'db_table': 'address',
'managed': True,
},
),
migrations.CreateModel(
name='AddressAliasTypeAut',
fields=[
('code', models.CharField(max_length=10, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=30, null=True)),
],
options={
'db_table': 'address_alias_type_aut',
'managed': True,
},
),
migrations.CreateModel(
name='AddressDetail',
fields=[
('address_detail_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_last_modified', models.DateField(blank=True, null=True)),
('date_retired', models.DateField(blank=True, null=True)),
('building_name', models.CharField(blank=True, max_length=200, null=True)),
('lot_number_prefix', models.CharField(blank=True, max_length=2, null=True)),
('lot_number', models.CharField(blank=True, max_length=5, null=True)),
('lot_number_suffix', models.CharField(blank=True, max_length=2, null=True)),
('flat_number_prefix', models.CharField(blank=True, max_length=2, null=True)),
('flat_number', models.DecimalField(blank=True, decimal_places=0, max_digits=5, null=True)),
('flat_number_suffix', models.CharField(blank=True, max_length=2, null=True)),
('level_number_prefix', models.CharField(blank=True, max_length=2, null=True)),
('level_number', models.DecimalField(blank=True, decimal_places=0, max_digits=3, null=True)),
('level_number_suffix', models.CharField(blank=True, max_length=2, null=True)),
('number_first_prefix', models.CharField(blank=True, max_length=3, null=True)),
('number_first', models.DecimalField(blank=True, decimal_places=0, max_digits=6, null=True)),
('number_first_suffix', models.CharField(blank=True, max_length=2, null=True)),
('number_last_prefix', models.CharField(blank=True, max_length=3, null=True)),
('number_last', models.DecimalField(blank=True, decimal_places=0, max_digits=6, null=True)),
('number_last_suffix', models.CharField(blank=True, max_length=2, null=True)),
('location_description', models.CharField(blank=True, max_length=45, null=True)),
('alias_principal', models.CharField(blank=True, max_length=1, null=True)),
('postcode', models.CharField(blank=True, max_length=4, null=True)),
('private_street', models.CharField(blank=True, max_length=75, null=True)),
('legal_parcel_id', models.CharField(blank=True, max_length=20, null=True)),
('confidence', models.DecimalField(blank=True, decimal_places=0, max_digits=1, null=True)),
('property_pid', models.CharField(blank=True, max_length=15, null=True)),
('gnaf_property_pid', models.CharField(blank=True, max_length=15, null=True)),
('primary_secondary', models.CharField(blank=True, max_length=1, null=True)),
],
options={
'db_table': 'address_detail',
'managed': True,
},
),
migrations.CreateModel(
name='AddressSite',
fields=[
('address_site_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('address_site_name', models.CharField(blank=True, max_length=200, null=True)),
],
options={
'db_table': 'address_site',
'managed': True,
},
),
migrations.CreateModel(
name='AddressTypeAut',
fields=[
('code', models.CharField(max_length=8, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=30, null=True)),
],
options={
'db_table': 'address_type_aut',
'managed': True,
},
),
migrations.CreateModel(
name='FlatTypeAut',
fields=[
('code', models.CharField(max_length=7, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=30, null=True)),
],
options={
'db_table': 'flat_type_aut',
'managed': True,
},
),
migrations.CreateModel(
name='GeocodedLevelTypeAut',
fields=[
('code', models.DecimalField(decimal_places=0, max_digits=2, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=70, null=True)),
],
options={
'db_table': 'geocoded_level_type_aut',
'managed': True,
},
),
migrations.CreateModel(
name='GeocodeReliabilityAut',
fields=[
('code', models.DecimalField(decimal_places=0, max_digits=1, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=100, null=True)),
],
options={
'db_table': 'geocode_reliability_aut',
'managed': True,
},
),
migrations.CreateModel(
name='GeocodeTypeAut',
fields=[
('code', models.CharField(max_length=4, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=250, null=True)),
],
options={
'db_table': 'geocode_type_aut',
'managed': True,
},
),
migrations.CreateModel(
name='LevelTypeAut',
fields=[
('code', models.CharField(max_length=4, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=30, null=True)),
],
options={
'db_table': 'level_type_aut',
'managed': True,
},
),
migrations.CreateModel(
name='Locality',
fields=[
('locality_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('locality_name', models.CharField(max_length=100)),
('primary_postcode', models.CharField(blank=True, max_length=4, null=True)),
('gnaf_locality_pid', models.CharField(blank=True, max_length=15, null=True)),
('gnaf_reliability_code', models.ForeignKey(db_column='gnaf_reliability_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='geocodereliabilityaut', to='places.GeocodeReliabilityAut')),
],
options={
'db_table': 'locality',
'managed': True,
},
),
migrations.CreateModel(
name='LocalityAliasTypeAut',
fields=[
('code', models.CharField(max_length=10, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=100, null=True)),
],
options={
'db_table': 'locality_alias_type_aut',
'managed': True,
},
),
migrations.CreateModel(
name='LocalityClassAut',
fields=[
('code', models.CharField(max_length=1, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=200, null=True)),
],
options={
'db_table': 'locality_class_aut',
'managed': True,
},
),
migrations.CreateModel(
name='Mb2011',
fields=[
('mb_2011_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('mb_2011_code', models.CharField(max_length=15)),
],
options={
'db_table': 'mb_2011',
'managed': True,
},
),
migrations.CreateModel(
name='Mb2016',
fields=[
('mb_2016_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('mb_2016_code', models.CharField(max_length=15)),
],
options={
'db_table': 'mb_2016',
'managed': True,
},
),
migrations.CreateModel(
name='MbMatchCodeAut',
fields=[
('code', models.CharField(max_length=15, primary_key=True, serialize=False)),
('name', models.CharField(max_length=100)),
('description', models.CharField(blank=True, max_length=250, null=True)),
],
options={
'db_table': 'mb_match_code_aut',
'managed': True,
},
),
migrations.CreateModel(
name='PsJoinTypeAut',
fields=[
('code', models.DecimalField(decimal_places=0, max_digits=2, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=500, null=True)),
],
options={
'db_table': 'ps_join_type_aut',
'managed': True,
},
),
migrations.CreateModel(
name='State',
fields=[
('state_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('state_name', models.CharField(max_length=50)),
('state_abbreviation', models.CharField(max_length=3)),
],
options={
'db_table': 'state',
'managed': True,
},
),
migrations.CreateModel(
name='StreetClassAut',
fields=[
('code', models.CharField(max_length=1, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=200, null=True)),
],
options={
'db_table': 'street_class_aut',
'managed': True,
},
),
migrations.CreateModel(
name='StreetLocality',
fields=[
('street_locality_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('street_name', models.CharField(max_length=100)),
('gnaf_street_pid', models.CharField(blank=True, max_length=15, null=True)),
('gnaf_street_confidence', models.DecimalField(blank=True, decimal_places=0, max_digits=1, null=True)),
('gnaf_reliability_code', models.ForeignKey(db_column='gnaf_reliability_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.GeocodeReliabilityAut')),
('locality_pid', models.ForeignKey(db_column='locality_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.Locality')),
('street_class_code', models.ForeignKey(db_column='street_class_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.StreetClassAut')),
],
options={
'db_table': 'street_locality',
'managed': True,
},
),
migrations.CreateModel(
name='StreetLocalityAliasTypeAut',
fields=[
('code', models.CharField(max_length=10, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=15, null=True)),
],
options={
'db_table': 'street_locality_alias_type_aut',
'managed': True,
},
),
migrations.CreateModel(
name='StreetSuffixAut',
fields=[
('code', models.CharField(max_length=15, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=30, null=True)),
],
options={
'db_table': 'street_suffix_aut',
'managed': True,
},
),
migrations.CreateModel(
name='StreetTypeAut',
fields=[
('code', models.CharField(max_length=15, primary_key=True, serialize=False)),
('name', models.CharField(max_length=50)),
('description', models.CharField(blank=True, max_length=15, null=True)),
],
options={
'db_table': 'street_type_aut',
'managed': True,
},
),
migrations.CreateModel(
name='StreetLocalityPoint',
fields=[
('street_locality_point_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('boundary_extent', models.DecimalField(blank=True, decimal_places=0, max_digits=7, null=True)),
('planimetric_accuracy', models.DecimalField(blank=True, decimal_places=0, max_digits=12, null=True)),
('longitude', models.DecimalField(blank=True, decimal_places=8, max_digits=11, null=True)),
('latitude', models.DecimalField(blank=True, decimal_places=8, max_digits=10, null=True)),
('street_locality_pid', models.ForeignKey(db_column='street_locality_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.StreetLocality')),
],
options={
'db_table': 'street_locality_point',
'managed': True,
},
),
migrations.CreateModel(
name='StreetLocalityAlias',
fields=[
('street_locality_alias_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('street_name', models.CharField(max_length=100)),
('alias_type_code', models.ForeignKey(db_column='alias_type_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.StreetLocalityAliasTypeAut')),
('street_locality_pid', models.ForeignKey(db_column='street_locality_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.StreetLocality')),
('street_suffix_code', models.ForeignKey(blank=True, db_column='street_suffix_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.StreetSuffixAut')),
('street_type_code', models.ForeignKey(blank=True, db_column='street_type_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.StreetTypeAut')),
],
options={
'db_table': 'street_locality_alias',
'managed': True,
},
),
migrations.AddField(
model_name='streetlocality',
name='street_suffix_code',
field=models.ForeignKey(blank=True, db_column='street_suffix_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.StreetSuffixAut'),
),
migrations.AddField(
model_name='streetlocality',
name='street_type_code',
field=models.ForeignKey(blank=True, db_column='street_type_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.StreetTypeAut'),
),
migrations.CreateModel(
name='PrimarySecondary',
fields=[
('primary_secondary_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('ps_join_comment', models.CharField(blank=True, max_length=500, null=True)),
('primary_pid', models.ForeignKey(db_column='primary_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='primary_secondary_primary_pid', to='places.AddressDetail')),
('ps_join_type_code', models.ForeignKey(db_column='ps_join_type_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.PsJoinTypeAut')),
('secondary_pid', models.ForeignKey(db_column='secondary_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='primary_secondary_secondary_pid', to='places.AddressDetail')),
],
options={
'db_table': 'primary_secondary',
'managed': True,
},
),
migrations.CreateModel(
name='LocalityPoint',
fields=[
('locality_point_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('planimetric_accuracy', models.DecimalField(blank=True, decimal_places=0, max_digits=12, null=True)),
('longitude', models.DecimalField(blank=True, decimal_places=8, max_digits=11, null=True)),
('latitude', models.DecimalField(blank=True, decimal_places=8, max_digits=10, null=True)),
('locality_pid', models.ForeignKey(db_column='locality_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.Locality')),
],
options={
'db_table': 'locality_point',
'managed': True,
},
),
migrations.CreateModel(
name='LocalityNeighbour',
fields=[
('locality_neighbour_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('locality_pid', models.ForeignKey(db_column='locality_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='locality_neighbour_locality_pid', to='places.Locality')),
('neighbour_locality_pid', models.ForeignKey(db_column='neighbour_locality_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='locality_neighbour_neighbour_locality_pid', to='places.Locality')),
],
options={
'db_table': 'locality_neighbour',
'managed': True,
},
),
migrations.CreateModel(
name='LocalityAlias',
fields=[
('locality_alias_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('name', models.CharField(max_length=100)),
('postcode', models.CharField(blank=True, max_length=4, null=True)),
('state_pid', models.CharField(max_length=15)),
('alias_type_code', models.ForeignKey(db_column='alias_type_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.LocalityAliasTypeAut')),
('locality_pid', models.ForeignKey(db_column='locality_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.Locality')),
],
options={
'db_table': 'locality_alias',
'managed': True,
},
),
migrations.AddField(
model_name='locality',
name='locality_class_code',
field=models.ForeignKey(db_column='locality_class_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='localityclassaut', to='places.LocalityClassAut'),
),
migrations.AddField(
model_name='locality',
name='state_pid',
field=models.ForeignKey(db_column='state_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='state', to='places.State'),
),
migrations.CreateModel(
name='AddressSiteGeocode',
fields=[
('address_site_geocode_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('geocode_site_name', models.CharField(blank=True, max_length=200, null=True)),
('geocode_site_description', models.CharField(blank=True, max_length=45, null=True)),
('boundary_extent', models.DecimalField(blank=True, decimal_places=0, max_digits=7, null=True)),
('planimetric_accuracy', models.DecimalField(blank=True, decimal_places=0, max_digits=12, null=True)),
('elevation', models.DecimalField(blank=True, decimal_places=0, max_digits=7, null=True)),
('longitude', models.DecimalField(blank=True, decimal_places=8, max_digits=11, null=True)),
('latitude', models.DecimalField(blank=True, decimal_places=8, max_digits=10, null=True)),
('address_site_pid', models.ForeignKey(blank=True, db_column='address_site_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.AddressSite')),
('geocode_type_code', models.ForeignKey(blank=True, db_column='geocode_type_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.GeocodeTypeAut')),
('reliability_code', models.ForeignKey(db_column='reliability_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.GeocodeReliabilityAut')),
],
options={
'db_table': 'address_site_geocode',
'managed': True,
},
),
migrations.AddField(
model_name='addresssite',
name='address_type',
field=models.ForeignKey(blank=True, db_column='address_type', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.AddressTypeAut'),
),
migrations.CreateModel(
name='AddressMeshBlock2016',
fields=[
('address_mesh_block_2016_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('address_detail_pid', models.ForeignKey(db_column='address_detail_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.AddressDetail')),
('mb_2016_pid', models.ForeignKey(db_column='mb_2016_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.Mb2016')),
('mb_match_code', models.ForeignKey(db_column='mb_match_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.MbMatchCodeAut')),
],
options={
'db_table': 'address_mesh_block_2016',
'managed': True,
},
),
migrations.CreateModel(
name='AddressMeshBlock2011',
fields=[
('address_mesh_block_2011_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('address_detail_pid', models.ForeignKey(db_column='address_detail_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.AddressDetail')),
('mb_2011_pid', models.ForeignKey(db_column='mb_2011_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.Mb2011')),
('mb_match_code', models.ForeignKey(db_column='mb_match_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.MbMatchCodeAut')),
],
options={
'db_table': 'address_mesh_block_2011',
'managed': True,
},
),
migrations.AddField(
model_name='addressdetail',
name='address_site_pid',
field=models.ForeignKey(db_column='address_site_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.AddressSite'),
),
migrations.AddField(
model_name='addressdetail',
name='flat_type_code',
field=models.ForeignKey(blank=True, db_column='flat_type_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.FlatTypeAut'),
),
migrations.AddField(
model_name='addressdetail',
name='level_geocoded_code',
field=models.ForeignKey(db_column='level_geocoded_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.GeocodedLevelTypeAut'),
),
migrations.AddField(
model_name='addressdetail',
name='level_type_code',
field=models.ForeignKey(blank=True, db_column='level_type_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.LevelTypeAut'),
),
migrations.AddField(
model_name='addressdetail',
name='locality_pid',
field=models.ForeignKey(db_column='locality_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.Locality'),
),
migrations.AddField(
model_name='addressdetail',
name='street_locality_pid',
field=models.ForeignKey(blank=True, db_column='street_locality_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.StreetLocality'),
),
migrations.CreateModel(
name='AddressDefaultGeocode',
fields=[
('address_default_geocode_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('address_detail_pid', models.ForeignKey(db_column='address_detail_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.AddressDetail')),
('geocode_type_code', models.ForeignKey(db_column='geocode_type_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.GeocodeTypeAut')),
('longitude', models.DecimalField(blank=True, decimal_places=8, max_digits=11, null=True)),
('latitude', models.DecimalField(blank=True, decimal_places=8, max_digits=10, null=True)),
],
options={
'db_table': 'address_default_geocode',
'managed': True,
},
),
migrations.CreateModel(
name='AddressAlias',
fields=[
('address_alias_pid', models.CharField(max_length=15, primary_key=True, serialize=False)),
('date_created', models.DateField()),
('date_retired', models.DateField(blank=True, null=True)),
('alias_comment', models.CharField(blank=True, max_length=200, null=True)),
('alias_pid', models.ForeignKey(db_column='alias_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='address_alias_pid', to='places.AddressDetail')),
('alias_type_code', models.ForeignKey(db_column='alias_type_code', null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='places.AddressAliasTypeAut')),
('principal_pid', models.ForeignKey(db_column='principal_pid', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='address_alias_principal_pid', to='places.AddressDetail')),
],
options={
'db_table': 'address_alias',
'managed': True,
},
),
]
| 56.955954 | 237 | 0.592255 | 3,633 | 34,914 | 5.460226 | 0.045968 | 0.068962 | 0.072592 | 0.08711 | 0.902354 | 0.872713 | 0.800575 | 0.756163 | 0.730655 | 0.705752 | 0 | 0.015904 | 0.270608 | 34,914 | 612 | 238 | 57.04902 | 0.763057 | 0.001289 | 0 | 0.641322 | 1 | 0 | 0.191069 | 0.038633 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003306 | 0 | 0.009917 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
33b39391be9822a37febf7a2b6aadd4667443b4a | 110 | py | Python | ascii_tree/__init__.py | rohankumardubey/asciitree | c8a902e4e83923a8ca7908bb2db5372fb6289802 | [
"MIT"
] | 153 | 2019-09-22T18:33:43.000Z | 2020-05-29T02:50:04.000Z | ascii_tree/__init__.py | rohankumardubey/asciitree | c8a902e4e83923a8ca7908bb2db5372fb6289802 | [
"MIT"
] | 3 | 2019-09-22T20:05:27.000Z | 2021-04-25T21:09:59.000Z | ascii_tree/__init__.py | rohankumardubey/asciitree | c8a902e4e83923a8ca7908bb2db5372fb6289802 | [
"MIT"
] | 6 | 2019-09-23T06:48:56.000Z | 2019-11-13T15:56:19.000Z | from .ascii_tree import print_tree
from .external import transformed_tree, make_and_print_tree, update_param
| 27.5 | 73 | 0.863636 | 17 | 110 | 5.176471 | 0.647059 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 110 | 3 | 74 | 36.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
33d441de2a93171364fc5baa99455f2682cfcb1c | 2,546 | py | Python | UserAuth/myapp/forms.py | incomparable1992/django-user-authenications | 7e6063c86219e757cf8d4215b338f289df024ad1 | [
"Apache-2.0"
] | null | null | null | UserAuth/myapp/forms.py | incomparable1992/django-user-authenications | 7e6063c86219e757cf8d4215b338f289df024ad1 | [
"Apache-2.0"
] | 2 | 2020-06-06T01:03:33.000Z | 2021-06-10T22:25:18.000Z | UserAuth/myapp/forms.py | incomparable1992/django-user-authenications | 7e6063c86219e757cf8d4215b338f289df024ad1 | [
"Apache-2.0"
] | null | null | null | from django import forms
from .models import School, Tutor, Coaching
class SchoolForm(forms.ModelForm):
class Meta:
model = School
fields = ('name', 'location', 'email', 'phone', 'photo', 'video')
widgets = {
'name': forms.TextInput(attrs={'class': 'form-control', 'required': True, 'autofocus': ''}),
'location': forms.TextInput(attrs={'class': 'form-control', 'required': True, 'autofocus': ''}),
'email': forms.EmailInput(attrs={'class': 'form-control', 'required': True, 'autofocus': ''}),
'phone': forms.NumberInput(attrs={'class': 'form-control', 'required': True}),
'photo': forms.FileInput(attrs={'class': 'form-control', 'required': True, 'multiple': True, 'accept': 'image/*'}),
'video': forms.FileInput(attrs={'class': 'form-control', 'required': True, 'multiple': True, 'accept': 'video/*'}),
}
class TutorForm(forms.ModelForm):
class Meta:
model = Tutor
fields = ('name', 'location', 'email', 'phone', 'photo', 'video')
widgets = {
'name': forms.TextInput(attrs={'class': 'form-control', 'required': True, 'autofocus': ''}),
'location': forms.TextInput(attrs={'class': 'form-control', 'required': True, 'autofocus': ''}),
'email': forms.EmailInput(attrs={'class': 'form-control', 'required': True, 'autofocus': ''}),
'phone': forms.NumberInput(attrs={'class': 'form-control', 'required': True}),
'photo': forms.FileInput(attrs={'class': 'form-control', 'multiple': True, 'accept': 'image/*'}),
'video': forms.FileInput(attrs={'class': 'form-control', 'multiple': True, 'accept': 'video/*'}),
}
class CoachingForm(forms.ModelForm):
class Meta:
model = Coaching
fields = ('name', 'location', 'email', 'phone', 'photo', 'video')
widgets = {
'name': forms.TextInput(attrs={'class': 'form-control', 'required': True, 'autofocus': ''}),
'location': forms.TextInput(attrs={'class': 'form-control', 'required': True, 'autofocus': ''}),
'email': forms.EmailInput(attrs={'class': 'form-control', 'required': True, 'autofocus': ''}),
'phone': forms.NumberInput(attrs={'class': 'form-control', 'required': True}),
'photo': forms.FileInput(attrs={'class': 'form-control', 'multiple': True, 'accept': 'image/*'}),
'video': forms.FileInput(attrs={'class': 'form-control', 'multiple': True, 'accept': 'video/*'}),
}
| 53.041667 | 127 | 0.574234 | 245 | 2,546 | 5.967347 | 0.146939 | 0.123119 | 0.172367 | 0.25855 | 0.924077 | 0.856361 | 0.856361 | 0.856361 | 0.856361 | 0.856361 | 0 | 0 | 0.205813 | 2,546 | 47 | 128 | 54.170213 | 0.723046 | 0 | 0 | 0.657895 | 0 | 0 | 0.320896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
33d75b23b0707b31fb099935201b63f40656f798 | 4,727 | py | Python | tests/functional/test_log_in.py | jcPOLO/polonet | b747da49ffdeedc77c4008ac1e0b4cf5164909d5 | [
"Apache-2.0"
] | null | null | null | tests/functional/test_log_in.py | jcPOLO/polonet | b747da49ffdeedc77c4008ac1e0b4cf5164909d5 | [
"Apache-2.0"
] | 1 | 2022-03-23T09:47:20.000Z | 2022-03-23T09:47:20.000Z | tests/functional/test_log_in.py | jcPOLO/polonet | b747da49ffdeedc77c4008ac1e0b4cf5164909d5 | [
"Apache-2.0"
] | null | null | null | from app.auth.models import User
from flask_login import current_user
from bs4 import BeautifulSoup
def test_get_login_page(client):
"""
GIVEN get /login
WHEN not logged in
THEN shows login page and navbar Sign Up and Login buttons
"""
response = client.get("/login")
assert b">Login</h3>" in response.data
assert response.status_code == 200
assert b">Login</a>" in response.data
assert b">Sign Up</a>" in response.data
def test_login_user_success(client):
"""
GIVEN valid user
WHEN logs in
THEN flash sucess msg appears and he gets a redirect his home
"""
response = client.get("/login")
soup = BeautifulSoup(response.data, "html.parser")
csrf_token = soup.body.find("input", attrs={"name": "csrf_token"})
res = client.post(
"/login",
data=dict(
email="test@test.com", password="T3st3r1n0", csrf_token=csrf_token["value"]
),
follow_redirects=True,
)
assert b"Logged in successfully!" in res.data
user = User.query.filter(User.email == "test@test.com").first()
assert current_user.id == user.id
assert current_user.is_active == True
assert b"DASHBOARD</h1>" in res.data
assert res.status_code == 200
def test_login_user_success_no_csrf(client_no_csrf):
"""
GIVEN valid user
WHEN logs in
THEN flash sucess msg appears and he gets a redirect his home
"""
res = client_no_csrf.post(
"/login",
data=dict(email="test@test.com", password="T3st3r1n0"),
follow_redirects=True,
)
assert b"Logged in successfully!" in res.data
user = User.query.filter(User.email == "test@test.com").first()
assert current_user.id == user.id
assert current_user.is_active == True
assert b"DASHBOARD</h1>" in res.data
assert res.status_code == 200
def test_login_user_bad__password_no_csrf(client_no_csrf):
"""
GIVEN valid user
WHEN logs in
THEN flash sucess msg appears and he gets a redirect his home
"""
res = client_no_csrf.post(
"/login",
data=dict(email="test@test.com", password="B4dPass"),
follow_redirects=True,
)
assert b"Incorrect user password combination." in res.data
assert current_user.is_active == False
assert b"Login</h3>" in res.data
assert res.status_code == 200
def test_login_user_no_exist(client):
"""
GIVEN not existing user
WHEN try to log in
THEN flash fail msg appears and page is reloaded
"""
response = client.get("/login")
soup = BeautifulSoup(response.data, "html.parser")
csrf_token = soup.body.find("input", attrs={"name": "csrf_token"})
res = client.post(
"/login",
data=dict(
email="noexist@noexist.com",
password="N03x1sT",
csrf_token=csrf_token["value"],
),
follow_redirects=True,
)
assert b"Incorrect user password combination." in res.data
assert current_user.is_active == False
assert b"Login</h3>" in res.data
assert res.status_code == 200
def test_login_bad_credentials(client):
"""
GIVEN random chars
WHEN try to log in
THEN flash fail msg appears and page is reloaded
"""
response = client.get("/login")
soup = BeautifulSoup(response.data, "html.parser")
csrf_token = soup.body.find("input", attrs={"name": "csrf_token"})
res = client.post(
"/login",
data=dict(
email="1'or'1'='1@hack.com",
password="1' or '1' = '1",
csrf_token=csrf_token["value"],
),
follow_redirects=True,
)
assert b"Incorrect user password combination." in res.data
assert current_user.is_active == False
assert b"Login</h3>" in res.data
assert res.status_code == 200
def test_logout_user_success(client):
"""
GIVEN valid user
WHEN logout
THEN redirect to login page and change buttons Home/Logout by Login/Sign Up
"""
response = client.get("/login")
soup = BeautifulSoup(response.data, "html.parser")
csrf_token = soup.body.find("input", attrs={"name": "csrf_token"})
res = client.post(
"/login",
data=dict(
email="test@test.com", password="T3st3r1n0", csrf_token=csrf_token["value"]
),
follow_redirects=True,
)
assert current_user.is_active == True
response = client.get("/logout")
assert response.status_code == 302
response = client.get("/logout", follow_redirects=True)
assert b">Login</a>" in response.data
assert b">Sign Up</a>" in response.data
assert current_user.is_active == False
assert b"Login</h3>" in response.data
assert response.status_code == 200
| 31.098684 | 87 | 0.644595 | 645 | 4,727 | 4.592248 | 0.16124 | 0.037812 | 0.030385 | 0.040513 | 0.83187 | 0.819041 | 0.811276 | 0.79372 | 0.79372 | 0.79372 | 0 | 0.014958 | 0.236302 | 4,727 | 151 | 88 | 31.304636 | 0.80554 | 0.138354 | 0 | 0.735294 | 0 | 0 | 0.1708 | 0 | 0 | 0 | 0 | 0 | 0.323529 | 1 | 0.068627 | false | 0.098039 | 0.029412 | 0 | 0.098039 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
1d31bdbec2e46c0c8c49cece083be5a55ebce7d0 | 59,700 | py | Python | IPA_diagnostic.py | jeremykarp/ipa-optimizer | 7e06eefa49f75573bb0246e1726b7f685d7b4f1c | [
"MIT"
] | null | null | null | IPA_diagnostic.py | jeremykarp/ipa-optimizer | 7e06eefa49f75573bb0246e1726b7f685d7b4f1c | [
"MIT"
] | null | null | null | IPA_diagnostic.py | jeremykarp/ipa-optimizer | 7e06eefa49f75573bb0246e1726b7f685d7b4f1c | [
"MIT"
] | null | null | null | __author__ = 'jeremykarp'
import pandas as pd
import numpy as np
import math
import random
import scipy.stats
import networkx as nx
import itertools
from collections import defaultdict
import copy
from pulp import *
from gurobipy import *
import time
from collections import deque
setParam("OutputFlag",0)
def formulate_clicks_bricks_lp(lp, demand_physical, accepted_online, inventory, ship_matrix, p, c):
n=demand_physical.size
demand_physical=np.around(demand_physical,decimals=3).flatten()
accepted_online=np.around(accepted_online,decimals=3).flatten()
i_dict = {i:'I_'+str(i) for i in range(n)} #Inventory nodes
o_dict = {i:'O_'+str(i) for i in range(n)} #Online demand nodes
p_dict = {i:'P_'+str(i) for i in range(n)} #Physical demand nodes
i_o_vars = {}
i_p_vars = {}
c_o_vars = {}
for i in range(n):
c_o_vars[i]=lp.addVar(vtype=GRB.CONTINUOUS, name='CO_'+str(i), lb=0)
i_p_vars[i]=lp.addVar(vtype=GRB.CONTINUOUS, name='IP_'+str(i),
lb=0)
i_o_vars[i]={}
for j in range(n):
i_o_vars[i][j]=lp.addVar(vtype=GRB.CONTINUOUS, name='I'+str(i)+'_O'+str(j))
lp.update()
#First line is prices for physical demand
#second line is prices - shipping cost
#third line is cancel costs
lp.setObjective(LinExpr([p[i] for i in range(n)]+\
[p[i]-ship_matrix[i][j] for i,j in itertools.product(range(n), repeat=2)]+\
[c[i] for i in range(n)],
[i_p_vars[i] for i in range(n)]+\
[i_o_vars[i][j] for i,j in itertools.product(range(n), repeat=2)]+\
[c_o_vars[i] for i in range(n)]),GRB.MAXIMIZE)
for i in range(n):
temp_coefficients = [1]
temp_vars = [i_p_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == min(demand_physical[i],inventory[i]),'Physical '+str(i))
for i in range(n):
temp_coefficients = [1 for j in range(n+1)]
#temp_vars = [i_p_vars[i]]+[i_o_vars[j][i] for j in range(n)]
temp_vars = [i_p_vars[i]]+[i_o_vars[i][j] for j in range(n)]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) <= inventory[i],'ConstraintsI '+str(i))
for i in range(n):
temp_coefficients = [1 for j in range(n+1)]
temp_vars = [c_o_vars[i]]+[i_o_vars[j][i] for j in range(n)]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == accepted_online[i],'ConstraintsO '+str(i))
lp.update()
return lp, i_o_vars, i_p_vars, c_o_vars
def update_clicks_bricks(lp, demand_physical, accepted_online, inventory, i_o_vars, i_p_vars, c_o_vars):
n=accepted_online.size
demand_physical=np.around(demand_physical,decimals=3).flatten()
demand_online=np.around(accepted_online,decimals=3).flatten()
for i in range(n):
lp.remove(lp.getConstrByName('Physical '+str(i)))
temp_coefficients = [1]
temp_vars = [i_p_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == min(demand_physical[i],inventory[i]),'Physical '+str(i))
for i in range(n):
lp.remove(lp.getConstrByName('ConstraintsI '+str(i)))
lp.remove(lp.getConstrByName('ConstraintsO '+str(i)))
temp_coefficients = [1 for j in range(n+1)]
#temp_vars = [i_p_vars[i]]+[i_o_vars[j][i] for j in range(n)]
temp_vars = [i_p_vars[i]]+[i_o_vars[i][j] for j in range(n)]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) <= inventory[i],'ConstraintsI '+str(i))
for i in range(n):
temp_coefficients = [1 for j in range(n+1)]
temp_vars = [c_o_vars[i]]+[i_o_vars[j][i] for j in range(n)]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == accepted_online[i],'ConstraintsO '+str(i))
lp.update()
return lp, i_o_vars, i_p_vars, c_o_vars
def solve_lp(lp):
lp.optimize()
return lp
def generate_demand(demand_physical_means,demand_physical_cov,demand_online_means,demand_online_cov):
raw_demand_physical = np.around(np.random.multivariate_normal(demand_physical_means,demand_physical_cov,1),decimals=3)
demand_physical = np.around(np.maximum(raw_demand_physical,np.zeros_like(raw_demand_physical)),decimals=0)
raw_demand_online = np.around(np.random.multivariate_normal(demand_online_means,demand_online_cov,1),decimals=3)
demand_online = np.around(np.maximum(raw_demand_online,np.zeros_like(raw_demand_online)),decimals=0).flatten()
return demand_physical,demand_online
def generate_demand_poisson(demand_physical_means,demand_online_means):
demand_physical = np.random.poisson(lam=demand_physical_means)
demand_online = np.random.poisson(lam=demand_online_means)
return demand_physical,demand_online
def generate_demand_physical_poisson(demand_physical_means):
demand_physical = np.random.poisson(lam=demand_physical_means)
return demand_physical
def determine_accepted_orders(demand_online,S,S_local):
num_locations = demand_online.shape[0]
online_orders = np.empty(0, dtype=int)
last_order_local = {}
for i in range(len(demand_online)):
temp_orders = np.zeros(int(demand_online[i]), dtype=int)
temp_orders.fill(int(i))
last_order_local[i]=len(temp_orders)
online_orders=np.append(online_orders,temp_orders)
np.random.shuffle(online_orders)
S_copy = S*1.0
S_local_copy = S_local.copy()
accepted_online_long = np.empty(0, dtype=int)
for i in range(len(online_orders)):
if S_local_copy[online_orders[i]]>=1 and S_copy>=1:
S_copy -= 1
S_local_copy[online_orders[i]]-=1
accepted_online_long = np.append(accepted_online_long,online_orders[i])
elif S_copy<1:
break
accepted_online = np.bincount(np.append(accepted_online_long,np.array(range(num_locations))))
accepted_online = accepted_online-1
if accepted_online.shape[0] == 0:
accepted_online=np.zeros_like(demand_online)
rejected_online = demand_online-accepted_online
return accepted_online,rejected_online, S_copy, S_local_copy
def compute_prob_next(rejected_online):
if rejected_online.sum()>0:
prob_next_in_line = rejected_online/rejected_online.sum()
else:
prob_next_in_line = np.zeros_like(rejected_online)
return prob_next_in_line
def compute_prob_last(accepted_online):
if accepted_online.sum()>0:
prob_last_accepted = accepted_online.astype(float)/accepted_online.sum()
else:
prob_last_accepted = np.zeros_like(accepted_online)
return prob_last_accepted
def update_derivative_estimates(lp2,deriv_estimate_LP,deriv_estimate_LP_local,rejected_online,num_locations,
S_local_remaining,prob_next_in_line,prob_last_accepted,global_update,local_update, print_diagnostic=False,
demand_distribution=None):
demand_distribution = prob_last_accepted if demand_distribution is None else demand_distribution
for i in range(num_locations):
if rejected_online.sum()>0:
deriv_estimate_LP+=lp2.getConstrByName('ConstraintsO '+str(i)).getAttr('Pi')*demand_distribution[i]*global_update
else:
deriv_estimate_LP+=lp2.getConstrByName('ConstraintsO '+str(i)).getAttr('Pi')*demand_distribution[i]*.01*global_update
if S_local_remaining[i]<1:
#deriv_estimate_LP_local[i]+=lp2.getConstrByName('ConstraintsO '+str(i)).getAttr('Pi')*prob_next_in_line[i]*local_update
deriv_estimate_LP_local[i]+=lp2.getConstrByName('ConstraintsO '+str(i)).getAttr('Pi')*local_update
if print_diagnostic:
print "type1",lp2.getConstrByName('ConstraintsO '+str(i)).getAttr('Pi')
else:
#deriv_estimate_LP_local[i]+=lp2.getConstrByName('ConstraintsO '+str(i)).getAttr('Pi')*prob_last_accepted[i]*.01*local_update
deriv_estimate_LP_local[i]+=lp2.getConstrByName('ConstraintsO '+str(i)).getAttr('Pi')*.01*local_update
if print_diagnostic:
print "type2",lp2.getConstrByName('ConstraintsO '+str(i)).getAttr('Pi')
return deriv_estimate_LP,deriv_estimate_LP_local
def optimizer(num_locations, K, U, demand_physical_means, demand_physical_cov, demand_online_means, demand_online_cov,
inventory, S, S_local, ship_matrix, p, c, n_for_objVal_calcs,
step_size_multiplier,step_size_multiplier_local, global_update, local_update, print_thresholds
):
online_demand_distribution = demand_online_means/demand_online_means.sum()
demand_physical,demand_online=generate_demand(demand_physical_means=demand_physical_means,
demand_physical_cov=demand_physical_cov,
demand_online_means=demand_online_means,
demand_online_cov=demand_online_cov)
accepted_online,rejected_online,_,_=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
prob_next_in_line=compute_prob_next(rejected_online)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars =\
formulate_clicks_bricks_lp(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c)
objective_vals_queue=deque([],n_for_objVal_calcs)
for k in range(K):
#print "Iter",k
deriv_estimate_LP_local=defaultdict(lambda: 0)
deriv_estimate_LP=0
exception_counter=0
for u in range(U):
try:
demand_physical,demand_online=generate_demand(demand_physical_means=demand_physical_means,
demand_physical_cov=demand_physical_cov,
demand_online_means=demand_online_means,
demand_online_cov=demand_online_cov)
accepted_online,rejected_online,S_remaining,S_local_remaining=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
prob_next_in_line=compute_prob_next(rejected_online)
prob_last_accepted=compute_prob_last(accepted_online)
lp2, i_o_vars, i_p_vars, c_o_vars = update_clicks_bricks(lp2, demand_physical, accepted_online, inventory,
i_o_vars, i_p_vars, c_o_vars)
lp2 = solve_lp(lp2)
objective_vals_queue.append(lp2.objVal)
deriv_estimate_LP, deriv_estimate_LP_local=update_derivative_estimates(lp2,deriv_estimate_LP,
deriv_estimate_LP_local,rejected_online,
num_locations,
S_local_remaining,
prob_next_in_line,
prob_last_accepted,
global_update,local_update,
demand_distribution=online_demand_distribution)
except KeyError:
exception_counter+=1
continue
for i in range(num_locations):
S_local[i]+=(step_size_multiplier_local/(k+1))*deriv_estimate_LP_local[i]/max(U-exception_counter,1)
S+=(step_size_multiplier/(k+1))*deriv_estimate_LP/max(U-exception_counter,1)
S_local = np.maximum(S_local,np.zeros_like(S_local))
S_local=np.around(S_local,decimals=5)
S=np.around(S,decimals=5)
S = max(S,0)
if print_thresholds:
print S, S_local
return sum(objective_vals_queue)/len(objective_vals_queue)
def generate_hyperparameters(mean, var,n):
return np.random.normal(mean,var,n)
def generate_demand_params(n,phys_mean_mean,phys_mean_var,phys_cov_mean,phys_cov_var,
online_mean_mean,online_mean_var,online_cov_mean,online_cov_var):
demand_physical_means = generate_hyperparameters(phys_mean_mean,phys_mean_var,n)
demand_physical_cov = np.diag(generate_hyperparameters(phys_cov_mean,phys_cov_var,n))
demand_online_means = generate_hyperparameters(online_mean_mean,online_mean_var,n)
demand_online_cov = np.diag(generate_hyperparameters(online_cov_mean,online_cov_var,n))
return demand_physical_means,demand_physical_cov,demand_online_means,demand_online_cov
def step(action,remaining_orders, demand_physical, accepted_online, inventory, ship_matrix, p, c):
done = 1 if len(remaining_orders)==1 else 0
if action==1:
accepted_online.append(remaining_orders[0])
remaining_orders=remaining_orders[1:]
reward=0
if done==1:
reward=get_reward(demand_physical, accepted_online, inventory, ship_matrix, p, c)
observation=len(accepted_online)
return observation, reward, done, {}, remaining_orders, accepted_online
def step_v2(action,remaining_orders, demand_physical, accepted_online, inventory, ship_matrix, p, c):
done = 1 if len(remaining_orders)==1 else 0
if action==1:
accepted_online.append(remaining_orders[0])
remaining_orders=remaining_orders[1:]
reward=0.0
#if done==1:
# reward=get_reward(demand_physical, accepted_online, inventory, ship_matrix, p, c)
observation=len(accepted_online)
return observation, reward, done, {}, remaining_orders, accepted_online
def step_v3(action,remaining_orders, demand_physical, accepted_online, inventory, ship_matrix, p, c):
done = 1 if len(remaining_orders)==1 else 0
if action==1:
accepted_online.append(remaining_orders[0])
remaining_orders=remaining_orders[1:]
reward=0.0
#if done==1:
# reward=get_reward(demand_physical, accepted_online, inventory, ship_matrix, p, c)
observation=[1,len(accepted_online)]
return observation, reward, done, {}, remaining_orders, accepted_online
def step_v4(action,remaining_orders, demand_physical, accepted_online, inventory, ship_matrix, p, c, cutoff):
done = 1 if len(remaining_orders)==1 else 0
reward=0.0
if action==1:
accepted_online.append(remaining_orders[0])
if len(accepted_online)<cutoff:
reward=1.0
else:
reward=-1.0
remaining_orders=remaining_orders[1:]
#if done==1:
# reward=get_reward(demand_physical, accepted_online, inventory, ship_matrix, p, c)
observation=[1,len(accepted_online)/1000.0]
return observation, reward, done, {}, remaining_orders, accepted_online
def get_reward(demand_physical, accepted_online, inventory, ship_matrix, p, c):
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars =\
formulate_clicks_bricks_lp(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c)
lp2 = solve_lp(lp2)
return lp2.objVal
def order_sequence(demand_online):
online_orders = np.empty(0, dtype=int)
for i in range(len(demand_online)):
temp_orders = np.zeros(int(demand_online[i]), dtype=int)
temp_orders.fill(int(i))
online_orders=np.append(online_orders,temp_orders)
np.random.shuffle(online_orders)
return online_orders
def compute_reward(demand_physical,accepted_online,order_sequence,ys,inventory, ship_matrix, p, c):
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars =\
formulate_clicks_bricks_lp(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c)
lp2 = solve_lp(lp2)
cancels_dict=find_cancels(c_o_vars)
shipments_dict=find_shipments(lp2,demand_physical.shape[1])
actions_orders = zip(order_sequence,ys)
#print actions_orders
cancel_rewards = compute_cancel_rewards(actions_orders,cancels_dict,c)
shipment_rewards = compute_shipment_rewards(actions_orders,shipments_dict,ship_matrix, cancel_rewards)
fill_rewards = compute_fill_rewards(actions_orders,p)
#print len(cancel_rewards),len(shipment_rewards),len(fill_rewards), len(actions_orders)
for i in range(len(fill_rewards)):
if cancel_rewards[i]!=0:
fill_rewards[i]=0
total_rewards=[sum(x) for x in zip(cancel_rewards, shipment_rewards,fill_rewards)][::-1]
#print "cancel rewards"
#print cancel_rewards
#print "ship rewards"
#print shipment_rewards
#print "fill rewards"
#print fill_rewards
#print "total rewards"
#print total_rewards
return total_rewards
def find_cancels(c_o_vars):
cancels_dict = {}
#print "cancels:"
for key,var in c_o_vars.iteritems():
cancels_dict[key]=var.getAttr('X')
#print key,var.getAttr('X')
return cancels_dict
def find_shipments(lp,n):
shipments_dict = {}
#print "ship costs:"
for i in range(n):
shipments_dict[i]={}
for j in range(n):
shipments_dict[i][j]=lp.getVarByName('I'+str(i)+'_O'+str(j)).getAttr('x')
#print i,j, lp.getVarByName('I'+str(i)+'_O'+str(j)).getAttr('x')
#for key1,var1 in i_o_vars.iteritems():
# for key2,var2 in var1.iteritems():
# i_o_vars[key2]=var2.getAttr('X')
# print key2,var2.getAttr('X')
return shipments_dict
def compute_cancel_rewards(actions_orders,cancels_dict,c):
cancel_rewards = []
for order in reversed(actions_orders):
if order[1]==1:
cancel_rewards.append(0)
elif cancels_dict[order[0]]>0:
cancels_dict[order[0]]-=1
cancel_rewards.append(c[order[0]])
else:
cancel_rewards.append(0)
return cancel_rewards
def compute_shipment_rewards(actions_orders,shipments_dict,ship_matrix,cancel_rewards):
ship_rewards = []
shipments_processed = process_shipment_data(shipments_dict,ship_matrix)
for index, order in enumerate(reversed(actions_orders)):
if order[1]==1:
ship_rewards.append(0)
elif cancel_rewards[index]!=0:
ship_rewards.append(0)
elif len(shipments_processed[order[0]])>0:
ship_rewards.append(shipments_processed[order[0]][0])
shipments_processed[order[0]]=shipments_processed[order[0]][1:]
else:
ship_rewards.append(0)
return ship_rewards
def process_shipment_data(shipments_dict,ship_matrix):
shipments_processed = {}
for key1, val1 in shipments_dict.iteritems():
costs = []
for key2, val2 in val1.iteritems():
costs+=[-1.0*ship_matrix[key1][key2]]*int(shipments_dict[key1][key2])
costs.sort()
shipments_processed[key1]=costs
return shipments_processed
def compute_fill_rewards(actions_orders,p):
fill_rewards = []
for order in reversed(actions_orders):
if order[1]==1:
fill_rewards.append(0)
else:
fill_rewards.append(p[order[0]])
return fill_rewards
def test_reward_old(observations,cutoff):
rewards = []
for obs in observations:
if obs[0][1]<=cutoff:
rewards.append(1.0)
else:
rewards.append(-1.0)
return rewards
def test_reward(xs,ys,cutoff):
xys = zip(xs,ys)
rewards = []
for obs,act in xys:
if act==1:
rewards.append(0.0)
else:
if obs[0][1]<=cutoff:
rewards.append(1.0)
else:
rewards.append(-1.0)
return rewards
def optimizer_poisson(num_locations, K, U, demand_physical_means, demand_online_means,
inventory, S, S_local, ship_matrix, p, c, n_for_objVal_calcs,
step_size_multiplier,step_size_multiplier_local, global_update, local_update, print_thresholds,
print_iter_thresholds=None
):
online_demand_distribution = demand_online_means/demand_online_means.sum()
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
accepted_online,rejected_online,_,_=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
prob_next_in_line=compute_prob_next(rejected_online)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars =\
formulate_clicks_bricks_lp(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c)
objective_vals_queue=deque([],n_for_objVal_calcs)
for k in range(K):
#print "Iter",k
deriv_estimate_LP_local=defaultdict(lambda: 0)
deriv_estimate_LP=0
exception_counter=0
for u in range(U):
try:
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
#print "Demand", demand_physical, demand_online
#print "S_local", S_local
accepted_online,rejected_online,S_remaining,S_local_remaining=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
#print "accepted", accepted_online
prob_next_in_line=compute_prob_next(rejected_online)
prob_last_accepted=compute_prob_last(accepted_online)
lp2, i_o_vars, i_p_vars, c_o_vars = update_clicks_bricks(lp2, demand_physical, accepted_online, inventory,
i_o_vars, i_p_vars, c_o_vars)
lp2 = solve_lp(lp2)
objective_vals_queue.append(lp2.objVal)
deriv_estimate_LP, deriv_estimate_LP_local=update_derivative_estimates(lp2,deriv_estimate_LP,
deriv_estimate_LP_local,rejected_online,
num_locations,
S_local_remaining,
prob_next_in_line,
prob_last_accepted,
global_update,local_update,
demand_distribution=online_demand_distribution)
except KeyError:
exception_counter+=1
continue
if print_iter_thresholds is not None:
if u%print_iter_thresholds==0:
print S, S_local
if local_update>0:
print "Local Gradient:",sum(deriv_estimate_LP_local.values())
if global_update>0:
print "Global Gradient:",deriv_estimate_LP
print sum(objective_vals_queue)/len(objective_vals_queue)
for i in range(num_locations):
S_local[i]+=(step_size_multiplier_local/(k+1))*deriv_estimate_LP_local[i]/max(U-exception_counter,1)
S+=(step_size_multiplier/(k+1))*deriv_estimate_LP/max(U-exception_counter,1)
S_local = np.maximum(S_local,np.zeros_like(S_local))
S_local = np.minimum(S_local,inventory)
S_local=np.around(S_local,decimals=5)
S=np.around(S,decimals=5)
S = max(S,0)
S = min(inventory.sum(),S)
if print_thresholds:
print S, S_local
return sum(objective_vals_queue)/len(objective_vals_queue)
def formulate_clicks_bricks_lp_salvage(lp, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate):
n=demand_physical.size
demand_physical=np.around(demand_physical,decimals=3).flatten()
accepted_online=np.around(accepted_online,decimals=3).flatten()
i_dict = {i:'I_'+str(i) for i in range(n)} #Inventory nodes
s_dict = {i:'S_'+str(i) for i in range(n)} #Salvaged inventory nodes
o_dict = {i:'O_'+str(i) for i in range(n)} #Online demand nodes
p_dict = {i:'P_'+str(i) for i in range(n)} #Physical demand nodes
i_o_vars = {}
i_p_vars = {}
c_o_vars = {}
s_vars = {}
for i in range(n):
c_o_vars[i]=lp.addVar(vtype=GRB.CONTINUOUS, name='CO_'+str(i), lb=0)
i_p_vars[i]=lp.addVar(vtype=GRB.CONTINUOUS, name='IP_'+str(i),
lb=0)
s_vars[i]=lp.addVar(vtype=GRB.CONTINUOUS, name='Salvage_'+str(i),
lb=0)
i_o_vars[i]={}
for j in range(n):
i_o_vars[i][j]=lp.addVar(vtype=GRB.CONTINUOUS, name='I'+str(i)+'_O'+str(j))
lp.update()
#First line is prices for physical demand
#second line is prices - shipping cost
#third line is cancel costs
lp.setObjective(LinExpr([p[i] for i in range(n)]+\
[p[i]-ship_matrix[i][j] for i,j in itertools.product(range(n), repeat=2)]+\
[c[i] for i in range(n)]+\
[p[i]*salvage_rate for i in range(n)],
[i_p_vars[i] for i in range(n)]+\
[i_o_vars[i][j] for i,j in itertools.product(range(n), repeat=2)]+\
[c_o_vars[i] for i in range(n)]+\
[s_vars[i] for i in range(n)]),GRB.MAXIMIZE)
for i in range(n):
temp_coefficients = [1]
temp_vars = [i_p_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == min(demand_physical[i],inventory[i]),'Physical '+str(i))
for i in range(n):
temp_coefficients = [1 for j in range(n+2)]
#temp_vars = [i_p_vars[i]]+[i_o_vars[j][i] for j in range(n)]
#Updated to reflect salvage value
temp_vars = [i_p_vars[i]]+[i_o_vars[i][j] for j in range(n)]+[s_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == inventory[i],'ConstraintsI '+str(i))
for i in range(n):
temp_coefficients = [1 for j in range(n+1)]
temp_vars = [c_o_vars[i]]+[i_o_vars[j][i] for j in range(n)]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == accepted_online[i],'ConstraintsO '+str(i))
lp.update()
return lp, i_o_vars, i_p_vars, c_o_vars, s_vars
def update_clicks_bricks_salvage(lp, demand_physical, accepted_online, inventory, i_o_vars, i_p_vars, c_o_vars,s_vars):
n=accepted_online.size
demand_physical=np.around(demand_physical,decimals=3).flatten()
demand_online=np.around(accepted_online,decimals=3).flatten()
for i in range(n):
lp.remove(lp.getConstrByName('Physical '+str(i)))
temp_coefficients = [1]
temp_vars = [i_p_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == min(demand_physical[i],inventory[i]),'Physical '+str(i))
for i in range(n):
lp.remove(lp.getConstrByName('ConstraintsI '+str(i)))
lp.remove(lp.getConstrByName('ConstraintsO '+str(i)))
temp_coefficients = [1 for j in range(n+2)]
#temp_vars = [i_p_vars[i]]+[i_o_vars[j][i] for j in range(n)]
#temp_vars = [i_p_vars[i]]+[i_o_vars[i][j] for j in range(n)]
temp_vars = [i_p_vars[i]]+[i_o_vars[i][j] for j in range(n)]+[s_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == inventory[i],'ConstraintsI '+str(i))
for i in range(n):
temp_coefficients = [1 for j in range(n+1)]
temp_vars = [c_o_vars[i]]+[i_o_vars[j][i] for j in range(n)]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == accepted_online[i],'ConstraintsO '+str(i))
lp.update()
return lp, i_o_vars, i_p_vars, c_o_vars, s_vars
def optimizer_poisson_salvage(num_locations, K, U, demand_physical_means, demand_online_means,
inventory, S, S_local, ship_matrix, p, c,salvage_rate, n_for_objVal_calcs,
step_size_multiplier,step_size_multiplier_local, global_update, local_update, print_thresholds,
print_iter_thresholds=None
):
online_demand_distribution = demand_online_means/demand_online_means.sum()
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
accepted_online,rejected_online,_,_=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
prob_next_in_line=compute_prob_next(rejected_online)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_lp_salvage(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate)
objective_vals_queue=deque([],n_for_objVal_calcs)
for k in range(K):
#print "Iter",k
deriv_estimate_LP_local=defaultdict(lambda: 0)
deriv_estimate_LP=0
exception_counter=0
for u in range(U):
try:
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
#print "Demand", demand_physical, demand_online
#print "S_local", S_local
accepted_online,rejected_online,S_remaining,S_local_remaining=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
#print "accepted", accepted_online
prob_next_in_line=compute_prob_next(rejected_online)
prob_last_accepted=compute_prob_last(accepted_online)
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars = update_clicks_bricks_salvage(lp2, demand_physical, accepted_online, inventory,
i_o_vars, i_p_vars, c_o_vars, s_vars)
lp2 = solve_lp(lp2)
objective_vals_queue.append(lp2.objVal)
deriv_estimate_LP, deriv_estimate_LP_local=update_derivative_estimates(lp2,deriv_estimate_LP,
deriv_estimate_LP_local,rejected_online,
num_locations,
S_local_remaining,
prob_next_in_line,
prob_last_accepted,
global_update,local_update,
demand_distribution=online_demand_distribution)
except KeyError:
exception_counter+=1
continue
if print_iter_thresholds is not None:
if u%print_iter_thresholds==0:
print S, S_local
if local_update>0:
print "Local Gradient:",sum(deriv_estimate_LP_local.values())
if global_update>0:
print "Global Gradient:",deriv_estimate_LP
print sum(objective_vals_queue)/len(objective_vals_queue)
for i in range(num_locations):
S_local[i]+=(step_size_multiplier_local/(k+1))*deriv_estimate_LP_local[i]/max(U-exception_counter,1)
S+=(step_size_multiplier/(k+1))*deriv_estimate_LP/max(U-exception_counter,1)
S_local = np.maximum(S_local,np.zeros_like(S_local))
S_local = np.minimum(S_local,inventory)
S_local=np.around(S_local,decimals=5)
S=np.around(S,decimals=5)
S = max(S,0)
S = min(inventory.sum(),S)
if print_thresholds:
print S, S_local
return sum(objective_vals_queue)/len(objective_vals_queue)
def optimizer_poisson_minimization_prob(num_locations, K, U, demand_physical_means, demand_online_means,
inventory, S, S_local, ship_matrix, p, c,salvage_rate, n_for_objVal_calcs,
step_size_multiplier,step_size_multiplier_local, global_update, local_update, print_thresholds,
print_iter_thresholds=None
):
online_demand_distribution = demand_online_means/demand_online_means.sum()
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
accepted_online,rejected_online,_,_=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
prob_next_in_line=compute_prob_next(rejected_online)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_lp_salvage(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate)
objective_vals_queue=deque([],n_for_objVal_calcs)
for k in range(K):
#print "Iter",k
deriv_estimate_LP_local=defaultdict(lambda: 0)
deriv_estimate_LP=0
exception_counter=0
for u in range(U):
try:
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
#print "Demand", demand_physical, demand_online
#print "S_local", S_local
accepted_online,rejected_online,S_remaining,S_local_remaining=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
#print "accepted", accepted_online
prob_next_in_line=compute_prob_next(rejected_online)
prob_last_accepted=compute_prob_last(accepted_online)
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars = update_clicks_bricks_salvage(lp2, demand_physical, accepted_online, inventory,
i_o_vars, i_p_vars, c_o_vars, s_vars)
lp2 = solve_lp(lp2)
objective_vals_queue.append(lp2.objVal)
deriv_estimate_LP, deriv_estimate_LP_local=update_derivative_estimates(lp2,deriv_estimate_LP,
deriv_estimate_LP_local,rejected_online,
num_locations,
S_local_remaining,
prob_next_in_line,
prob_last_accepted,
global_update,local_update,
demand_distribution=online_demand_distribution)
except KeyError:
exception_counter+=1
continue
if print_iter_thresholds is not None:
if u%print_iter_thresholds==0:
print S, S_local
if local_update>0:
print "Local Gradient:",sum(deriv_estimate_LP_local.values())
if global_update>0:
print "Global Gradient:",deriv_estimate_LP
print sum(objective_vals_queue)/len(objective_vals_queue)
for i in range(num_locations):
S_local[i]+=(step_size_multiplier_local/(k+1))*deriv_estimate_LP_local[i]/max(U-exception_counter,1)
S+=(step_size_multiplier/(k+1))*deriv_estimate_LP/max(U-exception_counter,1)
S_local = np.maximum(S_local,np.zeros_like(S_local))
S_local = np.minimum(S_local,inventory)
S_local=np.around(S_local,decimals=5)
S=np.around(S,decimals=5)
S = max(S,0)
S = min(inventory.sum(),S)
if print_thresholds:
print S, S_local
return sum(objective_vals_queue)/len(objective_vals_queue)
def formulate_clicks_bricks_no_ship(lp, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate):
n=demand_physical.size
demand_physical=np.around(demand_physical,decimals=3).flatten()
accepted_online=np.around(accepted_online,decimals=3).flatten()
i_dict = {i:'I_'+str(i) for i in range(n)} #Inventory nodes
s_dict = {i:'S_'+str(i) for i in range(n)} #Salvaged inventory nodes
o_dict = {i:'O_'+str(i) for i in range(n)} #Online demand nodes
p_dict = {i:'P_'+str(i) for i in range(n)} #Physical demand nodes
i_o_vars = {}
i_p_vars = {}
c_o_vars = {}
s_vars = {}
for i in range(n):
c_o_vars[i]=lp.addVar(vtype=GRB.CONTINUOUS, name='CO_'+str(i), lb=0)
i_p_vars[i]=lp.addVar(vtype=GRB.CONTINUOUS, name='IP_'+str(i),
lb=0)
s_vars[i]=lp.addVar(vtype=GRB.CONTINUOUS, name='Salvage_'+str(i),
lb=0)
i_o_vars[i]=lp.addVar(vtype=GRB.CONTINUOUS, name='IO_'+str(i), lb=0)
lp.update()
#First line is prices for physical demand
#second line is prices - shipping cost
#third line is cancel costs
lp.setObjective(LinExpr([p[i] for i in range(n)]+\
[p[i]-ship_matrix[i][i] for i in range(n)]+\
[c[i] for i in range(n)]+\
[p[i]*salvage_rate for i in range(n)],
[i_p_vars[i] for i in range(n)]+\
[i_o_vars[i] for i in range(n)]+\
[c_o_vars[i] for i in range(n)]+\
[s_vars[i] for i in range(n)]),GRB.MAXIMIZE)
for i in range(n):
temp_coefficients = [1]
temp_vars = [i_p_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == min(demand_physical[i],inventory[i]),'Physical '+str(i))
for i in range(n):
temp_coefficients = [1 for j in range(3)]
#temp_vars = [i_p_vars[i]]+[i_o_vars[j][i] for j in range(n)]
#Updated to reflect salvage value
#temp_vars = [i_p_vars[i]]+[i_o_vars[i][j] for j in range(n)]+[s_vars[i]]
temp_vars = [i_p_vars[i],i_o_vars[i],s_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == inventory[i],'ConstraintsI '+str(i))
for i in range(n):
temp_coefficients = [1 for j in range(2)]
temp_vars = [c_o_vars[i],i_o_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == accepted_online[i],'ConstraintsO '+str(i))
lp.update()
return lp, i_o_vars, i_p_vars, c_o_vars, s_vars
def update_clicks_bricks_no_ship(lp, demand_physical, accepted_online, inventory, i_o_vars, i_p_vars, c_o_vars,s_vars):
n=accepted_online.size
demand_physical=np.around(demand_physical,decimals=3).flatten()
demand_online=np.around(accepted_online,decimals=3).flatten()
for i in range(n):
lp.remove(lp.getConstrByName('Physical '+str(i)))
temp_coefficients = [1]
temp_vars = [i_p_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == min(demand_physical[i],inventory[i]),'Physical '+str(i))
for i in range(n):
lp.remove(lp.getConstrByName('ConstraintsI '+str(i)))
lp.remove(lp.getConstrByName('ConstraintsO '+str(i)))
temp_coefficients = [1 for j in range(3)]
#temp_vars = [i_p_vars[i]]+[i_o_vars[j][i] for j in range(n)]
#temp_vars = [i_p_vars[i]]+[i_o_vars[i][j] for j in range(n)]
#temp_vars = [i_p_vars[i]]+[i_o_vars[i][j] for j in range(n)]+[s_vars[i]]
temp_vars = [i_p_vars[i],i_o_vars[i],s_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == inventory[i],'ConstraintsI '+str(i))
for i in range(n):
temp_coefficients = [1 for j in range(2)]
#temp_vars = [c_o_vars[i]]+[i_o_vars[j][i] for j in range(n)]
temp_vars = [c_o_vars[i],i_o_vars[i]]
lp.addConstr(LinExpr(temp_coefficients,temp_vars) == accepted_online[i],'ConstraintsO '+str(i))
lp.update()
return lp, i_o_vars, i_p_vars, c_o_vars, s_vars
def optimizer_poisson_no_ship(num_locations, K, U, demand_physical_means, demand_online_means,
inventory, S, S_local, ship_matrix, p, c,salvage_rate, n_for_objVal_calcs,
step_size_multiplier,step_size_multiplier_local, global_update, local_update, print_thresholds,
print_iter_thresholds=None
):
online_demand_distribution = demand_online_means/demand_online_means.sum()
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
accepted_online,rejected_online,_,_=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
prob_next_in_line=compute_prob_next(rejected_online)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_no_ship(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate)
objective_vals_queue=deque([],n_for_objVal_calcs)
for k in range(K):
#print "Iter",k
deriv_estimate_LP_local=defaultdict(lambda: 0)
deriv_estimate_LP=0
exception_counter=0
for u in range(U):
try:
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
#print "Demand", demand_physical, demand_online
#print "S_local", S_local
accepted_online,rejected_online,S_remaining,S_local_remaining=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
#print "accepted", accepted_online
prob_next_in_line=compute_prob_next(rejected_online)
prob_last_accepted=compute_prob_last(accepted_online)
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars = update_clicks_bricks_no_ship(lp2, demand_physical, accepted_online, inventory,
i_o_vars, i_p_vars, c_o_vars, s_vars)
lp2 = solve_lp(lp2)
objective_vals_queue.append(lp2.objVal)
deriv_estimate_LP, deriv_estimate_LP_local=update_derivative_estimates(lp2,deriv_estimate_LP,
deriv_estimate_LP_local,rejected_online,
num_locations,
S_local_remaining,
prob_next_in_line,
prob_last_accepted,
global_update,local_update,
demand_distribution=online_demand_distribution)
except KeyError:
exception_counter+=1
continue
if print_iter_thresholds is not None:
if u%print_iter_thresholds==0:
print S, S_local
if local_update>0:
print "Local Gradient:",sum(deriv_estimate_LP_local.values())
if global_update>0:
print "Global Gradient:",deriv_estimate_LP
print sum(objective_vals_queue)/len(objective_vals_queue)
for i in range(num_locations):
S_local[i]+=(step_size_multiplier_local/(k+1))*deriv_estimate_LP_local[i]/max(U-exception_counter,1)
S+=(step_size_multiplier/(k+1))*deriv_estimate_LP/max(U-exception_counter,1)
S_local = np.maximum(S_local,np.zeros_like(S_local))
S_local = np.minimum(S_local,inventory)
S_local=np.around(S_local,decimals=5)
S=np.around(S,decimals=5)
S = max(S,0)
S = min(inventory.sum(),S)
if print_thresholds:
print S, S_local
return sum(objective_vals_queue)/len(objective_vals_queue)
def first_stage_decision_optimal(cur_location,accepted_online,cur_objective_val,num_trials,demand_physical_means, inventory,ship_matrix,p,c,salvage_rate):
tentative_accepted_online = np.copy(accepted_online)
tentative_accepted_online[cur_location]+=1
new_obj_vals = []
old_obj_vals = []
for i in range(num_trials):
demand_physical = generate_demand_physical_poisson(demand_physical_means)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_lp_salvage(lp2, demand_physical, tentative_accepted_online, inventory, ship_matrix, p, c,salvage_rate)
lp2 = solve_lp(lp2)
new_obj_vals.append(lp2.objVal)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_lp_salvage(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate)
lp2 = solve_lp(lp2)
old_obj_vals.append(lp2.objVal)
average_new_value= 1.0*sum(new_obj_vals)/len(new_obj_vals)
average_old_value = 1.0*sum(old_obj_vals)/len(old_obj_vals)
#print average_value,cur_objective_val
#print accepted_online
if average_new_value>average_old_value:
#print "Accept"
return 1,average_new_value
else:
#print "Reject"
return 0,average_old_value
def first_stage_decision_optimal_t_test(cur_location,accepted_online,conf_level,demand_physical_means, inventory,
ship_matrix,p,c,salvage_rate, max_iters=50):
tentative_accepted_online = np.copy(accepted_online)
tentative_accepted_online[cur_location]+=1
new_obj_vals = []
old_obj_vals = []
new_obj_sum = 0
old_obj_sum =0
n_trials = 0
confidence = 1
while confidence>conf_level:
n_trials+=1
demand_physical = generate_demand_physical_poisson(demand_physical_means)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_lp_salvage(lp2, demand_physical, tentative_accepted_online, inventory, ship_matrix, p, c,salvage_rate)
lp2 = solve_lp(lp2)
new_obj_vals.append(lp2.objVal)
new_obj_sum+=lp2.objVal
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_lp_salvage(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate)
lp2 = solve_lp(lp2)
old_obj_sum+=lp2.objVal
old_obj_vals.append(lp2.objVal)
if n_trials>=2:
result = scipy.stats.ttest_ind(new_obj_vals,old_obj_vals)
confidence = result.pvalue
if n_trials>=max_iters:
break
#print n_trials, confidence
average_new_value= 1.0*sum(new_obj_vals)/len(new_obj_vals)
average_old_value = 1.0*sum(old_obj_vals)/len(old_obj_vals)
if result.statistic>0:
return 1,average_new_value
else:
return 0,average_old_value
def determine_accepted_orders_optimal(num_trials,demand_physical_means,demand_online, inventory,ship_matrix,p,c,salvage_rate):
num_locations = demand_physical_means.shape[0]
cur_objective_val = 0
online_orders = np.empty(0, dtype=int)
accepted_online = np.zeros_like(demand_physical_means)
last_order_local = {}
##This loop turns the vector of online demand quantities into an ordered sequence of orders
for i in range(len(demand_online)):
temp_orders = np.zeros(int(demand_online[i]), dtype=int)
temp_orders.fill(int(i))
last_order_local[i]=len(temp_orders)
online_orders=np.append(online_orders,temp_orders)
np.random.shuffle(online_orders)
#Now we want to loop through each order and decide whether to accept or reject it
for i in range(len(online_orders)):
cur_location = online_orders[i]
#cur_decision, cur_objective_val = first_stage_decision_optimal(cur_location,accepted_online,cur_objective_val,
#num_trials,demand_physical_means, inventory,ship_matrix,p,c,salvage_rate)
cur_decision, cur_objective_val = first_stage_decision_optimal_t_test(cur_location,accepted_online,
num_trials,demand_physical_means, inventory,ship_matrix,p,c,salvage_rate)
accepted_online[cur_location]+=cur_decision
rejected_online = demand_online-accepted_online
return accepted_online,rejected_online
def optimizer_optimal(num_locations,n_for_objVal_calcs,trials_for_first_stage_estimation, demand_physical_means, demand_online_means,
inventory, ship_matrix, p, c,salvage_rate):
obj_vals = []
for k in range(n_for_objVal_calcs):
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
accepted_online,rejected_online=determine_accepted_orders_optimal(num_trials=trials_for_first_stage_estimation,demand_physical_means=demand_physical_means,
demand_online=demand_online, inventory=inventory,
ship_matrix=ship_matrix,p=p,c=c,
salvage_rate=salvage_rate)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_lp_salvage(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate)
lp2 = solve_lp(lp2)
obj_vals.append(lp2.objVal)
return sum(obj_vals)*1.0/len(obj_vals)
def optimizer_poisson_salvage_params(num_locations, K, U, demand_physical_means, demand_online_means,
inventory, S, S_local, ship_matrix, p, c,salvage_rate, n_for_objVal_calcs,
step_size_multiplier,step_size_multiplier_local, global_update, local_update, print_thresholds,
print_iter_thresholds=None
):
online_demand_distribution = demand_online_means/demand_online_means.sum()
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
accepted_online,rejected_online,_,_=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
prob_next_in_line=compute_prob_next(rejected_online)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_lp_salvage(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate)
objective_vals_queue=deque([],n_for_objVal_calcs)
for k in range(K):
#print "Iter",k
deriv_estimate_LP_local=defaultdict(lambda: 0)
deriv_estimate_LP=0
exception_counter=0
for u in range(U):
try:
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
#print "Demand", demand_physical, demand_online
#print "S_local", S_local
accepted_online,rejected_online,S_remaining,S_local_remaining=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
#print "accepted", accepted_online
prob_next_in_line=compute_prob_next(rejected_online)
prob_last_accepted=compute_prob_last(accepted_online)
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars = update_clicks_bricks_salvage(lp2, demand_physical, accepted_online, inventory,
i_o_vars, i_p_vars, c_o_vars, s_vars)
lp2 = solve_lp(lp2)
objective_vals_queue.append(lp2.objVal)
deriv_estimate_LP, deriv_estimate_LP_local=update_derivative_estimates(lp2,deriv_estimate_LP,
deriv_estimate_LP_local,rejected_online,
num_locations,
S_local_remaining,
prob_next_in_line,
prob_last_accepted,
global_update,local_update,
demand_distribution=online_demand_distribution)
except KeyError:
exception_counter+=1
continue
if print_iter_thresholds is not None:
if u%print_iter_thresholds==0:
print S, S_local
if local_update>0:
print "Local Gradient:",sum(deriv_estimate_LP_local.values())
if global_update>0:
print "Global Gradient:",deriv_estimate_LP
print sum(objective_vals_queue)/len(objective_vals_queue)
for i in range(num_locations):
S_local[i]+=(step_size_multiplier_local/(k+1))*deriv_estimate_LP_local[i]/max(U-exception_counter,1)
S+=(step_size_multiplier/(k+1))*deriv_estimate_LP/max(U-exception_counter,1)
S_local = np.maximum(S_local,np.zeros_like(S_local))
S_local = np.minimum(S_local,inventory.sum())
S_local=np.around(S_local,decimals=5)
S=np.around(S,decimals=5)
S = max(S,0)
S = min(inventory.sum(),S)
if print_thresholds:
print S, S_local
return S, S_local
def optimizer_poisson_no_ship_params(num_locations, K, U, demand_physical_means, demand_online_means,
inventory, S, S_local, ship_matrix, p, c,salvage_rate, n_for_objVal_calcs,
step_size_multiplier,step_size_multiplier_local, global_update, local_update, print_thresholds,
print_iter_thresholds=None
):
online_demand_distribution = demand_online_means/demand_online_means.sum()
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
accepted_online,rejected_online,_,_=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
prob_next_in_line=compute_prob_next(rejected_online)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_no_ship(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate)
objective_vals_queue=deque([],n_for_objVal_calcs)
for k in range(K):
#print "Iter",k
deriv_estimate_LP_local=defaultdict(lambda: 0)
deriv_estimate_LP=0
exception_counter=0
for u in range(U):
try:
demand_physical,demand_online=generate_demand_poisson(demand_physical_means=demand_physical_means,
demand_online_means=demand_online_means)
#print "Demand", demand_physical, demand_online
#print "S_local", S_local
accepted_online,rejected_online,S_remaining,S_local_remaining=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
#print "accepted", accepted_online
prob_next_in_line=compute_prob_next(rejected_online)
prob_last_accepted=compute_prob_last(accepted_online)
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars = update_clicks_bricks_no_ship(lp2, demand_physical, accepted_online, inventory,
i_o_vars, i_p_vars, c_o_vars, s_vars)
lp2 = solve_lp(lp2)
objective_vals_queue.append(lp2.objVal)
deriv_estimate_LP, deriv_estimate_LP_local=update_derivative_estimates(lp2,deriv_estimate_LP,
deriv_estimate_LP_local,rejected_online,
num_locations,
S_local_remaining,
prob_next_in_line,
prob_last_accepted,
global_update,local_update,
demand_distribution=online_demand_distribution)
except KeyError:
exception_counter+=1
continue
if print_iter_thresholds is not None:
if u%print_iter_thresholds==0:
print S, S_local
if local_update>0:
print "Local Gradient:",sum(deriv_estimate_LP_local.values())
if global_update>0:
print "Global Gradient:",deriv_estimate_LP
print sum(objective_vals_queue)/len(objective_vals_queue)
for i in range(num_locations):
S_local[i]+=(step_size_multiplier_local/(k+1))*deriv_estimate_LP_local[i]/max(U-exception_counter,1)
S+=(step_size_multiplier/(k+1))*deriv_estimate_LP/max(U-exception_counter,1)
S_local = np.maximum(S_local,np.zeros_like(S_local))
S_local = np.minimum(S_local,inventory.sum())
S_local=np.around(S_local,decimals=5)
S=np.around(S,decimals=5)
S = max(S,0)
S = min(inventory.sum(),S)
if print_thresholds:
print S, S_local
return S, S_local
def evaluate_poisson_salvage(demand_physical, demand_online,
inventory, S, S_local, ship_matrix, p, c,salvage_rate
):
accepted_online,rejected_online,_,_=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_lp_salvage(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate)
lp2 = solve_lp(lp2)
return lp2.objVal
def evaluate_poisson_no_ship(demand_physical, demand_online,
inventory, S, S_local, ship_matrix, p, c,salvage_rate
):
accepted_online,rejected_online,_,_=determine_accepted_orders(demand_online=demand_online,S=S,S_local=S_local)
lp2 = Model('Gur')
lp2, i_o_vars, i_p_vars, c_o_vars, s_vars =\
formulate_clicks_bricks_no_ship(lp2, demand_physical, accepted_online, inventory, ship_matrix, p, c,salvage_rate)
lp2 = solve_lp(lp2)
return lp2.objVal | 53.303571 | 163 | 0.627052 | 7,811 | 59,700 | 4.430931 | 0.036487 | 0.066339 | 0.018954 | 0.020977 | 0.890725 | 0.867726 | 0.843398 | 0.828171 | 0.816758 | 0.808321 | 0 | 0.010585 | 0.281575 | 59,700 | 1,120 | 164 | 53.303571 | 0.796363 | 0.059045 | 0 | 0.786316 | 0 | 0 | 0.013177 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.013684 | null | null | 0.071579 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1d623f79269aa03e5b7e2b140d15b9f27f95ee18 | 29,992 | py | Python | source/deepsecurity/api/global_rules_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-10-30T16:40:09.000Z | 2021-10-30T16:40:09.000Z | source/deepsecurity/api/global_rules_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-07-28T20:19:03.000Z | 2021-07-28T20:19:03.000Z | source/deepsecurity/api/global_rules_api.py | felipecosta09/cloudone-workload-controltower-lifecycle | 7927c84d164058b034fc872701b5ee117641f4d1 | [
"Apache-2.0"
] | 1 | 2021-10-30T16:40:02.000Z | 2021-10-30T16:40:02.000Z | # coding: utf-8
"""
Trend Micro Deep Security API
Copyright 2018 - 2020 Trend Micro Incorporated.<br/>Get protected, stay secured, and keep informed with Trend Micro Deep Security's new RESTful API. Access system data and manage security configurations to automate your security workflows and integrate Deep Security into your CI/CD pipeline. # noqa: E501
OpenAPI spec version: 12.5.841
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from deepsecurity.api_client import ApiClient
class GlobalRulesApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def add_global_rules(self, globalrules, api_version, **kwargs): # noqa: E501
"""Create and add new global rules # noqa: E501
Create and add global rules. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.add_global_rules(globalrules, api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param ApplicationControlGlobalRules globalrules: The settings of the new rules. (required)
:param str api_version: The version of the api being called. (required)
:return: ApplicationControlGlobalRules
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.add_global_rules_with_http_info(globalrules, api_version, **kwargs) # noqa: E501
else:
(data) = self.add_global_rules_with_http_info(globalrules, api_version, **kwargs) # noqa: E501
return data
def add_global_rules_with_http_info(self, globalrules, api_version, **kwargs): # noqa: E501
"""Create and add new global rules # noqa: E501
Create and add global rules. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.add_global_rules_with_http_info(globalrules, api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param ApplicationControlGlobalRules globalrules: The settings of the new rules. (required)
:param str api_version: The version of the api being called. (required)
:return: ApplicationControlGlobalRules
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['globalrules', 'api_version'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method add_global_rules" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'globalrules' is set
if ('globalrules' not in params or
params['globalrules'] is None):
raise ValueError("Missing the required parameter `globalrules` when calling `add_global_rules`") # noqa: E501
# verify the required parameter 'api_version' is set
if ('api_version' not in params or
params['api_version'] is None):
raise ValueError("Missing the required parameter `api_version` when calling `add_global_rules`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
if 'api_version' in params:
header_params['api-version'] = params['api_version'] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
if 'globalrules' in params:
body_params = params['globalrules']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['DefaultAuthentication'] # noqa: E501
return self.api_client.call_api(
'/applicationcontrolglobalrules', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ApplicationControlGlobalRules', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def delete_global_rule(self, rule_id, api_version, **kwargs): # noqa: E501
""" Delete a global rule # noqa: E501
Delete a global rule by ID. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_global_rule(rule_id, api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int rule_id: The ID number of the rule to delete. (required)
:param str api_version: The version of the api being called. (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.delete_global_rule_with_http_info(rule_id, api_version, **kwargs) # noqa: E501
else:
(data) = self.delete_global_rule_with_http_info(rule_id, api_version, **kwargs) # noqa: E501
return data
def delete_global_rule_with_http_info(self, rule_id, api_version, **kwargs): # noqa: E501
""" Delete a global rule # noqa: E501
Delete a global rule by ID. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_global_rule_with_http_info(rule_id, api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int rule_id: The ID number of the rule to delete. (required)
:param str api_version: The version of the api being called. (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['rule_id', 'api_version'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_global_rule" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'rule_id' is set
if ('rule_id' not in params or
params['rule_id'] is None):
raise ValueError("Missing the required parameter `rule_id` when calling `delete_global_rule`") # noqa: E501
# verify the required parameter 'api_version' is set
if ('api_version' not in params or
params['api_version'] is None):
raise ValueError("Missing the required parameter `api_version` when calling `delete_global_rule`") # noqa: E501
if 'rule_id' in params and not re.search('\\d+', str(params['rule_id'])): # noqa: E501
raise ValueError("Invalid value for parameter `rule_id` when calling `delete_global_rule`, must conform to the pattern `/\\d+/`") # noqa: E501
collection_formats = {}
path_params = {}
if 'rule_id' in params:
path_params['ruleID'] = params['rule_id'] # noqa: E501
query_params = []
header_params = {}
if 'api_version' in params:
header_params['api-version'] = params['api_version'] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['DefaultAuthentication'] # noqa: E501
return self.api_client.call_api(
'/applicationcontrolglobalrules/{ruleID}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def describe_global_rule(self, rule_id, api_version, **kwargs): # noqa: E501
"""Describe a global rule # noqa: E501
Describe a global rule by ID. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.describe_global_rule(rule_id, api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int rule_id: The ID number of the rule to describe. (required)
:param str api_version: The version of the api being called. (required)
:return: ApplicationControlGlobalRule
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.describe_global_rule_with_http_info(rule_id, api_version, **kwargs) # noqa: E501
else:
(data) = self.describe_global_rule_with_http_info(rule_id, api_version, **kwargs) # noqa: E501
return data
def describe_global_rule_with_http_info(self, rule_id, api_version, **kwargs): # noqa: E501
"""Describe a global rule # noqa: E501
Describe a global rule by ID. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.describe_global_rule_with_http_info(rule_id, api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int rule_id: The ID number of the rule to describe. (required)
:param str api_version: The version of the api being called. (required)
:return: ApplicationControlGlobalRule
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['rule_id', 'api_version'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method describe_global_rule" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'rule_id' is set
if ('rule_id' not in params or
params['rule_id'] is None):
raise ValueError("Missing the required parameter `rule_id` when calling `describe_global_rule`") # noqa: E501
# verify the required parameter 'api_version' is set
if ('api_version' not in params or
params['api_version'] is None):
raise ValueError("Missing the required parameter `api_version` when calling `describe_global_rule`") # noqa: E501
if 'rule_id' in params and not re.search('\\d+', str(params['rule_id'])): # noqa: E501
raise ValueError("Invalid value for parameter `rule_id` when calling `describe_global_rule`, must conform to the pattern `/\\d+/`") # noqa: E501
collection_formats = {}
path_params = {}
if 'rule_id' in params:
path_params['ruleID'] = params['rule_id'] # noqa: E501
query_params = []
header_params = {}
if 'api_version' in params:
header_params['api-version'] = params['api_version'] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['DefaultAuthentication'] # noqa: E501
return self.api_client.call_api(
'/applicationcontrolglobalrules/{ruleID}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ApplicationControlGlobalRule', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def list_global_rules(self, api_version, **kwargs): # noqa: E501
"""List all global rules # noqa: E501
List all global rules. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_global_rules(api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str api_version: The version of the api being called. (required)
:return: ApplicationControlGlobalRules
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.list_global_rules_with_http_info(api_version, **kwargs) # noqa: E501
else:
(data) = self.list_global_rules_with_http_info(api_version, **kwargs) # noqa: E501
return data
def list_global_rules_with_http_info(self, api_version, **kwargs): # noqa: E501
"""List all global rules # noqa: E501
List all global rules. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_global_rules_with_http_info(api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str api_version: The version of the api being called. (required)
:return: ApplicationControlGlobalRules
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['api_version'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method list_global_rules" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'api_version' is set
if ('api_version' not in params or
params['api_version'] is None):
raise ValueError("Missing the required parameter `api_version` when calling `list_global_rules`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
if 'api_version' in params:
header_params['api-version'] = params['api_version'] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['DefaultAuthentication'] # noqa: E501
return self.api_client.call_api(
'/applicationcontrolglobalrules', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ApplicationControlGlobalRules', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def modify_global_rule(self, rule_id, globalrule, api_version, **kwargs): # noqa: E501
"""Modify a global rule # noqa: E501
Modify a global rule by ID. Any unset elements will be left unchanged. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.modify_global_rule(rule_id, globalrule, api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int rule_id: The ID number of the rule to modify. (required)
:param ApplicationControlGlobalRule globalrule: The settings of the rule to be modified. (required)
:param str api_version: The version of the api being called. (required)
:return: ApplicationControlGlobalRule
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.modify_global_rule_with_http_info(rule_id, globalrule, api_version, **kwargs) # noqa: E501
else:
(data) = self.modify_global_rule_with_http_info(rule_id, globalrule, api_version, **kwargs) # noqa: E501
return data
def modify_global_rule_with_http_info(self, rule_id, globalrule, api_version, **kwargs): # noqa: E501
"""Modify a global rule # noqa: E501
Modify a global rule by ID. Any unset elements will be left unchanged. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.modify_global_rule_with_http_info(rule_id, globalrule, api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param int rule_id: The ID number of the rule to modify. (required)
:param ApplicationControlGlobalRule globalrule: The settings of the rule to be modified. (required)
:param str api_version: The version of the api being called. (required)
:return: ApplicationControlGlobalRule
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['rule_id', 'globalrule', 'api_version'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method modify_global_rule" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'rule_id' is set
if ('rule_id' not in params or
params['rule_id'] is None):
raise ValueError("Missing the required parameter `rule_id` when calling `modify_global_rule`") # noqa: E501
# verify the required parameter 'globalrule' is set
if ('globalrule' not in params or
params['globalrule'] is None):
raise ValueError("Missing the required parameter `globalrule` when calling `modify_global_rule`") # noqa: E501
# verify the required parameter 'api_version' is set
if ('api_version' not in params or
params['api_version'] is None):
raise ValueError("Missing the required parameter `api_version` when calling `modify_global_rule`") # noqa: E501
if 'rule_id' in params and not re.search('\\d+', str(params['rule_id'])): # noqa: E501
raise ValueError("Invalid value for parameter `rule_id` when calling `modify_global_rule`, must conform to the pattern `/\\d+/`") # noqa: E501
collection_formats = {}
path_params = {}
if 'rule_id' in params:
path_params['ruleID'] = params['rule_id'] # noqa: E501
query_params = []
header_params = {}
if 'api_version' in params:
header_params['api-version'] = params['api_version'] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
if 'globalrule' in params:
body_params = params['globalrule']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['DefaultAuthentication'] # noqa: E501
return self.api_client.call_api(
'/applicationcontrolglobalrules/{ruleID}', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ApplicationControlGlobalRule', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def search_global_rules(self, api_version, **kwargs): # noqa: E501
"""Search global rules # noqa: E501
Search for global rules using optional filters. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.search_global_rules(api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str api_version: The version of the api being called. (required)
:param SearchFilter search_filter: A collection of options used to filter the search results.
:return: ApplicationControlGlobalRules
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.search_global_rules_with_http_info(api_version, **kwargs) # noqa: E501
else:
(data) = self.search_global_rules_with_http_info(api_version, **kwargs) # noqa: E501
return data
def search_global_rules_with_http_info(self, api_version, **kwargs): # noqa: E501
"""Search global rules # noqa: E501
Search for global rules using optional filters. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.search_global_rules_with_http_info(api_version, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str api_version: The version of the api being called. (required)
:param SearchFilter search_filter: A collection of options used to filter the search results.
:return: ApplicationControlGlobalRules
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['api_version', 'search_filter'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method search_global_rules" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'api_version' is set
if ('api_version' not in params or
params['api_version'] is None):
raise ValueError("Missing the required parameter `api_version` when calling `search_global_rules`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
if 'api_version' in params:
header_params['api-version'] = params['api_version'] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
if 'search_filter' in params:
body_params = params['search_filter']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['DefaultAuthentication'] # noqa: E501
return self.api_client.call_api(
'/applicationcontrolglobalrules/search', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ApplicationControlGlobalRules', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 44.170839 | 311 | 0.613864 | 3,445 | 29,992 | 5.10566 | 0.061248 | 0.050486 | 0.021832 | 0.02729 | 0.946842 | 0.93911 | 0.935926 | 0.928876 | 0.916596 | 0.915913 | 0 | 0.016821 | 0.30028 | 29,992 | 678 | 312 | 44.235988 | 0.821309 | 0.333022 | 0 | 0.781421 | 0 | 0 | 0.229693 | 0.056252 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035519 | false | 0 | 0.010929 | 0 | 0.098361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d522e461f5049145f947dd1b5e98f3252554db6b | 80 | py | Python | tests/basic/list.py | treeform/pystorm | 3a2224bcdaccc5a2abf6a820c0bcf7afa3e6fed4 | [
"MIT"
] | 50 | 2015-03-24T19:45:34.000Z | 2022-02-20T04:34:26.000Z | tests/basic/list.py | MoonStarCZW/py2js | 6cda2b1d3cf281a5ca92c18b08ac9fa1c389cbea | [
"MIT"
] | 2 | 2017-02-26T09:43:07.000Z | 2017-03-06T20:04:24.000Z | tests/list/list.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 12 | 2016-03-07T09:30:49.000Z | 2021-09-05T20:38:47.000Z |
x = [1,2,3,'a','b','c']
y = x[2:4]
print x[0]
print x[3]
print y[0]
print y[1]
| 10 | 23 | 0.4875 | 23 | 80 | 1.695652 | 0.478261 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 0.1875 | 80 | 7 | 24 | 11.428571 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
d52ae7a2ab487451e2b4ae71d4e78763daa3c712 | 105 | py | Python | 10/04/1/package1/package11/module111.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | null | null | null | 10/04/1/package1/package11/module111.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | 70 | 2017-06-01T11:02:51.000Z | 2017-06-30T00:35:32.000Z | 10/04/1/package1/package11/module111.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | null | null | null | print('0/package1/package11/module111.py Run!!')
def some_method():
print('module111.some_method()')
| 26.25 | 48 | 0.72381 | 14 | 105 | 5.285714 | 0.714286 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0.085714 | 105 | 3 | 49 | 35 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.590476 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
d52f6ca80cef9dba9cbd98cd4c72c282d97a5620 | 10,130 | py | Python | analysis.py | PotentialParadox/PyReparm | 70062e351eebacb9c6cb3dc0262e97256c52be3d | [
"Apache-2.0"
] | null | null | null | analysis.py | PotentialParadox/PyReparm | 70062e351eebacb9c6cb3dc0262e97256c52be3d | [
"Apache-2.0"
] | null | null | null | analysis.py | PotentialParadox/PyReparm | 70062e351eebacb9c6cb3dc0262e97256c52be3d | [
"Apache-2.0"
] | null | null | null | from reparm_data import ReparmData
from header import Header
from gaussian_input import GaussianInput
from gaussian import gaussian_single as run
from gaussian_output import find_ground_energy as energy
from gaussian_output import find_opt_coordinates
from rdkit_converter import reparm_to_rdkit, rdkit_to_reparm
from rdkit.Chem import AllChem
from rdkit.Chem.rdMolTransforms import SetDihedralDeg, SetBondLength
import matplotlib.pyplot as plt
import pickle
class Analysis:
def __init__(self, reparm_data):
self.reparm_data = ReparmData.copy(reparm_data)
self.hlt = self.reparm_data.reparm_input.high_level_theory
# Stored AM1, Reparm, and HLT
self.ftf_energies = [None, None, None]
self.dftf_energies = [None, None, None]
self.trithi_energies = [None, None, None]
self.dithi_energies = [None, None, None]
self.load()
def face_to_face(self):
number_steps = 20
gin = GaussianInput(open("ftfthiophene.com", 'r').read())
hlt = self.reparm_data.reparm_input.high_level_theory
params = self.reparm_data.best_am1_individual.inputs[0].parameters[0]
coords = gin.coordinates[0].coordinates
gin.parameters[0] = params
am1_energies = []
reparm_energies = []
hlt_energies = []
for i in range(number_steps):
for atom in coords[9:18]:
atom[3] += 0.1
# Run AM1
if self.ftf_energies is None:
am1_header_s = "#P AM1\n\nAM1\n"
am1_header = Header(am1_header_s)
gin.header[0] = am1_header
am1_energies.append(energy(run(gin.str())))
else:
am1_energies = self.ftf_energies[0]
# Run Reparm
reparm_header_s = "#P AM1(Input,Print)\n\nReparm\n"
reparm_header = Header(reparm_header_s)
gin.header[0] = reparm_header
reparm_energies.append(energy(run(gin.str())))
# Run HLT
if self.ftf_energies[2] is None:
hlt_header_s = "#P " + hlt +"\n\nHLT\n"
hlt_header = Header(hlt_header_s)
gin.header[0] = hlt_header
hlt_energies.append(energy(run(gin.str())))
else:
hlt_energies = self.ftf_energies[2]
self.ftf_energies = [am1_energies, reparm_energies, hlt_energies]
self.save()
x_values = [i for i in range(number_steps - 1)]
am1_diffs = distances(am1_energies)
reparm_diffs = distances(reparm_energies)
hlt_diffs = distances(hlt_energies)
plt.plot(x_values, am1_diffs, 'r--', label="AM1")
plt.plot(x_values, reparm_diffs, 'b--', label="Reparm")
plt.plot(x_values, hlt_diffs, 'g--', label="HLT")
plt.legend(loc="best")
plt.show()
def trithiophene(self):
number_steps = 20
max_angle = 90
step_size = max_angle / number_steps
gin = GaussianInput(open('trithiophene.com', 'r').read())
rep_coords = gin.coordinates[0]
rdk_coords = reparm_to_rdkit(rep_coords)
AllChem.EmbedMolecule(rdk_coords)
AllChem.UFFOptimizeMolecule(rdk_coords)
c = rdk_coords.GetConformer()
hlt = self.reparm_data.reparm_input.high_level_theory
params = self.reparm_data.best_am1_individual.inputs[0].parameters[0]
am1_energies = []
reparm_energies = []
hlt_energies = []
for i in range(number_steps):
deg = i * step_size
SetDihedralDeg(c, 5, 4, 2, 3, deg)
SetDihedralDeg(c, 7, 6, 8, 9, -deg)
rep_coords = rdkit_to_reparm(rdk_coords)
gin.coordinates[0] = rep_coords
# Run AM1
if self.trithi_energies[0] is None:
am1_header_s = "#P AM1\n\nAM1\n"
am1_header = Header(am1_header_s)
gin.header[0] = am1_header
am1_energies.append(energy(run(gin.str())))
else:
am1_energies = self.trithi_energies[0]
# Run HLT
if self.trithi_energies[2] is None:
hlt_header_s = "#P " + hlt + "\n\nHLT\n"
hlt_header = Header(hlt_header_s)
gin.header[0] = hlt_header
hlt_energies.append(energy(run(gin.str())))
else:
hlt_energies = self.trithi_energies[2]
# Run Reparm
reparm_header_s = "#P AM1(Input,Print)\n\nReparm\n"
reparm_header = Header(reparm_header_s)
gin.header[0] = reparm_header
gin.parameters[0] = params
reparm_energies.append(energy(run(gin.str())))
self.trithi_energies = [am1_energies, reparm_energies, hlt_energies]
self.save()
x_values = [i*step_size for i in range(number_steps - 1)]
am1_diffs = distances(am1_energies)
reparm_diffs = distances(reparm_energies)
hlt_diffs = distances(hlt_energies)
plt.plot(x_values, am1_diffs, 'r--', label="AM1")
plt.plot(x_values, reparm_diffs, 'b--', label="Reparm")
plt.plot(x_values, hlt_diffs, 'g--', label="HLT")
plt.legend(loc="best")
plt.show()
def dithi_face_to_face(self):
number_steps = 20
gin = GaussianInput(open("dithi_face_to_face.com", 'r').read())
hlt = self.reparm_data.reparm_input.high_level_theory
params = self.reparm_data.best_am1_individual.inputs[0].parameters[0]
coords = gin.coordinates[0].coordinates
gin.parameters[0] = params
am1_energies = []
reparm_energies = []
hlt_energies = []
for i in range(number_steps):
for atom in coords[9:18]:
atom[1] += 0.1
print('testing', gin.coordinates[0].str())
# Run AM1
if self.dftf_energies[0] is None:
am1_header_s = "#P AM1\n\nAM1\n"
am1_header = Header(am1_header_s)
gin.header[0] = am1_header
am1_energies.append(energy(run(gin.str())))
else:
am1_energies = self.dftf_energies[0]
# Run Reparm
reparm_header_s = "#P AM1(Input,Print)\n\nReparm\n"
reparm_header = Header(reparm_header_s)
gin.header[0] = reparm_header
reparm_energies.append(energy(run(gin.str())))
# Run HLT
if self.dftf_energies[2] is None:
hlt_header_s = "#P " + hlt + "\n\nHLT\n"
hlt_header = Header(hlt_header_s)
gin.header[0] = hlt_header
hlt_energies.append(energy(run(gin.str())))
else:
hlt_energies = self.dftf_energies[2]
self.dftf_energies = [am1_energies, reparm_energies, hlt_energies]
self.save()
x_values = [i for i in range(number_steps - 1)]
am1_diffs = distances(am1_energies)
reparm_diffs = distances(reparm_energies)
hlt_diffs = distances(hlt_energies)
plt.plot(x_values, am1_diffs, 'r--', label="AM1")
plt.plot(x_values, reparm_diffs, 'b--', label="Reparm")
plt.plot(x_values, hlt_diffs, 'g--', label="HLT")
plt.legend(loc="best")
plt.show()
def dithiophene(self):
number_steps = 20
max_angle = 90
step_size = max_angle / number_steps
gin = GaussianInput(open('dithiophene.com', 'r').read())
rep_coords = gin.coordinates[0]
rdk_coords = reparm_to_rdkit(rep_coords)
AllChem.EmbedMolecule(rdk_coords)
AllChem.UFFOptimizeMolecule(rdk_coords)
c = rdk_coords.GetConformer()
hlt = self.reparm_data.reparm_input.high_level_theory
params = self.reparm_data.best_am1_individual.inputs[0].parameters[0]
am1_energies = []
reparm_energies = []
hlt_energies = []
for i in range(number_steps):
deg = i * step_size
SetDihedralDeg(c, 2, 3, 4, 5, deg)
rep_coords = rdkit_to_reparm(rdk_coords)
gin.coordinates[0] = rep_coords
# Run AM1
if self.dithi_energies[0] is None:
am1_header_s = "#P AM1\n\nAM1\n"
am1_header = Header(am1_header_s)
gin.header[0] = am1_header
am1_energies.append(energy(run(gin.str())))
else:
am1_energies = self.trithi_energies[0]
# Run HLT
if self.dithi_energies[2] is None:
hlt_header_s = "#P " + hlt + "\n\nHLT\n"
hlt_header = Header(hlt_header_s)
gin.header[0] = hlt_header
hlt_energies.append(energy(run(gin.str())))
else:
hlt_energies = self.trithi_energies[2]
# Run Reparm
reparm_header_s = "#P AM1(Input,Print)\n\nReparm\n"
reparm_header = Header(reparm_header_s)
gin.header[0] = reparm_header
gin.parameters[0] = params
reparm_energies.append(energy(run(gin.str())))
self.dithi_energies = [am1_energies, reparm_energies, hlt_energies]
self.save()
x_values = [i * step_size for i in range(number_steps - 1)]
am1_diffs = distances(am1_energies)
reparm_diffs = distances(reparm_energies)
hlt_diffs = distances(hlt_energies)
plt.plot(x_values, am1_diffs, 'r--', label="AM1")
plt.plot(x_values, reparm_diffs, 'b--', label="Reparm")
plt.plot(x_values, hlt_diffs, 'g--', label="HLT")
plt.legend(loc="best")
plt.show()
def save(self):
pickle.dump(self, open("analysis.dat", 'wb'))
def load(self):
lf = pickle.load(open("analysis.dat", 'rb'))
if lf.hlt == self.hlt and self.hlt is not None:
self.ftf_energies = lf.ftf_energies
self.trithi_energies = lf.trithi_energies
def distances(containter):
values = []
for i in range(1, len(containter)):
values.append(containter[i] - containter[i-1])
return values
| 41.012146 | 77 | 0.589733 | 1,278 | 10,130 | 4.434272 | 0.101721 | 0.029645 | 0.035998 | 0.03388 | 0.822657 | 0.795836 | 0.795836 | 0.795836 | 0.795836 | 0.788248 | 0 | 0.022166 | 0.30079 | 10,130 | 246 | 78 | 41.178862 | 0.777919 | 0.013327 | 0 | 0.715596 | 0 | 0 | 0.044088 | 0.013427 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036697 | false | 0 | 0.050459 | 0 | 0.09633 | 0.004587 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d5453baaf1e433fd682e857163f8b8f31804f60b | 11,978 | py | Python | apps/fifth_edition/tests/test_combat_info_view_post.py | tylerfrenchx13/django-dnd | b0c78c51aebeed4195fd91a3e55c313c645f9c3b | [
"MIT"
] | 4 | 2019-01-30T03:39:06.000Z | 2022-02-22T08:11:53.000Z | apps/fifth_edition/tests/test_combat_info_view_post.py | tylerfrenchx13/django-dnd | b0c78c51aebeed4195fd91a3e55c313c645f9c3b | [
"MIT"
] | 13 | 2019-05-10T04:22:14.000Z | 2020-04-06T02:54:32.000Z | apps/fifth_edition/tests/test_combat_info_view_post.py | tylerfrenchx13/django-dnd | b0c78c51aebeed4195fd91a3e55c313c645f9c3b | [
"MIT"
] | 3 | 2019-02-06T19:26:43.000Z | 2021-03-18T23:48:41.000Z | from django.test import TestCase
from rest_framework.test import APIClient
class TestCombatInfoViewPOST(TestCase):
"""
Test class to verify functionality of the CombatInfoViewPOST API view.
"""
def test_CombatInfo_post_can_post(self):
"""
Test to verify a valid post will go through with all valid values
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_success": 1,
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 201)
def test_CombatInfo_post_already_posted(self):
"""
Test to verify a post can be made for the already existing combat info that has already been posted
Should return error code 201
:return:
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_success": 1,
"death_save_failure": 2
}
client.post("/api/combat-info/create/", data=score_data, format="json")
combat_info_two = {
"armor_class": 20,
"initiative": 54,
"speed": 22,
"total_hit_points": 100,
"current_hit_points": 58,
"temporary_hit_points": 20,
"hit_dice_total": 1,
"hit_dice": "d10",
"death_save_success": 0,
"death_save_failure": 0
}
response = client.post("/api/combat-info/create/", data=combat_info_two, format="json")
# Assert status code
self.assertEqual(response.status_code, 201)
def test_CombatInfo_post_can_post_no_armor(self):
"""
Test to verify a valid post will go through with all valid values and no armor_class
:return: None
"""
client = APIClient()
score_data = {
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_success": 1,
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 201)
def test_CombatInfo_post_can_post_no_initiative(self):
"""
Test to verify a valid post will go through with all valid values and no initiative
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_success": 1,
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 201)
def test_CombatInfo_post_can_post_no_speed(self):
"""
Test to verify a valid post will go through with all valid values and no speed
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_success": 1,
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 201)
def test_CombatInfo_post_can_post_no_total_hit_points(self):
"""
Test to verify a valid post will go through with all valid values and no total_hit_points
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_success": 1,
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 201)
def test_CombatInfo_post_can_post_no_current_hit_points(self):
"""
Test to verify a valid post will go through with all valid values and no current_hit_points
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_success": 1,
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 201)
def test_CombatInfo_post_can_post_no_temporary_hit_points(self):
"""
Test to verify a valid post will go through with all valid values and no temporary_hit_points
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_success": 1,
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 201)
def test_CombatInfo_post_can_post_no_hit_dice_total(self):
"""
Test to verify a valid post will go through with all valid values and no hit_dice_total
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice": "d8",
"death_save_success": 1,
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 201)
def test_CombatInfo_post_cant_post_no_hit_dice(self):
"""
Test to verify an invalid post doesn't go through with all valid values and no hit_dice
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"death_save_success": 1,
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 400)
def test_CombatInfo_post_can_post_no_death_save_success(self):
"""
Test to verify a valid post will go through with all valid values and no death_save_success
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 201)
def test_CombatInfo_post_can_post_no_death_save_failure(self):
"""
Test to verify a valid post will go through with all valid values and no death_save_failure
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_success": 1,
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 201)
def test_CombatInfo_post_cant_post_invalid_hit_dice(self):
"""
Test to verify a valid post not go through due to invalid dice type
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d30",
"death_save_success": 1,
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 400)
def test_CombatInfo_post_cant_post_invalid_death_save_success(self):
"""
Test to verify a valid post not go through due to invalid death save successes
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_success": 5,
"death_save_failure": 2
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 400)
def test_CombatInfo_post_cant_post_invalid_death_save_failure(self):
"""
Test to verify a valid post not go through due to invalid death save failures
:return: None
"""
client = APIClient()
score_data = {
"armor_class": 15,
"initiative": 2,
"speed": 30,
"total_hit_points": 20,
"current_hit_points": 17,
"temporary_hit_points": 0,
"hit_dice_total": 1,
"hit_dice": "d8",
"death_save_success": 1,
"death_save_failure": 10
}
response = client.post("/api/combat-info/create/", data=score_data, format="json")
# Assert status code
self.assertEqual(response.status_code, 400)
| 29.648515 | 107 | 0.55268 | 1,358 | 11,978 | 4.596465 | 0.074374 | 0.073534 | 0.046139 | 0.048702 | 0.905639 | 0.902916 | 0.884973 | 0.883851 | 0.877283 | 0.868472 | 0 | 0.033558 | 0.343213 | 11,978 | 403 | 108 | 29.722084 | 0.759883 | 0.156871 | 0 | 0.800813 | 0 | 0 | 0.265736 | 0.040017 | 0 | 0 | 0 | 0 | 0.060976 | 1 | 0.060976 | false | 0 | 0.00813 | 0 | 0.073171 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d570e18b4d749f00db4a0299290fadf56209428d | 45,618 | py | Python | views/wallet.py | Memberships-Affiliate-Management-API/membership_and_affiliate_api | 038cb2d4dfa4a47fb8e31dc9d00cd36dd28867d5 | [
"MIT"
] | 1 | 2021-08-31T15:24:48.000Z | 2021-08-31T15:24:48.000Z | views/wallet.py | freelancing-solutions/membership_and_affiliate_api | 038cb2d4dfa4a47fb8e31dc9d00cd36dd28867d5 | [
"MIT"
] | 1 | 2021-10-13T14:11:15.000Z | 2021-10-13T14:11:15.000Z | views/wallet.py | freelancing-solutions/membership_and_affiliate_api | 038cb2d4dfa4a47fb8e31dc9d00cd36dd28867d5 | [
"MIT"
] | 1 | 2021-08-21T13:55:24.000Z | 2021-08-21T13:55:24.000Z | """
**Module Wallet View Controller**
Class Definitions for handling Wallet data input and validations
"""
__developer__ = "mobius-crypt"
__email__ = "mobiusndou@gmail.com"
__twitter__ = "@blueitserver"
__github_repo__ = "https://github.com/freelancing-solutions/memberships-and-affiliate-api"
__github_profile__ = "https://github.com/freelancing-solutions/"
from typing import Optional, List
from flask import jsonify, current_app
from google.cloud import ndb
from _sdk._email import Mailgun
from database.mixins import AmountMixin
from database.wallet import WalletModel, WalletValidator
from utils import return_ttl, create_id
from config.exceptions import DataServiceError, UnAuthenticatedError, status_codes, error_codes, InputError
from config.exception_handlers import handle_view_errors
from config.use_context import use_context
from cache.cache_manager import app_cache
class WalletEmails(Mailgun):
"""
**Class WalletEmails**
Class used to send Wallet related Emails and Notifications
"""
def __init__(self) -> None:
super().__init__()
def send_balance_changed_notification(self, wallet_instance: WalletModel, organization_id: str, uid: str) -> None:
"""
**send_balance_changed_notification**
send an email to client or organization informing them that balance has changed on their wallet
:param wallet_instance:
:param organization_id:
:param uid:
:return:
"""
user_data, organization_data = self.return_organization_user(organization_id=organization_id, uid=uid)
email: str = user_data.get('email')
name: str = user_data.get('names')
surname: str = user_data.get('surname')
email_verified: bool = user_data.get('email_verified')
new_balance: AmountMixin = wallet_instance.available_funds
monthly_withdrawal_allowance: AmountMixin = wallet_instance.monthly_withdrawal_allowance
subject = f"{organization_data.get('organization_name')} Your Wallet Balance Changed"
text = f'''
hi {name} {surname}
this email is intended to notify you that your wallet balance has changed.
Available Funds: {str(new_balance)}
Monthly Withdrawal Allowance: {str(monthly_withdrawal_allowance)}
Thank you
{organization_data.get('organization_name')}
'''
html = f'''
hi {name} {surname}
this email is intended to notify you that your wallet balance has changed.
Available Funds: {str(new_balance)}
Monthly Withdrawal Allowance: {str(monthly_withdrawal_allowance)}
Thank you
{organization_data.get('organization_name')}
'''
if email_verified:
self._do_schedule_mail(to_email=email, subject=subject, text=text, html=html)
def wallet_created_successfully(self, wallet_instance: WalletModel, organization_id: str, uid: str) -> None:
"""
**wallet_created_successfully**
send an email informing user that their wallet has been created and its details
:param wallet_instance:
:param organization_id:
:param uid:
:return:
"""
user_data, organization_data = self.return_organization_user(organization_id=organization_id, uid=uid)
email: str = user_data.get('email')
name: str = user_data.get('names')
surname: str = user_data.get('surname')
email_verified: bool = user_data.get('email_verified')
subject = f"{organization_data.get('organization_name')} wallet created successfully"
text = f'''
hi {name} {surname}
this email is intended to notify you that your wallet balance has been successfully created.
Available Funds: {str(wallet_instance.available_funds)}
Monthly Withdrawal Allowance: {str(wallet_instance.monthly_withdrawal_allowance)}
Thank you
{organization_data.get('organization_name')}
'''
html = f'''
hi {name} {surname}
this email is intended to notify you that your wallet balance has been successfully created.
Available Funds: {str(wallet_instance.available_funds)}
Monthly Withdrawal Allowance: {str(wallet_instance.monthly_withdrawal_allowance)}
Thank you
{organization_data.get('organization_name')}
'''
if email_verified:
self._do_schedule_mail(to_email=email, subject=subject, text=text, html=html)
def wallet_details_changed(self, wallet_instance: WalletModel, organization_id: str, uid: str) -> None:
"""
**wallet_details_changed**
send an email informing the user that wallet details has changed
:param wallet_instance:
:param organization_id:
:param uid:
:return:
"""
user_data, organization_data = self.return_organization_user(organization_id=organization_id, uid=uid)
email: str = user_data.get('email')
name: str = user_data.get('names')
surname: str = user_data.get('surname')
email_verified: bool = user_data.get('email_verified')
subject = f"{organization_data.get('organization_name')} wallet created successfully"
text = f'''
hi {name} {surname}
this email is intended to notify you that your wallet details have changed.
Available Funds: {str(wallet_instance.available_funds)}
Monthly Withdrawal Allowance: {str(wallet_instance.monthly_withdrawal_allowance)}
Paypal Email: {wallet_instance.paypal_address}
is_verified: {wallet_instance.is_verified}
last_transaction_time: {str(wallet_instance.last_transaction_time)}
Thank you
{organization_data.get('organization_name')}
'''
html = f'''
hi {name} {surname}
this email is intended to notify you that your wallet details have changed.
Available Funds: {str(wallet_instance.available_funds)}
Monthly Withdrawal Allowance: {str(wallet_instance.monthly_withdrawal_allowance)}
Paypal Email: {wallet_instance.paypal_address}
is_verified: {wallet_instance.is_verified}
last_transaction_time: {str(wallet_instance.last_transaction_time)}
Thank you
{organization_data.get('organization_name')}
'''
if email_verified:
self._do_schedule_mail(to_email=email, subject=subject, text=text, html=html)
class Validator(WalletValidator):
"""
**Class Wallet Validators**
validates wallet transactions
TODO- improve the validators to validate all aspects of wallet transactions
"""
def __init__(self) -> None:
super().__init__()
self._max_retries: int = current_app.config.get('DATASTORE_RETRIES')
self._max_timeout: int = current_app.config.get('DATASTORE_TIMEOUT')
def _create_unique_wallet_id(self) -> str:
"""
:return:
"""
_id = create_id()
wallet_instance: WalletModel = WalletModel.query(WalletModel.wallet_id == _id).get()
# NOTE: if wallet_id is unique return it or Repeat otherwise
return self._create_unique_wallet_id() if isinstance(wallet_instance, WalletModel) and bool(
wallet_instance) else _id
@staticmethod
def raise_input_error_if_not_available(organization_id: str, uid: str) -> None:
"""
**raise_input_error_if_not_available
raise an error if organization_id or uid is not present
:param organization_id:
:param uid:
:return: Nothing
"""
if not isinstance(uid, str) or not bool(uid.strip()):
message: str = "uid is required"
raise InputError(status=error_codes.input_error_code, description=message)
if not isinstance(organization_id, str) or not bool(organization_id.strip()):
message: str = "organization_id is required"
raise InputError(status=error_codes.input_error_code, description=message)
@staticmethod
def raise_input_error(**kwargs) -> None:
"""
**raise_input_error**
general function to raise input errors in-case when string variables are not string or are Empty
raise an input error if any of the input variables are Null or Empty
:param kwargs:
:return:
"""
for arg in kwargs.items():
if not isinstance(arg, str) or not bool(arg.strip()):
message: str = "{} is required".format(arg.__class__.__name__)
raise InputError(status=error_codes.input_error_code, description=message)
@app_cache.cache.memoize(timeout=return_ttl('short'))
def can_add_wallet(self, organization_id: Optional[str], uid: Optional[str] = None) -> bool:
"""
**can_add_wallet**
this method will check if a new wallet can be added
:param organization_id:
:param uid:
:return:
"""
# NOTE this will raise input error if either or this
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
wallet_exist: Optional[bool] = self.wallet_exist(organization_id=organization_id, uid=uid)
if isinstance(wallet_exist, bool):
return not wallet_exist
# result is None meaning an error occurred then Raise a DataServiceError
message: str = 'database Error: Unable to verify wallet data'
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
@app_cache.cache.memoize(timeout=return_ttl('short'))
async def can_add_wallet_async(self, organization_id: Optional[str], uid: Optional[str] = None) -> bool:
"""
**can_add_wallet_async**
An asynchronous version of can_add_wallet
testing if user can add a wallet
:param organization_id:
:param uid:
:return:
"""
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
wallet_exist: Optional[bool] = await self.wallet_exist_async(organization_id=organization_id, uid=uid)
if isinstance(wallet_exist, bool):
return not wallet_exist
message: str = 'database Error: Unable to verify wallet data'
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
@app_cache.cache.memoize(timeout=return_ttl('short'))
def can_update_wallet(self, organization_id: Optional[str], uid: Optional[str] = None) -> bool:
"""
**can_add_wallet**
checks if user can update wallet - a wallet need to already exists for it to be updated
:param organization_id:
:param uid:
:return:
"""
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
wallet_exist: Optional[bool] = self.wallet_exist(organization_id=organization_id, uid=uid)
if isinstance(wallet_exist, bool):
return wallet_exist
message: str = 'database error: Unable to verify wallet data'
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
@app_cache.cache.memoize(timeout=return_ttl('short'))
async def can_update_wallet_async(self, organization_id: Optional[str], uid: Optional[str] = None) -> bool:
"""
**can_update_wallet_async**
asynchronous version of can_update_wallet
:param organization_id:
:param uid:
:return:
"""
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
wallet_exist: Optional[bool] = await self.wallet_exist_async(organization_id=organization_id, uid=uid)
if isinstance(wallet_exist, bool):
return wallet_exist
message: str = "database error: Unable to verify wallet data"
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
@app_cache.cache.memoize(timeout=return_ttl('short'))
def can_reset_wallet(self, organization_id: Optional[str], uid: Optional[str]) -> bool:
"""
**can_reset_wallet**
checks if user can reset wallet
:param organization_id: required
:param uid: required
:return:
"""
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
wallet_exist: Optional[bool] = self.wallet_exist(organization_id=organization_id, uid=uid)
if isinstance(wallet_exist, bool):
return wallet_exist
message: str = 'database Error: Unable to verify wallet data'
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
@app_cache.cache.memoize(timeout=return_ttl('short'))
async def can_reset_wallet_async(self, organization_id: Optional[str],
uid: Optional[str]) -> bool:
"""
**can_reset_wallet_async**
asynchronous version of can_reset_wallet
:param organization_id:
:param uid:
:return:
"""
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
wallet_exist: Optional[bool] = await self.wallet_exist_async(organization_id=organization_id, uid=uid)
if isinstance(wallet_exist, bool):
return wallet_exist
message: str = 'database Error: Unable to verify wallet data'
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
# noinspection DuplicatedCode
class WalletView(Validator, WalletEmails):
"""
**Class WalletView**
view functions for the wallet
**Class Methods**
1. create_wallet -> enables the creation of new wallets only
2. update_wallet -> enables the update of existing wallets
3. get_wallet -> fetches a specific wallet depending on method parameters
4. reset_wallet -> resets wallet to default values except uid and organization_id
5. return_all_wallets -> returns all wallets specific to an organization_id
6. return_wallets_by_balance -> returns specific wallets in an organization by their balance ranges
7. wallet_transact -> create a wallet transaction
"""
def __init__(self) -> None:
super().__init__()
@use_context
@handle_view_errors
def create_wallet(self, organization_id: Optional[str], uid: Optional[str],
currency: Optional[str], paypal_address: Optional[str],
is_org_wallet: bool = False) -> tuple:
"""
**create_wallet**
enables the system/user to create new wallet for a user - the user may not already own a wallet
:param organization_id:
:param uid:
:param currency:
:param paypal_address:
:param is_org_wallet:
:return: tuple with created wallet_instance
"""
# NOTE: no need to check if organization_id and uid are available
if not self.can_add_wallet(organization_id=organization_id, uid=uid):
message: str = "You are not authorized to create a new Wallet"
raise UnAuthenticatedError(status=error_codes.un_auth_error_code, description=message)
# creating new Wallet for a new user
amount_instance: AmountMixin = AmountMixin(amount_cents=0, currency=currency)
wallet_id: str = self._create_unique_wallet_id()
wallet_instance: WalletModel = WalletModel(organization_id=organization_id, uid=uid, wallet_id=wallet_id,
is_org_wallet=is_org_wallet, available_funds=amount_instance,
paypal_address=paypal_address)
key: Optional[ndb.Key] = wallet_instance.put(retries=self._max_retries, timeout=self._max_timeout)
if not isinstance(key, ndb.Key):
message: str = "Database Error: Wallet may not have been created"
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
_kwargs: dict = dict(wallet_view=WalletView, organization_id=organization_id, uid=uid)
app_cache._schedule_cache_deletion(func=app_cache._delete_wallet_cache, kwargs=_kwargs)
# Sending an email notification to the user informing them that the wallet has been created successfully
kwargs: dict = dict(wallet_instance=wallet_instance, organization_id=organization_id, uid=uid)
self._base_email_scheduler(func=self.wallet_created_successfully, kwargs=kwargs)
return jsonify(dict(status=True,
payload=wallet_instance.to_dict(),
message='Successfully created wallet')), status_codes.successfully_updated_code
@use_context
@handle_view_errors
async def create_wallet_async(self, organization_id: Optional[str], uid: Optional[str], currency: Optional[str],
paypal_address: Optional[str], is_org_wallet: bool = False) -> tuple:
"""
**create_wallet_async**
asynchronous version of create_wallet
:param organization_id:
:param uid:
:param currency:
:param paypal_address:
:param is_org_wallet:
:return: tuple with created wallet_instance
"""
# NOTE: no need to check if organization_id and uid are available
if not await self.can_add_wallet_async(organization_id=organization_id, uid=uid):
message: str = "Operation Denied: cannot create a new Wallet"
raise UnAuthenticatedError(status=error_codes.access_forbidden_error_code, description=message)
amount_instance: AmountMixin = AmountMixin(amount_cents=0, currency=currency)
wallet_instance: WalletModel = WalletModel(organization_id=organization_id, uid=uid,
is_org_wallet=is_org_wallet,
available_funds=amount_instance,
paypal_address=paypal_address)
key: Optional[ndb.Key] = wallet_instance.put_async(retries=self._max_retries,
timeout=self._max_timeout).get_result()
if not isinstance(key, ndb.Key):
raise DataServiceError(status=error_codes.data_service_error_code,
description="An Error occurred creating Wallet")
_kwargs: dict = dict(wallet_view=WalletView, organization_id=organization_id, uid=uid)
app_cache._schedule_cache_deletion(func=app_cache._delete_wallet_cache, kwargs=_kwargs)
# Sending an email notification to the user informing them that the wallet has been created successfully
kwargs: dict = dict(wallet_instance=wallet_instance, organization_id=organization_id, uid=uid)
self._base_email_scheduler(func=self.wallet_created_successfully, kwargs=kwargs)
return jsonify(dict(status=True, payload=wallet_instance.to_dict(),
message='Successfully Created Wallet')), status_codes.successfully_updated_code
@use_context
@handle_view_errors
@app_cache.cache.memoize(timeout=return_ttl('short'))
def get_wallet(self, organization_id: Optional[str], uid: Optional[str]) -> tuple:
"""
**get_wallet**
# TODO- may need to update cache or find a way to update cache when there are updates
# this could mean that the old method of having a separate cache for every module may be useful here
returns a specific wallet from database
:param organization_id:
:param uid:
:return: tuple
"""
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
wallet_instance: WalletModel = WalletModel.query(WalletModel.organization_id == organization_id,
WalletModel.uid == uid).get()
if isinstance(wallet_instance, WalletModel) and bool(wallet_instance):
return jsonify(dict(status=True,
payload=wallet_instance.to_dict(),
message='wallet found')), status_codes.status_ok_code
message: str = "Wallet not found"
return jsonify(dict(status=False, message=message)), status_codes.data_not_found_code
@use_context
@handle_view_errors
@app_cache.cache.memoize(timeout=return_ttl('short'))
async def get_wallet_async(self, organization_id: Optional[str], uid: Optional[str]) -> tuple:
"""
**get_wallet_async**
get_wallet_async an asynchronous version of get_wallet
:param organization_id:
:param uid:
:return:
"""
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
wallet_instance: WalletModel = WalletModel.query(WalletModel.organization_id == organization_id,
WalletModel.uid == uid).get_async().get_result()
if isinstance(wallet_instance, WalletModel) and bool(wallet_instance):
return jsonify(dict(status=True,
payload=wallet_instance.to_dict(),
message='Wallet found')), status_codes.status_ok_code
message: str = "Wallet not found"
return jsonify(dict(status=False, message=message)), status_codes.data_not_found_code
@use_context
@handle_view_errors
def update_wallet(self, wallet_data: dict) -> tuple:
"""
**update_wallet**
lets user or system update wallet
:param wallet_data:
:return:
"""
uid: Optional[str] = wallet_data.get("uid")
organization_id: Optional[str] = wallet_data.get('organization_id')
# NOTE checking if organization_id or uid is present
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
# NOTE: integer conversion errors will be caught by handle_view_errors as ValueError
available_funds: int = int(wallet_data.get("available_funds", 0))
if not isinstance(available_funds, int):
message: str = "available_funds is required"
raise InputError(status=error_codes.input_error_code, description=message)
currency: Optional[str] = wallet_data.get('currency')
if not isinstance(currency, str) or not bool(currency.strip()):
message: str = "currency symbol is required"
raise InputError(status=error_codes.input_error_code, description=message)
paypal_address: Optional[str] = wallet_data.get("paypal_address")
if not isinstance(paypal_address, str) or not bool(paypal_address.strip()):
message: str = "paypal_address is required"
raise InputError(status=error_codes.input_error_code, description=message)
# TODO update can update wallet to take into account Org Account Roles
if not self.can_update_wallet(organization_id=organization_id, uid=uid):
message: str = "You are not authorized to update this Wallet"
raise UnAuthenticatedError(status=error_codes.un_auth_error_code, description=message)
wallet_instance: WalletModel = WalletModel.query(WalletModel.organization_id == organization_id,
WalletModel.uid == uid).get()
# No need to test for wallet availability as can update returned True
amount_instance: AmountMixin = AmountMixin(amount_cents=available_funds, currency=currency)
wallet_instance.available_funds = amount_instance
wallet_instance.paypal_address = paypal_address
key: Optional[ndb.Key] = wallet_instance.put(retries=self._max_retries, timeout=self._max_timeout)
if not isinstance(key, ndb.Key):
message: str = "Database Error: occurred updating Wallet"
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
_kwargs: dict = dict(wallet_view=WalletView, organization_id=organization_id, uid=uid)
app_cache._schedule_cache_deletion(func=app_cache._delete_wallet_cache, kwargs=_kwargs)
kwargs: dict = dict(wallet_instance=wallet_instance, organization_id=organization_id, uid=uid)
self._base_email_scheduler(func=self.wallet_details_changed, kwargs=kwargs)
return jsonify(dict(status=True,
payload=wallet_instance.to_dict(),
message='successfully updated wallet')), status_codes.successfully_updated_code
@use_context
@handle_view_errors
async def update_wallet_async(self, wallet_data: dict) -> tuple:
"""
**update_wallet_async**
can update wallet asynchronous version of
:param wallet_data:
:return:
"""
uid: Optional[str] = wallet_data.get("uid")
organization_id: Optional[str] = wallet_data.get('organization_id')
# NOTE checking if organization_id or uid is present
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
available_funds: int = int(wallet_data.get("available_funds", 0))
if not isinstance(available_funds, int):
message: str = "available_funds is required"
raise InputError(status=error_codes.input_error_code, description=message)
currency: Optional[str] = wallet_data.get('currency')
if not isinstance(currency, str) or not bool(currency.strip()):
message: str = "currency symbol is required"
raise InputError(status=error_codes.input_error_code, description=message)
paypal_address: Optional[str] = wallet_data.get("paypal_address")
if not isinstance(paypal_address, str) or not bool(paypal_address.strip()):
message: str = "paypal_address is required"
raise InputError(status=error_codes.input_error_code, description=message)
# TODO update can update wallet to take into account Org Account Roles
if not self.can_update_wallet_async(organization_id=organization_id, uid=uid):
message: str = "You are not authorized to update this Wallet"
raise UnAuthenticatedError(status=error_codes.un_auth_error_code, description=message)
wallet_instance: WalletModel = WalletModel.query(WalletModel.organization_id == organization_id,
WalletModel.uid == uid).get_async().get_result()
# No need to test for wallet availability as can update returned True
amount_instance: AmountMixin = AmountMixin(amount_cents=available_funds, currency=currency)
wallet_instance.available_funds = amount_instance
wallet_instance.paypal_address = paypal_address
key: Optional[ndb.Key] = wallet_instance.put_async(
retries=self._max_retries, timeout=self._max_timeout).get_result()
if not isinstance(key, ndb.Key):
message: str = "Database Error: while updating wallet"
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
_kwargs: dict = dict(wallet_view=WalletView, organization_id=organization_id, uid=uid)
app_cache._schedule_cache_deletion(func=app_cache._delete_wallet_cache, kwargs=_kwargs)
kwargs: dict = dict(wallet_instance=wallet_instance, organization_id=organization_id, uid=uid)
self._base_email_scheduler(func=self.wallet_details_changed, kwargs=kwargs)
return jsonify(dict(status=True,
payload=wallet_instance.to_dict(),
message='successfully updated wallet')), status_codes.successfully_updated_code
@use_context
@handle_view_errors
def reset_wallet(self, wallet_data: dict) -> tuple:
"""
**reset_wallet**
resets wallet to their default values except the uid and organization_Id
:param wallet_data:
:return:
"""
uid: Optional[str] = wallet_data.get('uid')
organization_id: Optional[str] = wallet_data.get('organization_id')
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
currency: Optional[str] = wallet_data.get('currency')
if not isinstance(currency, str) or not bool(currency.strip()):
message: str = "currency is required"
raise InputError(status=error_codes.input_error_code, description=message)
if self.can_reset_wallet(organization_id=organization_id, uid=uid) is True:
message: str = "You are not authorized to reset this wallet"
raise UnAuthenticatedError(status=error_codes.un_auth_error_code, description=message)
wallet_instance: WalletModel = WalletModel.query(WalletModel.organization_id == organization_id,
WalletModel.uid == uid).get()
amount_instance: AmountMixin = AmountMixin(amount_cents=0, currency=currency)
wallet_instance.available_funds = amount_instance
key: Optional[ndb.Key] = wallet_instance.put(retries=self._max_retries, timeout=self._max_timeout)
if not isinstance(key, ndb.Key):
message: str = "Database Error: while updating wallet"
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
# Note scheduling cache deletion function
_kwargs: dict = dict(wallet_view=WalletView, organization_id=organization_id, uid=uid)
app_cache._schedule_cache_deletion(func=app_cache._delete_wallet_cache, kwargs=_kwargs)
# Note scheduling an email to send wallet details changed notifications
kwargs: dict = dict(wallet_instance=wallet_instance, organization_id=organization_id, uid=uid)
self._base_email_scheduler(func=self.wallet_details_changed, kwargs=kwargs)
return jsonify(dict(status=True,
payload=wallet_instance.to_dict(),
message='Wallet successfully updated')), status_codes.successfully_updated_code
@use_context
@handle_view_errors
async def reset_wallet_async(self, wallet_data: dict) -> tuple:
"""
**reset_wallet_async**
asynchronous version of reset wallet
:param wallet_data:
:return:
"""
uid: Optional[str] = wallet_data.get('uid')
organization_id: Optional[str] = wallet_data.get('organization_id')
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
currency: Optional[str] = wallet_data.get('currency')
if not isinstance(currency, str) or not bool(currency.strip()):
message: str = "currency is required"
raise InputError(status=error_codes.input_error_code, description=message)
if not await self.can_reset_wallet_async(organization_id=organization_id, uid=uid):
message: str = "You are not authorized to reset this wallet"
raise UnAuthenticatedError(status=error_codes.un_auth_error_code, description=message)
wallet_instance: WalletModel = WalletModel.query(WalletModel.organization_id == organization_id,
WalletModel.uid == uid).get_async().get_result()
amount_instance: AmountMixin = AmountMixin(amount_cents=0, currency=currency)
wallet_instance.available_funds = amount_instance
key: Optional[ndb.Key] = wallet_instance.put_async(
retries=self._max_retries, timeout=self._max_timeout).get_result()
if not isinstance(key, ndb.Key):
message: str = "Database error while resetting wallet"
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
# Note Scheduling task to delete caches
_kwargs: dict = dict(wallet_view=WalletView, organization_id=organization_id, uid=uid)
app_cache._schedule_cache_deletion(func=app_cache._delete_wallet_cache, kwargs=_kwargs)
# Note scheduling task to send Emails
kwargs: dict = dict(wallet_instance=wallet_instance, organization_id=organization_id, uid=uid)
self._base_email_scheduler(func=self.wallet_details_changed, kwargs=kwargs)
return jsonify(dict(status=True,
payload=wallet_instance.to_dict(),
message='Wallet successfully updated')), status_codes.successfully_updated_code
@use_context
@handle_view_errors
@app_cache.cache.memoize(timeout=return_ttl('short'))
def return_all_wallets(self, organization_id: Optional[str]) -> tuple:
"""
**return_all_wallets**
given an organization_id return all the organizations wallets
:param organization_id:
:return:
"""
if not isinstance(organization_id, str) or not bool(organization_id.strip()):
message: str = "organization_id is required"
raise UnAuthenticatedError(status=error_codes.un_auth_error_code, description=message)
wallet_list: List[WalletModel] = WalletModel.query(WalletModel.organization_id == organization_id).fetch()
payload: List[dict] = [wallet.to_dict() for wallet in wallet_list]
if payload:
return jsonify(dict(status=True,
payload=payload,
message='Wallets Found and Returned')), status_codes.status_ok_code
message: str = 'Data Not Found: Wallets not found meeting the search criteria'
return jsonify(dict(status=False, message=message)), status_codes.data_not_found_code
@use_context
@handle_view_errors
@app_cache.cache.memoize(timeout=return_ttl('short'))
async def return_all_wallets_async(self, organization_id: Optional[str]) -> tuple:
"""
**return_all_wallets_async**
given an organization_id return all the organizations wallets
:param organization_id:
:return:
"""
if not isinstance(organization_id, str) or not bool(organization_id.strip()):
message: str = "organization_id is required"
raise UnAuthenticatedError(status=error_codes.un_auth_error_code, description=message)
wallet_list: List[WalletModel] = WalletModel.query(
WalletModel.organization_id == organization_id).fetch_async().get_result()
payload: List[dict] = [wallet.to_dict() for wallet in wallet_list]
if payload:
message: str = 'Wallets found'
return jsonify(dict(status=True, payload=payload, message=message)), status_codes.status_ok_code
return jsonify(dict(status=False, message='wallets not found')), status_codes.data_not_found_code
@use_context
@handle_view_errors
def return_wallets_by_balance(self, organization_id: Optional[str],
lower_bound: int, higher_bound: int) -> tuple:
"""
**return_wallets_by_balance**
# TODO consider supplying lower_bound and higher_bound as a dict
return wallets with balances within lower_bound and higher_bound
:param organization_id:
:param lower_bound:
:param higher_bound:
:return:
"""
if not isinstance(organization_id, str) or not bool(organization_id.strip()):
message: str = "organization_id is required"
raise InputError(status=error_codes.input_error_code, description=message)
if not isinstance(lower_bound, int) or not isinstance(higher_bound, int):
message: str = "lower_bound and higher_bound are required"
raise InputError(status=error_codes.input_error_code, description=message)
wallet_list: List[WalletModel] = WalletModel.query(WalletModel.organization_id == organization_id).fetch()
payload: List[dict] = [wallet.to_dict() for wallet in wallet_list if
higher_bound < wallet.available_funds.amount_cents > lower_bound]
if payload:
message: str = 'Wallets returned'
return jsonify(dict(status=True, payload=payload, message=message)), status_codes.status_ok_code
message: str = "Data Not Found: There are no wallets found meeting your search criteria"
return jsonify(dict(status=False, message=message)), status_codes.data_not_found_code
@use_context
@handle_view_errors
async def return_wallets_by_balance_async(self, organization_id: Optional[str],
lower_bound: int, higher_bound: int) -> tuple:
"""
**return_wallets_by_balance_async**
# TODO - consider changing the function name to : return_wallets_by_balance_range_async
asynchronous version of return wallets by balance
:param organization_id:
:param lower_bound:
:param higher_bound:
:return:
"""
if not isinstance(organization_id, str) or not bool(organization_id.strip()):
message: str = "organization_id is required"
raise InputError(status=error_codes.input_error_code, description=message)
if not isinstance(lower_bound, int) or not isinstance(higher_bound, int):
message: str = "lower_bound and higher_bound are required"
raise InputError(status=error_codes.input_error_code, description=message)
wallet_list: List[WalletModel] = WalletModel.query(
WalletModel.organization_id == organization_id).fetch_async().get_result()
payload: List[dict] = [wallet.to_dict() for wallet in wallet_list if
higher_bound < wallet.available_funds.amount_cents > lower_bound]
if payload:
return jsonify(dict(status=True, payload=payload, message='wallets returned')), status_codes.status_ok_code
message: str = "Wallets not found"
return jsonify(dict(status=False, message=message)), status_codes.data_not_found_code
@use_context
@handle_view_errors
def wallet_transact(self, organization_id: Optional[str], uid: str,
add: int = None, sub: int = None) -> tuple:
"""
**wallet_transact**
# TODO -- consider providing an amount to add or subtract on a dict
perform a transaction on a wallet
:param organization_id:
:param uid:
:param add:
:param sub:
:return:
"""
# Raise InputError if any of this are not available
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
if not (isinstance(sub, int) or isinstance(add, int)):
message: str = "sub or add are required"
raise InputError(status=error_codes.input_error_code, description=message)
if not self.can_update_wallet(organization_id=organization_id, uid=uid):
message: str = "You are not authorized to perform a transaction on this wallet"
raise UnAuthenticatedError(status=error_codes.un_auth_error_code, description=message)
wallet_instance: WalletModel = WalletModel.query(WalletModel.organization_id == organization_id,
WalletModel.uid == uid).get()
if not isinstance(wallet_instance, WalletModel) or wallet_instance.uid != uid:
message: str = "Unable to find wallet - cannot perform transaction"
return jsonify({'status': False, 'message': message}), status_codes.data_not_found_code
if isinstance(sub, int):
wallet_instance.available_funds.amount_cents -= sub
if isinstance(add, int):
wallet_instance.available_funds.amount_cents += sub
key: Optional[ndb.Key] = wallet_instance.put()
if not isinstance(key, ndb.Key):
message: str = "General error updating database"
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
# Scheduling cache deletions
_kwargs: dict = dict(wallet_view=WalletView, organization_id=organization_id, uid=uid)
app_cache._schedule_cache_deletion(func=app_cache._delete_wallet_cache, kwargs=_kwargs)
# Scheduling emails
kwargs: dict = dict(wallet_instance=wallet_instance, organization_id=organization_id, uid=uid)
self._base_email_scheduler(func=self.send_balance_changed_notification, kwargs=kwargs)
message: str = "Successfully created transaction"
return jsonify(dict(status=True,
payload=wallet_instance.to_dict(),
message=message)), status_codes.successfully_updated_code
@use_context
@handle_view_errors
async def wallet_transact_async(self, organization_id: Optional[str], uid: str,
add: int = None, sub: int = None) -> tuple:
"""
**wallet_transact_async**
asynchronous version of wallet_transact
:param organization_id:
:param uid:
:param add:
:param sub:
:return:
"""
# Raise InputError if any of this are not available
self.raise_input_error_if_not_available(organization_id=organization_id, uid=uid)
if not (isinstance(sub, int) or isinstance(add, int)):
message: str = "sub or add are required"
raise InputError(status=error_codes.input_error_code, description=message)
if not self.can_update_wallet_async(organization_id=organization_id, uid=uid):
message: str = "You are not authorized to perform a transaction on this wallet"
raise UnAuthenticatedError(status=error_codes.un_auth_error_code, description=message)
wallet_instance: WalletModel = WalletModel.query(WalletModel.organization_id == organization_id,
WalletModel.uid == uid).get_async().get_result()
if not isinstance(wallet_instance, WalletModel) or wallet_instance.uid != uid:
message: str = "Unable to find wallet - cannot perform transaction"
return jsonify(dict(status=False, message=message)), status_codes.data_not_found_code
if isinstance(sub, int):
wallet_instance.available_funds.amount_cents -= sub
if isinstance(add, int):
wallet_instance.available_funds.amount_cents += add
key: Optional[ndb.Key] = wallet_instance.put_async().get_result()
if not isinstance(key, ndb.Key):
message: str = "General error updating database"
raise DataServiceError(status=error_codes.data_service_error_code, description=message)
_kwargs: dict = dict(wallet_view=WalletView, organization_id=organization_id, uid=uid)
app_cache._schedule_cache_deletion(func=app_cache._delete_wallet_cache, kwargs=_kwargs)
message: str = "Successfully created transaction"
return jsonify(dict(status=True,
payload=wallet_instance.to_dict(),
message=message)), status_codes.successfully_updated_code
# noinspection PyUnusedLocal
@use_context
@handle_view_errors
def _wallet_withdraw_funds(self, organization_id: Optional[str], uid: str, amount: int) -> tuple:
"""
**wallet_withdraw_funds**
** for system admin or system calls only
organization must contain settings for funds withdrawals
i.e from which paypal account may the withdrawal occur
and so on.
steps create a withdrawal transaction,
with the requested amount,
await admin approvals,
cron job must run and process all approved withdrawals
cron job must retain all the results of the transactions and save on the database
:param organization_id: string ->
:param uid: string ->
:param amount: AmountMixin ->
:return:
"""
# TODO - complete this method
_kwargs: dict = dict(wallet_view=WalletView, organization_id=organization_id, uid=uid)
app_cache._schedule_cache_deletion(func=app_cache._delete_wallet_cache, kwargs=_kwargs)
return "OK", status_codes.status_ok_code
| 47.5683 | 119 | 0.660704 | 5,227 | 45,618 | 5.504879 | 0.068873 | 0.09585 | 0.055119 | 0.059359 | 0.849482 | 0.83287 | 0.811114 | 0.796379 | 0.791166 | 0.782721 | 0 | 0.000385 | 0.259963 | 45,618 | 958 | 120 | 47.617954 | 0.851951 | 0.126091 | 0 | 0.792636 | 0 | 0 | 0.155285 | 0.029521 | 0 | 0 | 0 | 0.008351 | 0 | 1 | 0.03876 | false | 0 | 0.021318 | 0 | 0.124031 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d5ab4351484fab03745bc17d4b53c6f4e3ded66e | 1,767 | py | Python | Users/migrations/0006_auto_20170701_1932.py | tifat58/lsv-c4-django-webexperiment | 6aa706ad36b9766fbbf4323fdcd6e5d7420f1e16 | [
"Apache-2.0"
] | 1 | 2022-03-16T11:17:06.000Z | 2022-03-16T11:17:06.000Z | Users/migrations/0006_auto_20170701_1932.py | tifat58/lsv-c4-django-webexperiment | 6aa706ad36b9766fbbf4323fdcd6e5d7420f1e16 | [
"Apache-2.0"
] | null | null | null | Users/migrations/0006_auto_20170701_1932.py | tifat58/lsv-c4-django-webexperiment | 6aa706ad36b9766fbbf4323fdcd6e5d7420f1e16 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.9 on 2017-07-01 17:32
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('Users', '0005_auto_20170514_1341'),
]
operations = [
migrations.AddField(
model_name='country',
name='country_name_mk',
field=models.CharField(max_length=70, null=True, verbose_name='country name'),
),
migrations.AddField(
model_name='country',
name='country_name_sl',
field=models.CharField(max_length=70, null=True, verbose_name='country name'),
),
migrations.AddField(
model_name='educationdegree',
name='name_mk',
field=models.CharField(max_length=256, null=True),
),
migrations.AddField(
model_name='educationdegree',
name='name_sl',
field=models.CharField(max_length=256, null=True),
),
migrations.AddField(
model_name='gender',
name='name_mk',
field=models.CharField(max_length=64, null=True),
),
migrations.AddField(
model_name='gender',
name='name_sl',
field=models.CharField(max_length=64, null=True),
),
migrations.AddField(
model_name='language',
name='language_name_mk',
field=models.CharField(max_length=30, null=True, verbose_name='language'),
),
migrations.AddField(
model_name='language',
name='language_name_sl',
field=models.CharField(max_length=30, null=True, verbose_name='language'),
),
]
| 31.553571 | 90 | 0.578947 | 183 | 1,767 | 5.371585 | 0.278689 | 0.14649 | 0.187182 | 0.219736 | 0.807731 | 0.807731 | 0.807731 | 0.769074 | 0.596134 | 0.56765 | 0 | 0.040519 | 0.301641 | 1,767 | 55 | 91 | 32.127273 | 0.756078 | 0.037917 | 0 | 0.75 | 1 | 0 | 0.135533 | 0.013553 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
63ae5f06544a9a9b303e13b4a014754b3c822f7c | 26,210 | py | Python | jasmin/protocols/http/test/test_server.py | l1kw1d/jasmin | a8ea3d66cac5ecc9e79f4af231069b981668f41c | [
"Apache-2.0"
] | null | null | null | jasmin/protocols/http/test/test_server.py | l1kw1d/jasmin | a8ea3d66cac5ecc9e79f4af231069b981668f41c | [
"Apache-2.0"
] | null | null | null | jasmin/protocols/http/test/test_server.py | l1kw1d/jasmin | a8ea3d66cac5ecc9e79f4af231069b981668f41c | [
"Apache-2.0"
] | null | null | null | import json
from datetime import datetime
from twisted.trial.unittest import TestCase
from twisted.internet import defer
from twisted_web_test_utils import DummySite
from jasmin.protocols.http.configs import HTTPApiConfig
from jasmin.protocols.http.server import HTTPApi
from jasmin.protocols.http.stats import HttpAPIStatsCollector
from jasmin.routing.router import RouterPB
from jasmin.routing.configs import RouterPBConfig
from jasmin.managers.clients import SMPPClientManagerPB
from jasmin.managers.configs import SMPPClientPBConfig
from jasmin.routing.jasminApi import User, Group, SmppClientConnector
from jasmin.routing.Filters import UserFilter, GroupFilter
from jasmin.routing.Routes import DefaultRoute, StaticMTRoute
class HTTPApiTestCases(TestCase):
def setUp(self):
# Instanciate a RouterPB (a requirement for HTTPApi)
RouterPBConfigInstance = RouterPBConfig()
self.RouterPB_f = RouterPB()
self.RouterPB_f.setConfig(RouterPBConfigInstance)
# Provision Router with User and Route
self.g1 = Group(1)
self.u1 = User(1, self.g1, 'fourat', 'correct')
self.RouterPB_f.groups.append(self.g1)
self.RouterPB_f.users.append(self.u1)
self.RouterPB_f.mt_routing_table.add(DefaultRoute(SmppClientConnector('abc')), 0)
# Instanciate a SMPPClientManagerPB (a requirement for HTTPApi)
SMPPClientPBConfigInstance = SMPPClientPBConfig()
SMPPClientPBConfigInstance.authentication = False
clientManager_f = SMPPClientManagerPB()
clientManager_f.setConfig(SMPPClientPBConfigInstance)
httpApiConfigInstance = HTTPApiConfig()
self.web = DummySite(HTTPApi(self.RouterPB_f, clientManager_f, httpApiConfigInstance))
def tearDown(self):
self.RouterPB_f.cancelPersistenceTimer()
class PingTestCases(HTTPApiTestCases):
@defer.inlineCallbacks
def test_basic_ping(self):
response = yield self.web.get("ping")
self.assertEqual(response.responseCode, 200)
self.assertEqual(response.value(), "Jasmin/PONG")
class AuthenticationTestCases(HTTPApiTestCases):
@defer.inlineCallbacks
def test_send_normal(self):
response = yield self.web.get("send", {'username': self.u1.username,
'password': 'correct',
'to': '98700177',
'content': 'anycontent'})
self.assertEqual(response.responseCode, 500)
self.assertNotEqual(response.value(), "Error \"Authentication failure for username:%s\"" % self.u1.username)
@defer.inlineCallbacks
def test_rate_normal(self):
response = yield self.web.get("rate", {'username': self.u1.username,
'password': 'correct',
'to': '98700177'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(response.value(), '{"submit_sm_count": 1, "unit_rate": 0.0}')
@defer.inlineCallbacks
def test_balance_normal(self):
response = yield self.web.get("balance", {'username': self.u1.username,
'password': 'correct'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(response.value(), '{"balance": "ND", "sms_count": "ND"}')
@defer.inlineCallbacks
def test_send_disabled_user(self):
self.u1.disable()
response = yield self.web.get("send", {'username': self.u1.username,
'password': 'correct',
'to': '98700177',
'content': 'anycontent'})
self.assertEqual(response.responseCode, 403)
self.assertEqual(response.value(), "Error \"Authentication failure for username:%s\"" % self.u1.username)
@defer.inlineCallbacks
def test_rate_disabled_user(self):
self.u1.disable()
response = yield self.web.get("rate", {'username': self.u1.username,
'password': 'correct',
'to': '98700177'})
self.assertEqual(response.responseCode, 403)
self.assertEqual(response.value(), '"Authentication failure for username:fourat"')
@defer.inlineCallbacks
def test_balance_disabled_user(self):
self.u1.disable()
response = yield self.web.get("balance", {'username': self.u1.username,
'password': 'correct'})
self.assertEqual(response.responseCode, 403)
self.assertEqual(response.value(), '"Authentication failure for username:fourat"')
@defer.inlineCallbacks
def test_send_disabled_group(self):
self.g1.disable()
response = yield self.web.get("send", {'username': self.u1.username,
'password': 'correct',
'to': '98700177',
'content': 'anycontent'})
self.assertEqual(response.responseCode, 403)
self.assertEqual(response.value(), "Error \"Authentication failure for username:%s\"" % self.u1.username)
@defer.inlineCallbacks
def test_rate_disabled_group(self):
self.g1.disable()
response = yield self.web.get("rate", {'username': self.u1.username,
'password': 'correct',
'to': '98700177'})
self.assertEqual(response.responseCode, 403)
self.assertEqual(response.value(), '"Authentication failure for username:fourat"')
@defer.inlineCallbacks
def test_balance_disabled_group(self):
self.g1.disable()
response = yield self.web.get("balance", {'username': self.u1.username,
'password': 'correct'})
self.assertEqual(response.responseCode, 403)
self.assertEqual(response.value(), '"Authentication failure for username:fourat"')
class SendTestCases(HTTPApiTestCases):
username = 'fourat'
@defer.inlineCallbacks
def test_send_with_correct_args(self):
response = yield self.web.get("send", {'username': self.username,
'password': 'incorrec',
'to': '98700177',
'content': 'anycontent'})
self.assertEqual(response.responseCode, 403)
self.assertEqual(response.value(), "Error \"Authentication failure for username:%s\"" % self.username)
@defer.inlineCallbacks
def test_send_with_incorrect_args(self):
response = yield self.web.get("send", {'username': self.username,
'passwd': 'correct',
'to': '98700177',
'content': 'anycontent'})
self.assertEqual(response.responseCode, 400)
self.assertEqual(response.value(), "Error \"Mandatory argument [password] is not found.\"")
@defer.inlineCallbacks
def test_send_with_auth_success(self):
response = yield self.web.get("send", {'username': self.username,
'password': 'correct',
'to': '98700177',
'content': 'anycontent'})
self.assertEqual(response.responseCode, 500)
# This is a normal error since SMPPClientManagerPB is not really running
self.assertEqual(response.value(), "Error \"Cannot send submit_sm, check SMPPClientManagerPB log file for details\"")
@defer.inlineCallbacks
def test_send_with_priority(self):
params = {'username': self.username,
'password': 'correct',
'to': '98700177',
'content': 'anycontent'}
# Priority definitions
valid_priorities = {0, 1, 2, 3}
for params['priority'] in valid_priorities:
response = yield self.web.get("send", params)
self.assertEqual(response.responseCode, 500)
# This is a normal error since SMPPClientManagerPB is not really running
self.assertEqual(response.value(), "Error \"Cannot send submit_sm, check SMPPClientManagerPB log file for details\"")
# Priority definitions
invalid_priorities = {-1, 'a', 44, 4}
for params['priority'] in invalid_priorities:
response = yield self.web.get("send", params)
self.assertEqual(response.responseCode, 400)
# This is a normal error since SMPPClientManagerPB is not really running
self.assertEqual(response.value(), 'Error "Argument [priority] has an invalid value: [%s]."' % params['priority'])
@defer.inlineCallbacks
def test_send_with_validity_period(self):
params = {'username': self.username,
'password': 'correct',
'to': '98700177',
'content': 'anycontent'}
# Validity period definitions
valid_vps = {0, 1, 2, 3, 4000}
for params['validity-period'] in valid_vps:
response = yield self.web.get("send", params)
self.assertEqual(response.responseCode, 500)
# This is a normal error since SMPPClientManagerPB is not really running
self.assertEqual(response.value(), "Error \"Cannot send submit_sm, check SMPPClientManagerPB log file for details\"")
# Validity period definitions
invalid_vps = {-1, 'a', 1.0}
for params['validity-period'] in invalid_vps:
response = yield self.web.get("send", params)
self.assertEqual(response.responseCode, 400)
# This is a normal error since SMPPClientManagerPB is not really running
self.assertEqual(response.value(), 'Error "Argument [validity-period] has an invalid value: [%s]."' % params['validity-period'])
@defer.inlineCallbacks
def test_send_with_inurl_dlr(self):
params = {'username': self.username,
'password': 'correct',
'to': '98700177',
'content': 'anycontent'}
# URL definitions
valid_urls = {'http://127.0.0.1/receipt',
'http://127.0.0.1:99/receipt',
'https://127.0.0.1/receipt',
'https://127.0.0.1:99/receipt',
'https://127.0.0.1/receipt.html',
'https://127.0.0.1:99/receipt.html',
'http://www.google.com/receipt',
'http://www.google.com:99/receipt',
'http://www.google.com/receipt.html',
'http://www.google.com:99/receipt.html',
'http://www.google.com/',
'http://www.google.com:99/',
'http://www.google.com',
'http://www.google.com:99'}
import time
for params['dlr-url'] in valid_urls:
response = yield self.web.get("send", params)
self.assertEqual(response.responseCode, 500)
self.assertEqual(response.value(), "Error \"Cannot send submit_sm, check SMPPClientManagerPB log file for details\"")
# URL definitions
invalid_urls = {'ftp://127.0.0.1/receipt',
'smtp://127.0.0.1:99/receipt',
'smpp://127.0.0.1/receipt',
'127.0.0.1:99',
'www.google.com',
'www.google.com:99/'}
for params['dlr-url'] in invalid_urls:
response = yield self.web.get("send", params)
self.assertEqual(response.responseCode, 400)
self.assertEqual(response.value(), "Error \"Argument [dlr-url] has an invalid value: [%s].\"" % params['dlr-url'])
@defer.inlineCallbacks
def test_send_without_args(self):
response = yield self.web.get("send")
self.assertEqual(response.responseCode, 400)
self.assertEqual(response.value(), "Error \"Mandatory argument [username] is not found.\"")
@defer.inlineCallbacks
def test_send_with_some_args(self):
response = yield self.web.get("send", {'username': self.username})
self.assertEqual(response.responseCode, 400)
self.assertEqual(response.value()[:25], "Error \"Mandatory argument")
class RateTestCases(HTTPApiTestCases):
def setUp(self):
HTTPApiTestCases.setUp(self)
# Provision Router with additional Users and Routes
u2 = User(2, Group(2), 'user2', 'correct')
u3 = User(3, Group(2), 'user3', 'correct')
u3.mt_credential.setQuota('balance', 10)
self.RouterPB_f.users.append(u2)
self.RouterPB_f.users.append(u3)
filters = [GroupFilter(Group(2))]
route = StaticMTRoute(filters, SmppClientConnector('abc'), 1.5)
self.RouterPB_f.mt_routing_table.add(route, 2)
@defer.inlineCallbacks
def test_rate_with_correct_args(self):
response = yield self.web.get("rate", {'username': 'fourat',
'password': 'incorrec',
'to': '98700177'})
self.assertEqual(response.responseCode, 403)
self.assertEqual(json.loads(response.value()), u'Authentication failure for username:%s' % 'fourat')
@defer.inlineCallbacks
def test_rate_with_incorrect_args(self):
response = yield self.web.get("rate", {'username': 'fourat',
'passwd': 'correct',
'content': 'hello',
'to': '98700177'})
self.assertEqual(response.responseCode, 400)
self.assertEqual(json.loads(response.value()), u'Mandatory argument [password] is not found.')
@defer.inlineCallbacks
def test_rate_with_auth_success(self):
response = yield self.web.get("rate", {'username': 'fourat',
'password': 'correct',
'to': '98700177'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(json.loads(response.value()), {u'submit_sm_count': 1, u'unit_rate': 0.0})
@defer.inlineCallbacks
def test_rate_rated_route_unlimited_balance(self):
response = yield self.web.get("rate", {'username': 'user2',
'password': 'correct',
'to': '98700177'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(json.loads(response.value()), {u'submit_sm_count': 1, u'unit_rate': 0.0})
@defer.inlineCallbacks
def test_rate_rated_route_unlimited_balance_long_content(self):
response = yield self.web.get("rate", {'username': 'user2',
'password': 'correct',
'to': '98700177',
'content': 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(json.loads(response.value()), {u'submit_sm_count': 2, u'unit_rate': 0.0})
@defer.inlineCallbacks
def test_rate_rated_route_defined_balance(self):
response = yield self.web.get("rate", {'username': 'user3',
'password': 'correct',
'to': '98700177'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(json.loads(response.value()), {u'submit_sm_count': 1, u'unit_rate': 1.5})
@defer.inlineCallbacks
def test_rate_rated_route_defined_balance_long_content(self):
response = yield self.web.get("rate", {'username': 'user3',
'password': 'correct',
'to': '98700177',
'content': 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(json.loads(response.value()), {u'submit_sm_count': 2, u'unit_rate': 1.5})
class BalanceTestCases(HTTPApiTestCases):
def setUp(self):
HTTPApiTestCases.setUp(self)
# Provision Router with additional Users and Routes
u2 = User(2, Group(2), 'user2', 'correct')
u2.mt_credential.setQuota('balance', 100.2)
u2.mt_credential.setQuota('submit_sm_count', 30)
u3 = User(3, Group(2), 'user3', 'correct')
u3.mt_credential.setQuota('balance', 10)
self.RouterPB_f.users.append(u2)
self.RouterPB_f.users.append(u3)
@defer.inlineCallbacks
def test_balance_with_correct_args(self):
response = yield self.web.get("balance", {'username': 'fourat',
'password': 'incorrec'})
self.assertEqual(response.responseCode, 403)
self.assertEqual(json.loads(response.value()), u'Authentication failure for username:%s' % 'fourat')
@defer.inlineCallbacks
def test_balance_with_incorrect_args(self):
response = yield self.web.get("balance", {'username': 'fourat',
'passwd': 'correct'})
self.assertEqual(response.responseCode, 400)
self.assertEqual(json.loads(response.value()), u'Mandatory argument [password] is not found.')
@defer.inlineCallbacks
def test_balance_with_auth_success_unlimited_quotas(self):
response = yield self.web.get("balance", {'username': 'fourat',
'password': 'correct'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(json.loads(response.value()), {u'balance': u'ND', u'sms_count': u'ND'})
@defer.inlineCallbacks
def test_balance_with_auth_success_defined_quotas_u2(self):
response = yield self.web.get("balance", {'username': 'user2',
'password': 'correct'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(json.loads(response.value()), {u'balance': 100.2, u'sms_count': 30})
@defer.inlineCallbacks
def test_balance_with_auth_success_defined_quotas_u3(self):
response = yield self.web.get("balance", {'username': 'user3',
'password': 'correct'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(json.loads(response.value()), {u'balance': 10, u'sms_count': u'ND'})
class UserStatsTestCases(HTTPApiTestCases):
username = 'fourat'
@defer.inlineCallbacks
def test_send_failure(self):
# Save before
_submit_sm_request_count = self.RouterPB_f.getUser(1).getCnxStatus().httpapi['submit_sm_request_count']
response = yield self.web.get("send", {'username': 'fourat',
'password': 'incorrec',
'to': '98700177',
'content': 'anycontent'})
self.assertNotEqual(response.responseCode, 200)
self.assertEqual(_submit_sm_request_count+0, self.RouterPB_f.getUser(1).getCnxStatus().httpapi['submit_sm_request_count'])
@defer.inlineCallbacks
def test_send_success(self):
# Save before
_submit_sm_request_count = self.RouterPB_f.getUser(1).getCnxStatus().httpapi['submit_sm_request_count']
response = yield self.web.get("send", {'username': 'fourat',
'password': 'correct',
'to': '98700177',
'content': 'anycontent'})
self.assertEqual(response.responseCode, 500)
self.assertEqual(_submit_sm_request_count+1, self.RouterPB_f.getUser(1).getCnxStatus().httpapi['submit_sm_request_count'])
@defer.inlineCallbacks
def test_balance_failure(self):
# Save before
_balance_request_count = self.RouterPB_f.getUser(1).getCnxStatus().httpapi['balance_request_count']
response = yield self.web.get("balance", {'username': 'fourat',
'password': 'incorrec'})
self.assertNotEqual(response.responseCode, 200)
self.assertEqual(_balance_request_count+0, self.RouterPB_f.getUser(1).getCnxStatus().httpapi['balance_request_count'])
@defer.inlineCallbacks
def test_balance_success(self):
# Save before
_balance_request_count = self.RouterPB_f.getUser(1).getCnxStatus().httpapi['balance_request_count']
response = yield self.web.get("balance", {'username': 'fourat',
'password': 'correct'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(_balance_request_count+1, self.RouterPB_f.getUser(1).getCnxStatus().httpapi['balance_request_count'])
@defer.inlineCallbacks
def test_rate_failure(self):
# Save before
_rate_request_count = self.RouterPB_f.getUser(1).getCnxStatus().httpapi['rate_request_count']
response = yield self.web.get("rate", {'username': 'fourat',
'password': 'incorrec',
'to': '98700177'})
self.assertNotEqual(response.responseCode, 200)
self.assertEqual(_rate_request_count+0, self.RouterPB_f.getUser(1).getCnxStatus().httpapi['rate_request_count'])
@defer.inlineCallbacks
def test_rate_success(self):
# Save before
_rate_request_count = self.RouterPB_f.getUser(1).getCnxStatus().httpapi['rate_request_count']
response = yield self.web.get("rate", {'username': 'fourat',
'password': 'correct',
'to': '98700177'})
self.assertEqual(response.responseCode, 200)
self.assertEqual(_rate_request_count+1, self.RouterPB_f.getUser(1).getCnxStatus().httpapi['rate_request_count'])
class StatsTestCases(HTTPApiTestCases):
username = 'fourat'
def setUp(self):
HTTPApiTestCases.setUp(self)
# Re-init stats singleton collector
created_at = HttpAPIStatsCollector().get().get('created_at')
HttpAPIStatsCollector().get().init()
HttpAPIStatsCollector().get().set('created_at', created_at)
@defer.inlineCallbacks
def test_send_with_auth_failure(self):
stats = HttpAPIStatsCollector().get()
self.assertTrue(type(stats.get('created_at')) == datetime)
self.assertEqual(stats.get('request_count'), 0)
self.assertEqual(stats.get('last_request_at'), 0)
self.assertEqual(stats.get('auth_error_count'), 0)
self.assertEqual(stats.get('route_error_count'), 0)
self.assertEqual(stats.get('throughput_error_count'), 0)
self.assertEqual(stats.get('charging_error_count'), 0)
self.assertEqual(stats.get('server_error_count'), 0)
self.assertEqual(stats.get('success_count'), 0)
self.assertEqual(stats.get('last_success_at'), 0)
response = yield self.web.get("send", {'username': self.username,
'password': 'incorrec',
'to': '98700177',
'content': 'anycontent'})
self.assertEqual(response.responseCode, 403)
self.assertEqual(response.value(), "Error \"Authentication failure for username:%s\"" % self.username)
self.assertTrue(type(stats.get('created_at')) == datetime)
self.assertEqual(stats.get('request_count'), 1)
self.assertTrue(type(stats.get('last_request_at')) == datetime)
self.assertEqual(stats.get('auth_error_count'), 1)
self.assertEqual(stats.get('route_error_count'), 0)
self.assertEqual(stats.get('throughput_error_count'), 0)
self.assertEqual(stats.get('charging_error_count'), 0)
self.assertEqual(stats.get('server_error_count'), 0)
self.assertEqual(stats.get('success_count'), 0)
self.assertEqual(stats.get('last_success_at'), 0)
@defer.inlineCallbacks
def test_send_with_auth_success(self):
stats = HttpAPIStatsCollector().get()
response = yield self.web.get("send", {'username': self.username,
'password': 'correct',
'to': '98700177',
'content': 'anycontent'})
self.assertEqual(response.responseCode, 500)
# This is a normal error since SMPPClientManagerPB is not really running
self.assertEqual(response.value(), "Error \"Cannot send submit_sm, check SMPPClientManagerPB log file for details\"")
self.assertTrue(type(stats.get('created_at')) == datetime)
self.assertEqual(stats.get('request_count'), 1)
self.assertTrue(type(stats.get('last_request_at')) == datetime)
self.assertEqual(stats.get('auth_error_count'), 0)
self.assertEqual(stats.get('route_error_count'), 0)
self.assertEqual(stats.get('throughput_error_count'), 0)
self.assertEqual(stats.get('charging_error_count'), 0)
self.assertEqual(stats.get('server_error_count'), 1)
self.assertEqual(stats.get('success_count'), 0)
self.assertEqual(stats.get('last_success_at'), 0)
| 49.266917 | 229 | 0.593094 | 2,588 | 26,210 | 5.87442 | 0.082303 | 0.101625 | 0.090772 | 0.053937 | 0.833059 | 0.809051 | 0.777215 | 0.751694 | 0.724988 | 0.68914 | 0 | 0.030248 | 0.287333 | 26,210 | 531 | 230 | 49.359699 | 0.783661 | 0.034758 | 0 | 0.65 | 0 | 0.042857 | 0.167524 | 0.025718 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.102381 | false | 0.090476 | 0.038095 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
63b6cd9472c3867e408d7038bad1e12836f001bd | 8,589 | py | Python | experiments/gbnf/model/init_model.py | robert-giaquinto/survae_flows | 4d7dc638f77c48ad3c8393b967c33ac9dbad60fe | [
"MIT"
] | 2 | 2021-03-06T19:37:39.000Z | 2022-01-09T11:19:45.000Z | experiments/gbnf/model/init_model.py | robert-giaquinto/survae_flows | 4d7dc638f77c48ad3c8393b967c33ac9dbad60fe | [
"MIT"
] | null | null | null | experiments/gbnf/model/init_model.py | robert-giaquinto/survae_flows | 4d7dc638f77c48ad3c8393b967c33ac9dbad60fe | [
"MIT"
] | null | null | null | import torch
import os
from model.vae_compressive_flow import VAECompressiveFlow
from model.multilevel_compressive_flow import MultilevelCompressiveFlow
from model.pool_flow import PoolFlow
from model.cond_pool_flow import CondPoolFlow
from model.sr_pool_flow import SRPoolFlow
from model.legacy_sr_pool_flow import LegacySRPoolFlow
def init_model(args, data_shape, cond_shape=None, legacy=False):
"""
Putting this function in a seperate file to avoid a circular reference, since
GBNF uses the same function to build the ensemble
"""
if args.super_resolution:
if legacy:
model = LegacySRPoolFlow(data_shape=data_shape,
cond_shape=cond_shape,
num_bits=args.num_bits,
num_scales=args.num_scales,
num_steps=args.num_steps,
actnorm=args.actnorm,
conditional_channels=args.conditional_channels,
lowres_encoder_channels=args.lowres_encoder_channels,
lowres_encoder_blocks=args.lowres_encoder_blocks,
lowres_encoder_depth=args.lowres_encoder_depth,
lowres_upsampler_channels=args.lowres_upsampler_channels,
pooling=args.flow,
compression_ratio=args.compression_ratio,
coupling_network=args.coupling_network,
coupling_blocks=args.coupling_blocks,
coupling_channels=args.coupling_channels,
coupling_depth=args.coupling_depth,
coupling_dropout=args.coupling_dropout,
coupling_gated_conv=args.coupling_gated_conv,
coupling_mixtures=args.coupling_mixtures,
dequant=args.dequant,
dequant_steps=args.dequant_steps,
dequant_context=args.dequant_context,
augment_size=args.augment_size,
checkerboard_scales=args.checkerboard_scales)
else:
model = SRPoolFlow(data_shape=data_shape,
cond_shape=cond_shape,
num_bits=args.num_bits,
num_scales=args.num_scales,
num_steps=args.num_steps,
actnorm=args.actnorm,
conditional_channels=args.conditional_channels,
lowres_encoder_channels=args.lowres_encoder_channels,
lowres_encoder_blocks=args.lowres_encoder_blocks,
lowres_encoder_depth=args.lowres_encoder_depth,
lowres_upsampler_channels=args.lowres_upsampler_channels,
pooling=args.flow,
compression_ratio=args.compression_ratio,
coupling_network=args.coupling_network,
coupling_blocks=args.coupling_blocks,
coupling_channels=args.coupling_channels,
coupling_depth=args.coupling_depth,
coupling_dropout=args.coupling_dropout,
coupling_gated_conv=args.coupling_gated_conv,
coupling_mixtures=args.coupling_mixtures,
dequant=args.dequant,
dequant_steps=args.dequant_steps,
dequant_context=args.dequant_context,
dequant_blocks=args.dequant_blocks,
augment_size=args.augment_size,
augment_steps=args.augment_steps,
augment_context=args.augment_context,
augment_blocks=args.augment_blocks,
checkerboard_scales=args.checkerboard_scales)
elif args.flow == "vae":
model = VAECompressiveFlow(data_shape=data_shape,
num_bits=args.num_bits,
base_distribution=args.base_distribution,
num_scales=args.num_scales,
num_steps=args.num_steps,
actnorm=args.actnorm,
latent_size=args.latent_size,
vae_hidden_units=args.vae_hidden_units,
dequant=args.dequant,
dequant_steps=args.dequant_steps,
dequant_context=args.dequant_context,
coupling_network=args.coupling_network,
coupling_blocks=args.coupling_blocks,
coupling_channels=args.coupling_channels,
coupling_depth=args.coupling_depth,
coupling_dropout=args.coupling_dropout,
coupling_gated_conv=args.coupling_gated_conv,
coupling_mixtures=args.coupling_mixtures)
elif args.flow == "mvae":
model = MultilevelCompressiveFlow(data_shape=data_shape,
num_bits=args.num_bits,
base_distribution=args.base_distribution,
num_scales=args.num_scales,
num_steps=args.num_steps,
actnorm=args.actnorm,
vae_hidden_units=args.vae_hidden_units,
dequant=args.dequant,
dequant_steps=args.dequant_steps,
dequant_context=args.dequant_context,
coupling_network=args.coupling_network,
coupling_blocks=args.coupling_blocks,
coupling_channels=args.coupling_channels,
coupling_depth=args.coupling_depth,
coupling_dropout=args.coupling_dropout,
coupling_gated_conv=args.coupling_gated_conv,
coupling_mixtures=args.coupling_mixtures)
elif args.flow in ["max", "slice", "none", "bijective"]:
model = PoolFlow(data_shape=data_shape,
num_bits=args.num_bits,
num_scales=args.num_scales,
num_steps=args.num_steps,
actnorm=args.actnorm,
pooling=args.flow,
compression_ratio=args.compression_ratio,
dequant=args.dequant,
dequant_steps=args.dequant_steps,
dequant_context=args.dequant_context,
dequant_blocks=args.dequant_blocks,
coupling_network=args.coupling_network,
coupling_blocks=args.coupling_blocks,
coupling_channels=args.coupling_channels,
coupling_depth=args.coupling_depth,
coupling_dropout=args.coupling_dropout,
coupling_gated_conv=args.coupling_gated_conv,
coupling_mixtures=args.coupling_mixtures,
augment_size=args.augment_size,
augment_steps=args.augment_steps,
augment_context=args.augment_context,
augment_blocks=args.augment_blocks,
checkerboard_scales=args.checkerboard_scales)
else:
raise ValueError(f"No model defined for {args.flow} flows")
return model
| 60.062937 | 94 | 0.49412 | 682 | 8,589 | 5.865103 | 0.134897 | 0.105 | 0.0425 | 0.0225 | 0.82625 | 0.81975 | 0.80775 | 0.80775 | 0.795 | 0.79175 | 0 | 0 | 0.459425 | 8,589 | 142 | 95 | 60.485915 | 0.861512 | 0.014786 | 0 | 0.830769 | 0 | 0 | 0.007818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007692 | false | 0 | 0.061538 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
891fdee624926809c08e3d56b167a90bcbf9a86b | 76 | py | Python | spts/scripts/spts_gui.py | FilipeMaia/spts | de4eb2920b675537da611c7301d4d5a9565a1ab1 | [
"BSD-2-Clause"
] | null | null | null | spts/scripts/spts_gui.py | FilipeMaia/spts | de4eb2920b675537da611c7301d4d5a9565a1ab1 | [
"BSD-2-Clause"
] | null | null | null | spts/scripts/spts_gui.py | FilipeMaia/spts | de4eb2920b675537da611c7301d4d5a9565a1ab1 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/local/bin/python3
import spts.gui.spts_gui
spts.gui.spts_gui.main()
| 15.2 | 24 | 0.763158 | 14 | 76 | 4 | 0.571429 | 0.5 | 0.589286 | 0.75 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.065789 | 76 | 4 | 25 | 19 | 0.774648 | 0.302632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
983dfadbdc0b04af5f775e91b480c9a99ef19891 | 2,693 | py | Python | python/tests/test_find_edge.py | YahyaOmari/data-structures-and-algorithms | 86c1bc892ef3b62238555548f460065ac24c5ce3 | [
"MIT"
] | null | null | null | python/tests/test_find_edge.py | YahyaOmari/data-structures-and-algorithms | 86c1bc892ef3b62238555548f460065ac24c5ce3 | [
"MIT"
] | 1 | 2021-05-04T21:33:34.000Z | 2021-05-04T21:33:34.000Z | python/tests/test_find_edge.py | YahyaOmari/data-structures-and-algorithms | 86c1bc892ef3b62238555548f460065ac24c5ce3 | [
"MIT"
] | null | null | null | from challenges.graph.graph import *
def test_edge():
graph = Graph()
node_a = graph.add_node('a')
node_b = graph.add_node('b')
node_c = graph.add_node('c')
node_d = graph.add_node('d')
node_e = graph.add_node('e')
node_f = graph.add_node('f')
graph.add_edge(node_a,node_c, 5)
graph.add_edge(node_a,node_d,5)
graph.add_edge(node_b,node_c, 1)
graph.add_edge(node_b,node_f, 4)
graph.add_edge(node_c,node_e, 9)
graph.add_edge(node_d ,node_e, 5)
graph.add_edge(node_e,node_f, 7)
graph.get_nodes()
graph.get_neighbors(node_a)[0].weight
graph.get_neighbors(node_b)[0].weight
graph.get_neighbors(node_c)[0].weight
graph.get_neighbors(node_d)[0].weight
graph.get_neighbors(node_e)[0].weight
graph.get_neighbors(node_f)[0].weight
actual = graph.business_trip([node_c ,node_e])
expect = (True, '9$')
assert expect == actual
def test_edge2():
graph = Graph()
node_a = graph.add_node('a')
node_b = graph.add_node('b')
node_c = graph.add_node('c')
node_d = graph.add_node('d')
node_e = graph.add_node('e')
node_f = graph.add_node('f')
graph.add_edge(node_a,node_c, 5)
graph.add_edge(node_a,node_d,5)
graph.add_edge(node_b,node_c, 1)
graph.add_edge(node_b,node_f, 4)
graph.add_edge(node_c,node_e, 9)
graph.add_edge(node_d ,node_e, 5)
graph.add_edge(node_e,node_f, 7)
graph.get_nodes()
graph.get_neighbors(node_a)[0].weight
graph.get_neighbors(node_b)[0].weight
graph.get_neighbors(node_c)[0].weight
graph.get_neighbors(node_d)[0].weight
graph.get_neighbors(node_e)[0].weight
graph.get_neighbors(node_f)[0].weight
actual = graph.business_trip([node_c ,node_e, node_f])
expect = (True, '16$')
assert expect == actual
def test_edge3():
graph = Graph()
node_a = graph.add_node('a')
node_b = graph.add_node('b')
node_c = graph.add_node('c')
node_d = graph.add_node('d')
node_e = graph.add_node('e')
node_f = graph.add_node('f')
graph.add_edge(node_a,node_c, 5)
graph.add_edge(node_a,node_d,5)
graph.add_edge(node_b,node_c, 1)
graph.add_edge(node_b,node_f, 4)
graph.add_edge(node_c,node_e, 9)
graph.add_edge(node_d ,node_e, 5)
graph.add_edge(node_e,node_f, 7)
graph.get_nodes()
graph.get_neighbors(node_a)[0].weight
graph.get_neighbors(node_b)[0].weight
graph.get_neighbors(node_c)[0].weight
graph.get_neighbors(node_d)[0].weight
graph.get_neighbors(node_e)[0].weight
graph.get_neighbors(node_f)[0].weight
actual = graph.business_trip([node_a ,node_e, node_f])
expect = (False, '$0')
assert expect == actual | 32.841463 | 58 | 0.673227 | 477 | 2,693 | 3.48218 | 0.073375 | 0.187839 | 0.151716 | 0.202288 | 0.94401 | 0.897652 | 0.897652 | 0.897652 | 0.897652 | 0.897652 | 0 | 0.020325 | 0.177869 | 2,693 | 82 | 59 | 32.841463 | 0.729901 | 0 | 0 | 0.868421 | 0 | 0 | 0.00928 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 1 | 0.039474 | false | 0 | 0.013158 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7f52644d095cd74bdd54d6720c4cc2b895bdfc01 | 17,839 | py | Python | test/test_complexity.py | gustavovelascoh/ravioli | 9fa7092c3a611d4df19566aa07b7fe2e5b2d2d3d | [
"MIT"
] | 35 | 2019-02-14T11:07:27.000Z | 2021-11-10T22:44:02.000Z | test/test_complexity.py | gustavovelascoh/ravioli | 9fa7092c3a611d4df19566aa07b7fe2e5b2d2d3d | [
"MIT"
] | 16 | 2019-06-18T04:09:19.000Z | 2021-11-17T10:28:37.000Z | test/test_complexity.py | gustavovelascoh/ravioli | 9fa7092c3a611d4df19566aa07b7fe2e5b2d2d3d | [
"MIT"
] | 9 | 2019-02-14T11:08:58.000Z | 2022-03-10T17:29:06.000Z | from ravioli.complexity import calculate_complexity
def names_of(results):
return [result.name for result in results]
# Test that functions names are extracted correctly.
def test_a_function_can_be_parsed():
code = """
int a_function(){}
"""
results = calculate_complexity(code)
assert ('a_function' in names_of(results))
def test_two_functions_can_be_parsed():
code = """
int a_function(){}
int another_function(){}
"""
results = calculate_complexity(code)
assert ('a_function' in names_of(results))
assert ('another_function' in names_of(results))
def test_a_commented_function_is_not_extracted():
code = """
//int a_function(){}
"""
results = calculate_complexity(code)
assert ('a_function' not in names_of(results))
def test_a_function_in_a_block_is_not_extracted():
code = """
/*
int a_function(){
//do something
}
*/
"""
results = calculate_complexity(code)
assert ('a_function' not in names_of(results))
def test_a_function_with_arguments():
code = """
int a_function(int a){}
"""
results = calculate_complexity(code)
assert ('a_function' in names_of(results))
def test_a_function_with_some_whitespace():
code = """
int a_function (int a){}
"""
results = calculate_complexity(code)
assert ('a_function' in names_of(results))
def test_a_function_with_an_if():
code = """
int a_function (int a){
if (a > 5) {
return 0;
}
return 1;
}
"""
results = calculate_complexity(code)
assert ('a_function' in names_of(results))
assert (len(results) == 1)
def test_a_function_with_a_while():
code = """
int a_function (int a){
int x = 0;
while (x < 5) {
x++;
}
return 1;
}
"""
results = calculate_complexity(code)
assert ('a_function' in names_of(results))
assert (len(results) == 1)
def test_a_function_with_a_for_loop():
code = """
int a_function (int a){
for (int x = 0; x < 5; x++) {
a++;
}
return 1;
}
"""
results = calculate_complexity(code)
assert ('a_function' in names_of(results))
assert (len(results) == 1)
def test_a_function_with_a_do_while():
code = """
int a_function (int a){
int x = 0;
do {
x++;
} while (x < 5);
return 1;
}
"""
results = calculate_complexity(code)
assert ('a_function' in names_of(results))
assert (len(results) == 1)
def test_a_function_with_a_switch():
code = """
int a_function (int a){
switch (a)
{
case 0:
return 0;
break;
case 1:
return 1;
break;
default
return a;
break;
}
return 1;
}
"""
results = calculate_complexity(code)
assert ('a_function' in names_of(results))
assert (len(results) == 1)
def test_a_function_which_calls_another_function():
code = """
int a_function (int a){
if (a > 5) {
call_another_function(a + 1);
}
return 1;
}
"""
results = calculate_complexity(code)
assert ('a_function' in names_of(results))
assert (len(results) == 1)
def test_a_function_with_different_brace_placement():
code = """
int a_function (int a)
{
if (a > 5) {
call_another_function(a + 1);
}
return 1;
}
"""
results = calculate_complexity(code)
assert ('a_function' in names_of(results))
assert (len(results) == 1)
def test_an_entire_file_finds_all_functions():
with open('c/sample.c') as f:
results = calculate_complexity(f.read())
assert(len(results) == 20)
# Test that complexity is calculated correctly.
def test_a_function_with_no_decisions_has_complexity_1():
code = """
int no_decisions () {
int a_local_variable = 0;
return 0;
}
"""
results = calculate_complexity(code)
assert (results[0].complexity == 1)
def test_a_function_with_1_decision_has_complexity_2():
code = """
int if_else(int i) {
if (i >= 0) {
return i + 1;
}
else {
return i - 1;
}
}
"""
results = calculate_complexity(code)
assert (results[0].complexity == 2)
def test_a_function_with_2_decisions_has_complexity_3():
code = """
int else_if(int i) {
if (i >= 5) {
return i + 1;
}
else if (i >= 0) {
return i + 2;
}
else {
return i - 1;
}
}
"""
results = calculate_complexity(code)
assert (results[0].complexity == 3)
def test_a_function_with_a_nested_if():
code = """
int nested_if(int i) {
if (i >= 0) {
if (i >= 5) {
return i + 2;
}
else {
return i + 1;
}
}
else {
return i - 1;
}
}
"""
results = calculate_complexity(code)
assert (results[0].complexity == 3)
def test_a_function_with_a_nested_else_if():
code = """
int nested_else_if(int i) {
if (i >= 0) {
if (i >= 5) {
return i + 2;
}
else if (i >= 3) {
return i + 4;
}
else {
return i + 1;
}
}
else {
return i - 1;
}
}
"""
results = calculate_complexity(code)
assert (results[0].complexity == 4)
def test_a_function_with_a_nested_else_if_and_extra_statements():
code = """
int nested_else_if_with_extra_statements(int i) {
i = i + 1;
if (i >= 0) {
i = i + 1;
if (i >= 5) {
i = i + 1;
return i + 2;
}
else if (i >= 3) {
i = i + 1;
return i + 4;
}
else {
return i + 1;
}
}
else {
return i - 1;
}
}
"""
results = calculate_complexity(code)
assert (results[0].complexity == 4)
def test_a_function_with_a_while_loop():
code = """
int while_loop() {
i = 0;
while (i < 10){
global_variable += 1;
i++;
}
}
"""
results = calculate_complexity(code)
assert (results[0].complexity == 2)
def test_complexity_of_a_for_loop():
code = """
int for_loop() {
for (i = 0; i < 10; i++){
global_variable += 1;
}
}
"""
results = calculate_complexity(code)
assert (results[0].complexity == 2)
def test_a_function_with_a_do_while_loop():
code = """
int do_while_loop() {
i = 0;
do {
global_variable += 1;
i++;
} while (i < 10);
}
"""
results = calculate_complexity(code)
assert (results[0].complexity == 2)
def test_a_function_with_a_do_while_loop_and_no_whitespace():
code = """
int do_while_loop() {
i = 0;
do {
global_variable += 1;
i++;
}while (i < 10);
}
"""
results = calculate_complexity(code)
assert (results[0].complexity == 2)
def test_complexity_of_a_switch():
code = """
void switch_statement(int x) {
switch (x) {
case 1:
global_variable += 2;
case 2:
global_variable += 3;
default:
global_variable += x;
}
}
"""
results = calculate_complexity(code)
assert (results[0].complexity == 3)
def test_switch_statement_with_a_nested_if():
code = """
void switch_statement_with_nested_if(int x, int y) {
switch (x) {
case 1:
if (y > 1) {
global_variable += 1;
}
else {
global_variable += 2;
}
case 2:
global_variable += 3;
default:
global_variable += x;
}
}"""
results = calculate_complexity(code)
assert (results[0].complexity == 4)
def test_nested_switch_statements():
code = """
void nested_switches(int x, int y) {
switch (x) {
case 1:
switch(y) {
case 1:
global_variable += 5;
break;
case 2:
global_variable += 10;
break;
default:
global_variable += y;
}
case 2:
global_variable += 3;
default:
global_variable += x;
}
}"""
results = calculate_complexity(code)
assert (results[0].complexity == 5)
# These test for "strict cyclomatic complexity" (SCC), also called CC2.
def test_compound_conditional_in_if():
code = """
int compound_if(int i) {
if ((i >= 0) && (i < 10)){
return i + 2;
}
else {
return i + 1;
}
}"""
results = calculate_complexity(code)
assert (results[0].complexity == 3)
def test_compound_conditional_in_if_no_whitespace():
code = """
int compound_if(int i) {
if ((i >= 0)&&(i < 10)){
return i + 2;
}
else {
return i + 1;
}
}"""
results = calculate_complexity(code)
assert (results[0].complexity == 3)
def test_compound_conditional_with_or_in_if():
code = """
int compound_if(int i) {
if ((i >= 0) || (i < 10)){
return i + 2;
}
else {
return i + 1;
}
}"""
results = calculate_complexity(code)
assert (results[0].complexity == 3)
def test_a_while_loop_with_a_compound_conditional():
code = """
int compound_while_loop(int j, int i) {
i = 0;
while ((j == 1) && (i < 10)) {
global_variable += 1;
i++;
j++;
}
}"""
results = calculate_complexity(code)
assert (results[0].complexity == 3)
def test_a_for_loop_with_a_compound_conditional():
code = """
int compound_for_loop() {
for (int i = 0, j = 0; (i < 10) && (result == 0); i++) {
global_variable++;
}
}"""
results = calculate_complexity(code)
assert (results[0].complexity == 3)
def test_nested_for_loops():
code = """
int nested_for_loops() {
for (i = 0; i < 10; i++){
for (j = 0; j < 10; j++) {
global_variable += 1;
}
}
}"""
results = calculate_complexity(code)
assert (results[0].complexity == 3)
def test_a_complicated_example():
code = """
int a_complicated_example(int x, int y, int z) {
int answer = 0;
if (x > 15) {
answer += 3;
}
else if ((x > 10) && (y > 5)) {
answer += 4;
}
else if ((x > 5) && (y > 3) && (z > 1)) {
answer += 1;
result = 0;
for (int i = 0, j = 0; (i < 10) && (result == 0); i++) {
if ((global_variable == 15) || (another_global == 12)) {
result = 1;
}
}
}
else {
answer += 10;
}
return answer;
}"""
results = calculate_complexity(code)
assert (results[0].complexity == 11)
def test_a_more_complicated_example():
code = """
int a_more_complicated_example(int x, int y, int z) {
int answer = 0;
if (x > 15) {
answer += 3;
} else if ((x > 10) && (y > 5)) {
answer += 4;
} else if ((x > 5) && (y > 3) && (z > 1)) {
answer += 1;
result = 0;
for (int i = 0, j = 0; (i < 10) && (result == 0); i++) {
if ((global_variable == 15) || (another_global == 12)) {
result = 1;
}
}
} else {
answer += 1;
switch (z) {
case 1:
answer += 4;
if (y == 2) {
answer += 2;
}
break;
case 2:
answer += 5;
break;
default:
answer += 1;
}
answer += 10;
}
return answer;
}"""
results = calculate_complexity(code)
assert (results[0].complexity == 14)
# Get the line numbers of functions.
def test_line_number():
code = """void a_function(){
}
"""
results = calculate_complexity(code)
assert (results[0].line_number == 1)
def test_a_different_line_number():
code = """void a_function(){
}
void another_function(){
}
"""
results = calculate_complexity(code)
assert (results[1].line_number == 3)
def test_line_number_for_a_function_with_arguments():
code = """
void a_function(int a){
}
"""
results = calculate_complexity(code)
assert (results[0].line_number == 2)
def test_line_number_for_a_function_with_different_braces():
code = """
void a_function(int a)
{
}
"""
results = calculate_complexity(code)
assert (results[0].line_number == 2)
def test_line_number_is_found_for_function_not_prototype():
code = """
void a_function(int a);
void a_function(int a)
{
}
"""
results = calculate_complexity(code)
assert (results[0].line_number == 3)
def test_a_function_with_signature_split_across_lines():
code = """
void a_function(int a, int b,
int c)
{
}
"""
results = calculate_complexity(code)
assert (results[0].name == 'a_function')
def test_line_number_of_a_function_with_signature_split_across_lines():
code = """
void a_function(int a, int b,
int c)
{
}
"""
results = calculate_complexity(code)
assert (results[0].line_number == 2)
def test_a_function_and_prototype_with_signature_split_across_lines():
code = """
void a_function(int a, int b,
int c);
void a_function(int a, int b,
int c)
{
}
"""
results = calculate_complexity(code)
assert (results[0].line_number == 4)
def test_a_function_and_prototype_with_split_across_three_lines():
code = """
void a_function(int a,
int b,
int c);
void a_function(int a,
int b,
int c)
{
}
"""
results = calculate_complexity(code)
assert (results[0].name == 'a_function')
assert (results[0].line_number == 5)
| 27.152207 | 80 | 0.420427 | 1,691 | 17,839 | 4.170905 | 0.075103 | 0.084219 | 0.1622 | 0.182901 | 0.807174 | 0.7679 | 0.734156 | 0.700978 | 0.663689 | 0.649511 | 0 | 0.02754 | 0.476877 | 17,839 | 656 | 81 | 27.193598 | 0.728247 | 0.011267 | 0 | 0.631673 | 0 | 0.007117 | 0.608178 | 0.011286 | 0 | 0 | 0 | 0 | 0.094306 | 1 | 0.080071 | false | 0 | 0.001779 | 0.001779 | 0.147687 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7f8d420c9c388d925291387c86bac89bb3416275 | 115 | py | Python | cosilico/base/__init__.py | cosilico/cosilico | 983373139aeaf459271c559a47a6439939ec93a5 | [
"MIT"
] | null | null | null | cosilico/base/__init__.py | cosilico/cosilico | 983373139aeaf459271c559a47a6439939ec93a5 | [
"MIT"
] | null | null | null | cosilico/base/__init__.py | cosilico/cosilico | 983373139aeaf459271c559a47a6439939ec93a5 | [
"MIT"
] | null | null | null | from cosilico.base.distribution import *
from cosilico.base.scatter import *
from cosilico.base.stripplot import *
| 28.75 | 40 | 0.817391 | 15 | 115 | 6.266667 | 0.466667 | 0.382979 | 0.510638 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 3 | 41 | 38.333333 | 0.912621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
7fbd1fcc4ad04137d2ac64026bb6a73b4d316143 | 1,003,783 | py | Python | _CNDB/_OMP/__test__/IP_Network.py | CNDB/CNDB | 2e3a41111f604cf2f4f22a7c9370bb3f753e3e88 | [
"BSD-3-Clause"
] | null | null | null | _CNDB/_OMP/__test__/IP_Network.py | CNDB/CNDB | 2e3a41111f604cf2f4f22a7c9370bb3f753e3e88 | [
"BSD-3-Clause"
] | null | null | null | _CNDB/_OMP/__test__/IP_Network.py | CNDB/CNDB | 2e3a41111f604cf2f4f22a7c9370bb3f753e3e88 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (C) 2013-2014 Mag. Christian Tanzer All rights reserved
# Glasauergasse 32, A--1130 Wien, Austria. tanzer@swing.co.at
# #*** <License> ************************************************************#
# This module is part of the package CNDB.OMP.__test__.
#
# This module is licensed under the terms of the BSD 3-Clause License
# <http://www.c-tanzer.at/license/bsd_3c.html>.
# #*** </License> ***********************************************************#
#
#++
# Name
# CNDB.OMP.__test__.IP_Network
#
# Purpose
# Test IP_Network
#
# Revision Dates
# 26-Jan-2013 (CT) Creation
# 4-Mar-2013 (CT) Add tests for `allocate`
# 5-Mar-2013 (CT) Add tests for `reserve`
# 5-Mar-2013 (CT) Add `electric`
# 7-Mar-2013 (RS) Test for previously failing `CONTAINS` query
# 19-Mar-2013 (CT) Add test case `test_AQ`
# 22-Mar-2013 (CT) Add test for `Query_Restriction`
# 28-Mar-2013 (CT) Add `AQ.Attrs_Transitive...ui_name`, `.pool.pool.pool...`
# 11-Apr-2013 (CT) Adapt to changes in `MOM.Attr.Querier`
# 28-Apr-2013 (CT) Adapt to addition of `IP_Network.desc`
# 7-Aug-2013 (CT) Adapt to major surgery of GTW.OMP.NET.Attr_Type
# 13-Aug-2013 (CT) Add `test_order`, adapt other tests to change in order
# 22-Aug-2013 (CT) Add tests for I4N and I6N calls with wrong `raw` value
# 7-Oct-2013 (CT) Add tests for `belongs_to_node`
# 8-Apr-2014 (RS) Test failing allocation in sub-pool
# 14-Apr-2014 (CT) Rename `belongs_to_node` to `my_node`
# 25-Apr-2014 (RS) Add `_test_partial`
# 13-Jun-2014 (RS) Fixes for new `PAP` objects, renaming of
# `IP_Network.cool_down`, `Node` no longer derived
# from `Subject`, addition of `Node.desc`, `ui_name`
# for `desc`
# 14-Jun-2014 (RS) Add `node` to `IP_Network`
# 20-Jun-2014 (RS) `IP_Pool` and derivatives, `node` moved to `IP_Pool`
# 20-Jun-2014 (RS) Add failing allocation test: Don't allocate from a
# sub-pool
# 20-Jun-2014 (RS) Re-add `IP_Network.pool`, make failing test pass
# 23-Jun-2014 (RS) Add tests for `free` and `collect_garbage`, make
# tests run again
# 24-Jun-2014 (RS) `A_Netmask_Interval` derived from `A_Int_Interval_C`
# 4-Jul-2014 (RS) `IP_Pool_permits_Group`, `IP_Network_in_IP_Pool`,
# changes to `IP_Pool`
# 11-Jul-2014 (CT) Add tests to `_test_partial`; clear ballast from it
# 5-Sep-2014 (RS) Garbage collector now frees networks with maximum
# netmask, to avoid garbage collection now all IPs
# have an associated `Net_Interface`.
# ««revision-date»»···
#--
from __future__ import absolute_import, division, print_function, unicode_literals
from _CNDB._OMP.__test__.model import *
from datetime import datetime
import _GTW._RST._TOP._MOM.Query_Restriction
from _MOM._Attr.Date_Time_Delta import A_Date_Time_Delta
from _CNDB._OMP.__test__.fixtures import net_fixtures, create as std_fixtures
_test_alloc = """
>>> scope = Scaffold.scope (%(p1)s, %(n1)s) # doctest:+ELLIPSIS
Creating new scope MOMT__...
>>> CNDB = scope.CNDB
>>> PAP = scope.PAP
>>> Adr = CNDB.IP4_Network.net_address.P_Type
>>> ff = PAP.Association ("Funkfeuer", short_name = "0xFF", raw = True)
>>> mg = PAP.Person ("Glueck", "Martin", raw = True)
>>> ak = PAP.Person ("Kaplan", "Aaron", raw = True)
>>> rs = PAP.Person ("Schlatterbeck", "Ralf", raw = True)
>>> ct = PAP.Person ("Tanzer", "Christian", raw = True)
>>> lt = PAP.Person ("Tanzer", "Laurens", raw = True)
>>> osc = PAP.Company ("Open Source Consulting", raw = True)
>>> nod = CNDB.Node (name = "Test-Node", manager = ff, raw = True)
>>> dt = CNDB.Net_Device_Type (name = "Generic", raw = True)
>>> dev = CNDB.Net_Device (left = dt, node = nod, name = "dev", raw = True)
>>> ifc = CNDB.Wired_Interface (left = dev, name = "iface", raw = True)
>>> ETM = scope.CNDB.IP4_Network
>>> show_networks (scope, ETM) ### nothing allocated yet
>>> ff_pool = CNDB.IP4_Network ('10.0.0.0/8', owner = ff, raw = True)
>>> show_networks (scope, ETM) ### 10.0.0.0/8
10.0.0.0/8 Funkfeuer : electric = F, children = F
>>> show_network_count (scope, ETM)
CNDB.IP4_Network count: 1
>>> osc_pool = ff_pool.allocate (16, osc)
>>> show_networks (scope, ETM) ### 10.0.0.0/16
10.0.0.0/8 Funkfeuer : electric = F, children = T
10.0.0.0/16 Open Source Consulting : electric = F, children = F
10.0.0.0/9 Funkfeuer : electric = T, children = T
10.0.0.0/10 Funkfeuer : electric = T, children = T
10.0.0.0/11 Funkfeuer : electric = T, children = T
10.0.0.0/12 Funkfeuer : electric = T, children = T
10.0.0.0/13 Funkfeuer : electric = T, children = T
10.0.0.0/14 Funkfeuer : electric = T, children = T
10.0.0.0/15 Funkfeuer : electric = T, children = T
10.1.0.0/16 Funkfeuer : electric = T, children = F
10.2.0.0/15 Funkfeuer : electric = T, children = F
10.4.0.0/14 Funkfeuer : electric = T, children = F
10.8.0.0/13 Funkfeuer : electric = T, children = F
10.16.0.0/12 Funkfeuer : electric = T, children = F
10.32.0.0/11 Funkfeuer : electric = T, children = F
10.64.0.0/10 Funkfeuer : electric = T, children = F
10.128.0.0/9 Funkfeuer : electric = T, children = F
>>> show_network_count (scope, ETM)
CNDB.IP4_Network count: 17
>>> rs_pool = osc_pool.allocate (28, rs)
>>> show_networks (scope, ETM, pool = osc_pool) ### 10.0.0.0/28
10.0.0.0/16 Open Source Consulting : electric = F, children = T
10.0.0.0/28 Schlatterbeck Ralf : electric = F, children = F
10.0.0.0/17 Open Source Consulting : electric = T, children = T
10.0.0.0/18 Open Source Consulting : electric = T, children = T
10.0.0.0/19 Open Source Consulting : electric = T, children = T
10.0.0.0/20 Open Source Consulting : electric = T, children = T
10.0.0.0/21 Open Source Consulting : electric = T, children = T
10.0.0.0/22 Open Source Consulting : electric = T, children = T
10.0.0.0/23 Open Source Consulting : electric = T, children = T
10.0.0.0/24 Open Source Consulting : electric = T, children = T
10.0.0.0/25 Open Source Consulting : electric = T, children = T
10.0.0.0/26 Open Source Consulting : electric = T, children = T
10.0.0.0/27 Open Source Consulting : electric = T, children = T
10.0.0.16/28 Open Source Consulting : electric = T, children = F
10.0.0.32/27 Open Source Consulting : electric = T, children = F
10.0.0.64/26 Open Source Consulting : electric = T, children = F
10.0.0.128/25 Open Source Consulting : electric = T, children = F
10.0.1.0/24 Open Source Consulting : electric = T, children = F
10.0.2.0/23 Open Source Consulting : electric = T, children = F
10.0.4.0/22 Open Source Consulting : electric = T, children = F
10.0.8.0/21 Open Source Consulting : electric = T, children = F
10.0.16.0/20 Open Source Consulting : electric = T, children = F
10.0.32.0/19 Open Source Consulting : electric = T, children = F
10.0.64.0/18 Open Source Consulting : electric = T, children = F
10.0.128.0/17 Open Source Consulting : electric = T, children = F
>>> ct_addr = osc_pool.reserve ('10.0.0.1/32', owner = ct)
Traceback (most recent call last):
...
Address_Already_Used: Address 10.0.0.1 already in use by 'Schlatterbeck Ralf'
>>> show_networks (scope, ETM, pool = rs_pool) ### 10.0.0.0/28
10.0.0.0/28 Schlatterbeck Ralf : electric = F, children = F
>>> show_network_count (scope, ETM)
CNDB.IP4_Network count: 41
>>> ct_pool = rs_pool.allocate (30, ct)
>>> show_networks (scope, ETM, pool = rs_pool) ### 10.0.0.0/30 ct
10.0.0.0/28 Schlatterbeck Ralf : electric = F, children = T
10.0.0.0/30 Tanzer Christian : electric = F, children = F
10.0.0.0/29 Schlatterbeck Ralf : electric = T, children = T
10.0.0.4/30 Schlatterbeck Ralf : electric = T, children = F
10.0.0.8/29 Schlatterbeck Ralf : electric = T, children = F
>>> ak_pool = rs_pool.allocate (28, ak)
Traceback (most recent call last):
...
No_Free_Address_Range: Address range [10.0.0.0/28] of this IP4_Network doesn't contain a free subrange for mask length 28
>>> show_networks (scope, ETM, pool = rs_pool) ### 10.0.0.0/30 ct after alloc error
10.0.0.0/28 Schlatterbeck Ralf : electric = F, children = T
10.0.0.0/30 Tanzer Christian : electric = F, children = F
10.0.0.0/29 Schlatterbeck Ralf : electric = T, children = T
10.0.0.4/30 Schlatterbeck Ralf : electric = T, children = F
10.0.0.8/29 Schlatterbeck Ralf : electric = T, children = F
>>> for a, m in ETM.query (Q.net_address.IN (rs_pool.net_address), sort_key = TFL.Sorted_By ("-net_address.mask_len", "net_address")).attrs ("net_address", "net_address.mask_len") :
... print (a, m)
10.0.0.0/30 30
10.0.0.4/30 30
10.0.0.0/29 29
10.0.0.8/29 29
10.0.0.0/28 28
>>> ak_pool = rs_pool.allocate (30, ak)
>>> show_networks (scope, ETM, pool = rs_pool) ### 10.0.0.4/30 ct+ak
10.0.0.0/28 Schlatterbeck Ralf : electric = F, children = T
10.0.0.0/30 Tanzer Christian : electric = F, children = F
10.0.0.4/30 Kaplan Aaron : electric = F, children = F
10.0.0.0/29 Schlatterbeck Ralf : electric = T, children = T
10.0.0.8/29 Schlatterbeck Ralf : electric = T, children = F
>>> show_network_count (scope, ETM)
CNDB.IP4_Network count: 45
>>> mg_pool = rs_pool.allocate (29, mg)
>>> show_networks (scope, ETM, pool = rs_pool) ### 10.0.0.8/29
10.0.0.0/28 Schlatterbeck Ralf : electric = F, children = T
10.0.0.0/30 Tanzer Christian : electric = F, children = F
10.0.0.4/30 Kaplan Aaron : electric = F, children = F
10.0.0.8/29 Glueck Martin : electric = F, children = F
10.0.0.0/29 Schlatterbeck Ralf : electric = T, children = T
>>> xx_pool = rs_pool.allocate (30, mg)
Traceback (most recent call last):
...
No_Free_Address_Range: Address range [10.0.0.0/28] of this IP4_Network doesn't contain a free subrange for mask length 30
>>> yy_pool = mg_pool.allocate (29, mg)
Traceback (most recent call last):
...
No_Free_Address_Range: Address range [10.0.0.8/29] of this IP4_Network doesn't contain a free subrange for mask length 29
>>> show_network_count (scope, ETM)
CNDB.IP4_Network count: 45
>>> mg_addr = ct_pool.reserve ('10.0.0.1/32', owner = mg)
>>> ni = CNDB.Net_Interface_in_IP_Network (ifc, mg_addr, mask_len = 32)
>>> show_networks (scope, ETM, pool = rs_pool) ### 10.0.0.1/32
10.0.0.0/28 Schlatterbeck Ralf : electric = F, children = T
10.0.0.0/30 Tanzer Christian : electric = F, children = T
10.0.0.1 Glueck Martin : electric = F, children = F
10.0.0.4/30 Kaplan Aaron : electric = F, children = F
10.0.0.8/29 Glueck Martin : electric = F, children = F
10.0.0.0/29 Schlatterbeck Ralf : electric = T, children = T
10.0.0.0/31 Tanzer Christian : electric = T, children = T
10.0.0.0 Tanzer Christian : electric = T, children = F
10.0.0.2/31 Tanzer Christian : electric = T, children = F
>>> lt_addr = ct_pool.reserve ('10.0.0.2/32', owner = lt)
>>> ni = CNDB.Net_Interface_in_IP_Network (ifc, lt_addr, mask_len = 32)
>>> show_networks (scope, ETM, pool = rs_pool) ### 10.0.0.2/32
10.0.0.0/28 Schlatterbeck Ralf : electric = F, children = T
10.0.0.0/30 Tanzer Christian : electric = F, children = T
10.0.0.1 Glueck Martin : electric = F, children = F
10.0.0.2 Tanzer Laurens : electric = F, children = F
10.0.0.4/30 Kaplan Aaron : electric = F, children = F
10.0.0.8/29 Glueck Martin : electric = F, children = F
10.0.0.0/29 Schlatterbeck Ralf : electric = T, children = T
10.0.0.0/31 Tanzer Christian : electric = T, children = T
10.0.0.2/31 Tanzer Christian : electric = T, children = T
10.0.0.0 Tanzer Christian : electric = T, children = F
10.0.0.3 Tanzer Christian : electric = T, children = F
>>> rs_addr = ct_pool.reserve ('10.0.0.0/32', owner = rs)
>>> ni = CNDB.Net_Interface_in_IP_Network (ifc, rs_addr, mask_len = 32)
>>> rs_addr.pool
CNDB.IP4_Network ("10.0.0.0/30")
>>> ct_addr = ct_pool.reserve (Adr ('10.0.0.3/32'), owner = ct)
>>> ni = CNDB.Net_Interface_in_IP_Network (ifc, ct_addr, mask_len = 32)
>>> show_networks (scope, ETM, pool = rs_pool) ### 10.0.0.3/32
10.0.0.0/28 Schlatterbeck Ralf : electric = F, children = T
10.0.0.0/30 Tanzer Christian : electric = F, children = T
10.0.0.0 Schlatterbeck Ralf : electric = F, children = F
10.0.0.1 Glueck Martin : electric = F, children = F
10.0.0.2 Tanzer Laurens : electric = F, children = F
10.0.0.3 Tanzer Christian : electric = F, children = F
10.0.0.4/30 Kaplan Aaron : electric = F, children = F
10.0.0.8/29 Glueck Martin : electric = F, children = F
10.0.0.0/29 Schlatterbeck Ralf : electric = T, children = T
10.0.0.0/31 Tanzer Christian : electric = T, children = T
10.0.0.2/31 Tanzer Christian : electric = T, children = T
>>> mg_pool_2 = mg_pool.allocate (30, mg)
>>> show_networks (scope, ETM, pool = rs_pool) ### 10.0.0.8/30
10.0.0.0/28 Schlatterbeck Ralf : electric = F, children = T
10.0.0.0/30 Tanzer Christian : electric = F, children = T
10.0.0.8/29 Glueck Martin : electric = F, children = T
10.0.0.0 Schlatterbeck Ralf : electric = F, children = F
10.0.0.1 Glueck Martin : electric = F, children = F
10.0.0.2 Tanzer Laurens : electric = F, children = F
10.0.0.3 Tanzer Christian : electric = F, children = F
10.0.0.4/30 Kaplan Aaron : electric = F, children = F
10.0.0.8/30 Glueck Martin : electric = F, children = F
10.0.0.0/29 Schlatterbeck Ralf : electric = T, children = T
10.0.0.0/31 Tanzer Christian : electric = T, children = T
10.0.0.2/31 Tanzer Christian : electric = T, children = T
10.0.0.12/30 Glueck Martin : electric = T, children = F
>>> ct_addr2 = ff_pool.reserve (Adr ('10.42.137.1/32'), owner = ct)
>>> ni = CNDB.Net_Interface_in_IP_Network (ifc, ct_addr2, mask_len = 32)
>>> show_networks (scope, ETM) ### 10.42.137.1/32
10.0.0.0/8 Funkfeuer : electric = F, children = T
10.0.0.0/16 Open Source Consulting : electric = F, children = T
10.0.0.0/28 Schlatterbeck Ralf : electric = F, children = T
10.0.0.0/30 Tanzer Christian : electric = F, children = T
10.0.0.8/29 Glueck Martin : electric = F, children = T
10.0.0.0 Schlatterbeck Ralf : electric = F, children = F
10.0.0.1 Glueck Martin : electric = F, children = F
10.0.0.2 Tanzer Laurens : electric = F, children = F
10.0.0.3 Tanzer Christian : electric = F, children = F
10.0.0.4/30 Kaplan Aaron : electric = F, children = F
10.0.0.8/30 Glueck Martin : electric = F, children = F
10.42.137.1 Tanzer Christian : electric = F, children = F
10.0.0.0/9 Funkfeuer : electric = T, children = T
10.0.0.0/10 Funkfeuer : electric = T, children = T
10.0.0.0/11 Funkfeuer : electric = T, children = T
10.0.0.0/12 Funkfeuer : electric = T, children = T
10.0.0.0/13 Funkfeuer : electric = T, children = T
10.0.0.0/14 Funkfeuer : electric = T, children = T
10.0.0.0/15 Funkfeuer : electric = T, children = T
10.0.0.0/17 Open Source Consulting : electric = T, children = T
10.0.0.0/18 Open Source Consulting : electric = T, children = T
10.0.0.0/19 Open Source Consulting : electric = T, children = T
10.0.0.0/20 Open Source Consulting : electric = T, children = T
10.0.0.0/21 Open Source Consulting : electric = T, children = T
10.0.0.0/22 Open Source Consulting : electric = T, children = T
10.0.0.0/23 Open Source Consulting : electric = T, children = T
10.0.0.0/24 Open Source Consulting : electric = T, children = T
10.0.0.0/25 Open Source Consulting : electric = T, children = T
10.0.0.0/26 Open Source Consulting : electric = T, children = T
10.0.0.0/27 Open Source Consulting : electric = T, children = T
10.0.0.0/29 Schlatterbeck Ralf : electric = T, children = T
10.0.0.0/31 Tanzer Christian : electric = T, children = T
10.0.0.2/31 Tanzer Christian : electric = T, children = T
10.32.0.0/11 Funkfeuer : electric = T, children = T
10.32.0.0/12 Funkfeuer : electric = T, children = T
10.40.0.0/13 Funkfeuer : electric = T, children = T
10.40.0.0/14 Funkfeuer : electric = T, children = T
10.42.0.0/15 Funkfeuer : electric = T, children = T
10.42.0.0/16 Funkfeuer : electric = T, children = T
10.42.128.0/17 Funkfeuer : electric = T, children = T
10.42.128.0/18 Funkfeuer : electric = T, children = T
10.42.128.0/19 Funkfeuer : electric = T, children = T
10.42.128.0/20 Funkfeuer : electric = T, children = T
10.42.136.0/21 Funkfeuer : electric = T, children = T
10.42.136.0/22 Funkfeuer : electric = T, children = T
10.42.136.0/23 Funkfeuer : electric = T, children = T
10.42.137.0/24 Funkfeuer : electric = T, children = T
10.42.137.0/25 Funkfeuer : electric = T, children = T
10.42.137.0/26 Funkfeuer : electric = T, children = T
10.42.137.0/27 Funkfeuer : electric = T, children = T
10.42.137.0/28 Funkfeuer : electric = T, children = T
10.42.137.0/29 Funkfeuer : electric = T, children = T
10.42.137.0/30 Funkfeuer : electric = T, children = T
10.42.137.0/31 Funkfeuer : electric = T, children = T
10.0.0.12/30 Glueck Martin : electric = T, children = F
10.0.0.16/28 Open Source Consulting : electric = T, children = F
10.0.0.32/27 Open Source Consulting : electric = T, children = F
10.0.0.64/26 Open Source Consulting : electric = T, children = F
10.0.0.128/25 Open Source Consulting : electric = T, children = F
10.0.1.0/24 Open Source Consulting : electric = T, children = F
10.0.2.0/23 Open Source Consulting : electric = T, children = F
10.0.4.0/22 Open Source Consulting : electric = T, children = F
10.0.8.0/21 Open Source Consulting : electric = T, children = F
10.0.16.0/20 Open Source Consulting : electric = T, children = F
10.0.32.0/19 Open Source Consulting : electric = T, children = F
10.0.64.0/18 Open Source Consulting : electric = T, children = F
10.0.128.0/17 Open Source Consulting : electric = T, children = F
10.1.0.0/16 Funkfeuer : electric = T, children = F
10.2.0.0/15 Funkfeuer : electric = T, children = F
10.4.0.0/14 Funkfeuer : electric = T, children = F
10.8.0.0/13 Funkfeuer : electric = T, children = F
10.16.0.0/12 Funkfeuer : electric = T, children = F
10.32.0.0/13 Funkfeuer : electric = T, children = F
10.40.0.0/15 Funkfeuer : electric = T, children = F
10.42.0.0/17 Funkfeuer : electric = T, children = F
10.42.128.0/21 Funkfeuer : electric = T, children = F
10.42.136.0/24 Funkfeuer : electric = T, children = F
10.42.137.0 Funkfeuer : electric = T, children = F
10.42.137.2/31 Funkfeuer : electric = T, children = F
10.42.137.4/30 Funkfeuer : electric = T, children = F
10.42.137.8/29 Funkfeuer : electric = T, children = F
10.42.137.16/28 Funkfeuer : electric = T, children = F
10.42.137.32/27 Funkfeuer : electric = T, children = F
10.42.137.64/26 Funkfeuer : electric = T, children = F
10.42.137.128/25 Funkfeuer : electric = T, children = F
10.42.138.0/23 Funkfeuer : electric = T, children = F
10.42.140.0/22 Funkfeuer : electric = T, children = F
10.42.144.0/20 Funkfeuer : electric = T, children = F
10.42.160.0/19 Funkfeuer : electric = T, children = F
10.42.192.0/18 Funkfeuer : electric = T, children = F
10.43.0.0/16 Funkfeuer : electric = T, children = F
10.44.0.0/14 Funkfeuer : electric = T, children = F
10.48.0.0/12 Funkfeuer : electric = T, children = F
10.64.0.0/10 Funkfeuer : electric = T, children = F
10.128.0.0/9 Funkfeuer : electric = T, children = F
>>> show_network_count (scope, ETM)
CNDB.IP4_Network count: 95
>>> ETM = CNDB.IP4_Network
>>> q = ETM.query
>>> n = '10.42.137.0/28'
>>> q (Q.net_address.IN (n)).count ()
9
>>> s = TFL.Sorted_By ("-net_address.mask_len")
>>> q (Q.net_address.CONTAINS (n), sort_key = s).first ()
CNDB.IP4_Network ("10.42.137.0/28")
>>> ff_pool.free ()
Traceback (most recent call last):
...
Cannot_Free_Network: Cannot free toplevel network 10.0.0.0/8
>>> rs_pool.free ()
Traceback (most recent call last):
...
Cannot_Free_Network: Cannot free network with allocations: 10.0.0.0/28
>>> CNDB.IP4_Network.query \\
... ( Q.net_address.CONTAINS (rs_pool.net_address)
... , Q.ip_pool != None
... )
SQL: SELECT
cndb_ip4_network."desc" AS cndb_ip4_network_desc,
cndb_ip4_network.expiration_date AS cndb_ip4_network_expiration_date,
cndb_ip4_network.net_address AS cndb_ip4_network_net_address,
cndb_ip4_network.net_address__mask_len AS cndb_ip4_network_net_address__mask_len,
cndb_ip4_network.net_address__numeric AS cndb_ip4_network_net_address__numeric,
cndb_ip4_network.net_address__upper_bound AS cndb_ip4_network_net_address__upper_bound,
cndb_ip4_network.owner AS cndb_ip4_network_owner,
cndb_ip4_network.parent AS cndb_ip4_network_parent,
cndb_ip4_network.pid AS cndb_ip4_network_pid,
cndb_ip4_network.pool AS cndb_ip4_network_pool,
mom_id_entity.electric AS mom_id_entity_electric,
mom_id_entity.last_cid AS mom_id_entity_last_cid,
mom_id_entity.pid AS mom_id_entity_pid,
mom_id_entity.type_name AS mom_id_entity_type_name,
mom_id_entity.x_locked AS mom_id_entity_x_locked
FROM mom_id_entity
JOIN cndb_ip4_network ON mom_id_entity.pid = cndb_ip4_network.pid
LEFT OUTER JOIN cndb_ip4_network_in_ip4_pool AS cndb_ip4_network_in_ip4_pool__1 ON cndb_ip4_network_in_ip4_pool__1."left" = cndb_ip4_network.pid
LEFT OUTER JOIN cndb_ip4_pool AS cndb_ip4_pool__1 ON cndb_ip4_pool__1.pid = cndb_ip4_network_in_ip4_pool__1."right"
WHERE cndb_ip4_network.net_address__numeric <= :net_address__numeric_1
AND cndb_ip4_network.net_address__upper_bound >= :net_address__upper_bound_1
AND cndb_ip4_network.net_address__mask_len <= :net_address__mask_len_1
AND cndb_ip4_network_in_ip4_pool__1."right" IS NOT NULL
>>> p1 = CNDB.IP4_Pool \\
... ( name = "ff_pool"
... , cool_down_period = '1w'
... , netmask_interval = '0-32'
... , raw = True
... )
>>> i1 = CNDB.IP4_Network_in_IP4_Pool (ff_pool, p1)
>>> p2 = CNDB.IP4_Pool \\
... ( name = "osc_pool"
... , netmask_interval = '0-32'
... , raw = True
... )
>>> i2 = CNDB.IP4_Network_in_IP4_Pool (osc_pool, p2)
>>> p3 = CNDB.IP4_Pool \\
... ( name = "rs_pool"
... , cool_down_period = '1d'
... , netmask_interval = '32-32'
... , raw = True
... )
>>> i3 = CNDB.IP4_Network_in_IP4_Pool (rs_pool, p3)
>>> CNDB.IP4_Network_in_IP4_Pool.query \\
... ( Q.ip_network.net_address.CONTAINS (rs_pool.net_address)
... , Q.ip_pool.cool_down_period != None
... , sort_key = TFL.Sorted_By ("ip_pool.cool_down_period")
... ).distinct ().all ()
[CNDB.IP4_Network_in_IP4_Pool (("10.0.0.0/28", ), ('rs_pool', )), CNDB.IP4_Network_in_IP4_Pool (("10.0.0.0/8", ), ('ff_pool', ))]
>>> IPP_ETM = rs_pool.home_scope [rs_pool.ETM.ip_pool.P_Type]
>>> IPP_ETM
<E_Type_Manager for CNDB.IP4_Pool of scope MOMT__SAW__SQ>
>>> IPPL_ETM = rs_pool.home_scope [rs_pool.ETM.ip_pool_link.P_Type]
>>> IPPL_ETM
<E_Type_Manager for CNDB.IP4_Network_in_IP4_Pool of scope MOMT__SAW__SQ>
>>> IPPL_ETM = CNDB.IP4_Network_in_IP4_Pool
>>> IPPL_ETM.query \\
... ( Q.ip_network.net_address.CONTAINS (rs_pool.net_address)
... , Q.ip_pool.cool_down_period != None
... , sort_key = TFL.Sorted_By ("ip_pool.cool_down_period")
... ).first ()
CNDB.IP4_Network_in_IP4_Pool (("10.0.0.0/28", ), ('rs_pool', ))
>>> CNDB.IP4_Network_in_IP4_Pool.query \\
... ( Q.ip_network.net_address.CONTAINS (rs_pool.net_address)
... , Q.ip_pool.cool_down_period != None
... , sort_key = TFL.Sorted_By ("ip_pool.cool_down_period")
... ).distinct ().all ()
[CNDB.IP4_Network_in_IP4_Pool (("10.0.0.0/28", ), ('rs_pool', )), CNDB.IP4_Network_in_IP4_Pool (("10.0.0.0/8", ), ('ff_pool', ))]
>>> CNDB.IP4_Network_in_IP4_Pool.query \\
... ( Q.ip_network.net_address.CONTAINS (rs_pool.net_address)
... , sort_key = TFL.Sorted_By ("ip_pool.cool_down_period")
... ).distinct ().count ()
3
>>> print ("mg_addr", mg_addr)
mg_addr ("10.0.0.1")
>>> mg_addr.free ()
>>> mg_addr.net_interface_link
>>> print ("lt_addr", lt_addr)
lt_addr ("10.0.0.2")
>>> lt_addr.free ()
>>> lt_addr.net_interface_link
>>> print ("rs_addr", rs_addr, rs_addr.pool)
rs_addr ("10.0.0.0") ("10.0.0.0/30")
>>> rs_addr.free ()
>>> rs_addr.net_interface_link
>>> print ("mg_pool_2", mg_pool_2)
mg_pool_2 ("10.0.0.8/30")
>>> mg_pool_2.free ()
>>> print ("ct_addr", ct_addr)
ct_addr ("10.0.0.3")
>>> ct_addr.free ()
>>> ct_addr.net_interface_link
>>> lt_addr.net_interface_link
>>> print ("lt_addr", lt_addr)
lt_addr ("10.0.0.2")
>>> lt_addr.free ()
>>> print ("mg_addr", mg_addr)
mg_addr ("10.0.0.1")
>>> mg_addr.net_interface_link
>>> mg_addr.free ()
>>> print ("ct_pool", ct_pool)
ct_pool ("10.0.0.0/30")
>>> ct_pool.free ()
>>> print ("ak_pool", ak_pool)
ak_pool ("10.0.0.4/30")
>>> ak_pool.free ()
>>> print ("mg_pool", mg_pool)
mg_pool ("10.0.0.8/29")
>>> mg_pool.free ()
>>> print ("rs_pool", rs_pool)
rs_pool ("10.0.0.0/28")
>>> rs_pool.free ()
>>> print ("ct_addr2", ct_addr2)
ct_addr2 ("10.42.137.1")
# Don't free but destroy link. Picked up by garbage collector
>>> ct_addr2.net_interface_link.destroy ()
>>> show_networks (scope, ETM) # After free
10.0.0.0/8 Funkfeuer : electric = F, children = T
10.0.0.0/16 Open Source Consulting : electric = F, children = T
10.0.0.0/28 expiring : electric = F, children = T
10.0.0.0/30 expiring : electric = F, children = T
10.0.0.8/29 expiring : electric = F, children = T
10.0.0.0 expiring : electric = F, children = F
10.0.0.1 expiring : electric = F, children = F
10.0.0.2 expiring : electric = F, children = F
10.0.0.3 expiring : electric = F, children = F
10.0.0.4/30 expiring : electric = F, children = F
10.0.0.8/30 expiring : electric = F, children = F
10.42.137.1 Tanzer Christian : electric = F, children = F
10.0.0.0/9 Funkfeuer : electric = T, children = T
10.0.0.0/10 Funkfeuer : electric = T, children = T
10.0.0.0/11 Funkfeuer : electric = T, children = T
10.0.0.0/12 Funkfeuer : electric = T, children = T
10.0.0.0/13 Funkfeuer : electric = T, children = T
10.0.0.0/14 Funkfeuer : electric = T, children = T
10.0.0.0/15 Funkfeuer : electric = T, children = T
10.0.0.0/17 Open Source Consulting : electric = T, children = T
10.0.0.0/18 Open Source Consulting : electric = T, children = T
10.0.0.0/19 Open Source Consulting : electric = T, children = T
10.0.0.0/20 Open Source Consulting : electric = T, children = T
10.0.0.0/21 Open Source Consulting : electric = T, children = T
10.0.0.0/22 Open Source Consulting : electric = T, children = T
10.0.0.0/23 Open Source Consulting : electric = T, children = T
10.0.0.0/24 Open Source Consulting : electric = T, children = T
10.0.0.0/25 Open Source Consulting : electric = T, children = T
10.0.0.0/26 Open Source Consulting : electric = T, children = T
10.0.0.0/27 Open Source Consulting : electric = T, children = T
10.0.0.0/29 Schlatterbeck Ralf : electric = T, children = T
10.0.0.0/31 Tanzer Christian : electric = T, children = T
10.0.0.2/31 Tanzer Christian : electric = T, children = T
10.32.0.0/11 Funkfeuer : electric = T, children = T
10.32.0.0/12 Funkfeuer : electric = T, children = T
10.40.0.0/13 Funkfeuer : electric = T, children = T
10.40.0.0/14 Funkfeuer : electric = T, children = T
10.42.0.0/15 Funkfeuer : electric = T, children = T
10.42.0.0/16 Funkfeuer : electric = T, children = T
10.42.128.0/17 Funkfeuer : electric = T, children = T
10.42.128.0/18 Funkfeuer : electric = T, children = T
10.42.128.0/19 Funkfeuer : electric = T, children = T
10.42.128.0/20 Funkfeuer : electric = T, children = T
10.42.136.0/21 Funkfeuer : electric = T, children = T
10.42.136.0/22 Funkfeuer : electric = T, children = T
10.42.136.0/23 Funkfeuer : electric = T, children = T
10.42.137.0/24 Funkfeuer : electric = T, children = T
10.42.137.0/25 Funkfeuer : electric = T, children = T
10.42.137.0/26 Funkfeuer : electric = T, children = T
10.42.137.0/27 Funkfeuer : electric = T, children = T
10.42.137.0/28 Funkfeuer : electric = T, children = T
10.42.137.0/29 Funkfeuer : electric = T, children = T
10.42.137.0/30 Funkfeuer : electric = T, children = T
10.42.137.0/31 Funkfeuer : electric = T, children = T
10.0.0.12/30 Glueck Martin : electric = T, children = F
10.0.0.16/28 Open Source Consulting : electric = T, children = F
10.0.0.32/27 Open Source Consulting : electric = T, children = F
10.0.0.64/26 Open Source Consulting : electric = T, children = F
10.0.0.128/25 Open Source Consulting : electric = T, children = F
10.0.1.0/24 Open Source Consulting : electric = T, children = F
10.0.2.0/23 Open Source Consulting : electric = T, children = F
10.0.4.0/22 Open Source Consulting : electric = T, children = F
10.0.8.0/21 Open Source Consulting : electric = T, children = F
10.0.16.0/20 Open Source Consulting : electric = T, children = F
10.0.32.0/19 Open Source Consulting : electric = T, children = F
10.0.64.0/18 Open Source Consulting : electric = T, children = F
10.0.128.0/17 Open Source Consulting : electric = T, children = F
10.1.0.0/16 Funkfeuer : electric = T, children = F
10.2.0.0/15 Funkfeuer : electric = T, children = F
10.4.0.0/14 Funkfeuer : electric = T, children = F
10.8.0.0/13 Funkfeuer : electric = T, children = F
10.16.0.0/12 Funkfeuer : electric = T, children = F
10.32.0.0/13 Funkfeuer : electric = T, children = F
10.40.0.0/15 Funkfeuer : electric = T, children = F
10.42.0.0/17 Funkfeuer : electric = T, children = F
10.42.128.0/21 Funkfeuer : electric = T, children = F
10.42.136.0/24 Funkfeuer : electric = T, children = F
10.42.137.0 Funkfeuer : electric = T, children = F
10.42.137.2/31 Funkfeuer : electric = T, children = F
10.42.137.4/30 Funkfeuer : electric = T, children = F
10.42.137.8/29 Funkfeuer : electric = T, children = F
10.42.137.16/28 Funkfeuer : electric = T, children = F
10.42.137.32/27 Funkfeuer : electric = T, children = F
10.42.137.64/26 Funkfeuer : electric = T, children = F
10.42.137.128/25 Funkfeuer : electric = T, children = F
10.42.138.0/23 Funkfeuer : electric = T, children = F
10.42.140.0/22 Funkfeuer : electric = T, children = F
10.42.144.0/20 Funkfeuer : electric = T, children = F
10.42.160.0/19 Funkfeuer : electric = T, children = F
10.42.192.0/18 Funkfeuer : electric = T, children = F
10.43.0.0/16 Funkfeuer : electric = T, children = F
10.44.0.0/14 Funkfeuer : electric = T, children = F
10.48.0.0/12 Funkfeuer : electric = T, children = F
10.64.0.0/10 Funkfeuer : electric = T, children = F
10.128.0.0/9 Funkfeuer : electric = T, children = F
>>> show_networks (scope, ETM, pool = ct_addr2) ### 10.42.137.1
10.42.137.1 Tanzer Christian : electric = F, children = F
>>> mg_pool.collect_garbage ()
>>> show_networks (scope, ETM, pool = ct_addr2) ### 10.42.137.1
10.42.137.1 Tanzer Christian : electric = F, children = F
>>> ff_pool.collect_garbage ()
>>> show_networks (scope, ETM, pool = ct_addr2) ### 10.42.137.1
10.42.137.1 expiring : electric = F, children = F
>>> now = datetime.now ()
>>> ct_addr2.set (expiration_date = now)
1
>>> ff_pool.collect_garbage ()
>>> show_networks (scope, ETM) # After collect_garbage
10.0.0.0/8 Funkfeuer : electric = F, children = T
10.0.0.0/16 Open Source Consulting : electric = F, children = T
10.0.0.0/28 expiring : electric = F, children = T
10.0.0.0/30 expiring : electric = F, children = T
10.0.0.8/29 expiring : electric = F, children = T
10.0.0.0 expiring : electric = F, children = F
10.0.0.1 expiring : electric = F, children = F
10.0.0.2 expiring : electric = F, children = F
10.0.0.3 expiring : electric = F, children = F
10.0.0.4/30 expiring : electric = F, children = F
10.0.0.8/30 expiring : electric = F, children = F
10.0.0.0/9 Funkfeuer : electric = T, children = T
10.0.0.0/10 Funkfeuer : electric = T, children = T
10.0.0.0/11 Funkfeuer : electric = T, children = T
10.0.0.0/12 Funkfeuer : electric = T, children = T
10.0.0.0/13 Funkfeuer : electric = T, children = T
10.0.0.0/14 Funkfeuer : electric = T, children = T
10.0.0.0/15 Funkfeuer : electric = T, children = T
10.0.0.0/17 Open Source Consulting : electric = T, children = T
10.0.0.0/18 Open Source Consulting : electric = T, children = T
10.0.0.0/19 Open Source Consulting : electric = T, children = T
10.0.0.0/20 Open Source Consulting : electric = T, children = T
10.0.0.0/21 Open Source Consulting : electric = T, children = T
10.0.0.0/22 Open Source Consulting : electric = T, children = T
10.0.0.0/23 Open Source Consulting : electric = T, children = T
10.0.0.0/24 Open Source Consulting : electric = T, children = T
10.0.0.0/25 Open Source Consulting : electric = T, children = T
10.0.0.0/26 Open Source Consulting : electric = T, children = T
10.0.0.0/27 Open Source Consulting : electric = T, children = T
10.0.0.0/29 Schlatterbeck Ralf : electric = T, children = T
10.0.0.0/31 Tanzer Christian : electric = T, children = T
10.0.0.2/31 Tanzer Christian : electric = T, children = T
10.0.0.12/30 Glueck Martin : electric = T, children = F
10.0.0.16/28 Open Source Consulting : electric = T, children = F
10.0.0.32/27 Open Source Consulting : electric = T, children = F
10.0.0.64/26 Open Source Consulting : electric = T, children = F
10.0.0.128/25 Open Source Consulting : electric = T, children = F
10.0.1.0/24 Open Source Consulting : electric = T, children = F
10.0.2.0/23 Open Source Consulting : electric = T, children = F
10.0.4.0/22 Open Source Consulting : electric = T, children = F
10.0.8.0/21 Open Source Consulting : electric = T, children = F
10.0.16.0/20 Open Source Consulting : electric = T, children = F
10.0.32.0/19 Open Source Consulting : electric = T, children = F
10.0.64.0/18 Open Source Consulting : electric = T, children = F
10.0.128.0/17 Open Source Consulting : electric = T, children = F
10.1.0.0/16 Funkfeuer : electric = T, children = F
10.2.0.0/15 Funkfeuer : electric = T, children = F
10.4.0.0/14 Funkfeuer : electric = T, children = F
10.8.0.0/13 Funkfeuer : electric = T, children = F
10.16.0.0/12 Funkfeuer : electric = T, children = F
10.32.0.0/11 Funkfeuer : electric = T, children = F
10.64.0.0/10 Funkfeuer : electric = T, children = F
10.128.0.0/9 Funkfeuer : electric = T, children = F
>>> tree_view (ff_pool) ### After collect_garbage
10.0.0.0/8
10.0.0.0/9 E
10.0.0.0/10 E
10.0.0.0/11 E
10.0.0.0/12 E
10.0.0.0/13 E
10.0.0.0/14 E
10.0.0.0/15 E
10.0.0.0/16
10.0.0.0/17 E
10.0.0.0/18 E
10.0.0.0/19 E
10.0.0.0/20 E
10.0.0.0/21 E
10.0.0.0/22 E
10.0.0.0/23 E
10.0.0.0/24 E
10.0.0.0/25 E
10.0.0.0/26 E
10.0.0.0/27 E
10.0.0.0/28
10.0.0.0/29 E
10.0.0.0/30
10.0.0.0/31 E
10.0.0.0
10.0.0.1
10.0.0.2/31 E
10.0.0.2
10.0.0.3
10.0.0.4/30
10.0.0.8/29
10.0.0.8/30
10.0.0.12/30 E
10.0.0.16/28 E
10.0.0.32/27 E
10.0.0.64/26 E
10.0.0.128/25 E
10.0.1.0/24 E
10.0.2.0/23 E
10.0.4.0/22 E
10.0.8.0/21 E
10.0.16.0/20 E
10.0.32.0/19 E
10.0.64.0/18 E
10.0.128.0/17 E
10.1.0.0/16 E
10.2.0.0/15 E
10.4.0.0/14 E
10.8.0.0/13 E
10.16.0.0/12 E
10.32.0.0/11 E
10.64.0.0/10 E
10.128.0.0/9 E
>>> mg_pool.set (expiration_date = now)
1
>>> show_networks (scope, ETM, pool = mg_pool) ### 10.0.0.8/29
10.0.0.8/29 free : electric = F, children = T
10.0.0.8/30 expiring : electric = F, children = F
10.0.0.12/30 Glueck Martin : electric = T, children = F
>>> ff_pool.collect_garbage ()
>>> tree_view (ff_pool) ### After collect_garbage 2
10.0.0.0/8
10.0.0.0/9 E
10.0.0.0/10 E
10.0.0.0/11 E
10.0.0.0/12 E
10.0.0.0/13 E
10.0.0.0/14 E
10.0.0.0/15 E
10.0.0.0/16
10.0.0.0/17 E
10.0.0.0/18 E
10.0.0.0/19 E
10.0.0.0/20 E
10.0.0.0/21 E
10.0.0.0/22 E
10.0.0.0/23 E
10.0.0.0/24 E
10.0.0.0/25 E
10.0.0.0/26 E
10.0.0.0/27 E
10.0.0.0/28
10.0.0.0/29 E
10.0.0.0/30
10.0.0.0/31 E
10.0.0.0
10.0.0.1
10.0.0.2/31 E
10.0.0.2
10.0.0.3
10.0.0.4/30
10.0.0.8/29 E
10.0.0.16/28 E
10.0.0.32/27 E
10.0.0.64/26 E
10.0.0.128/25 E
10.0.1.0/24 E
10.0.2.0/23 E
10.0.4.0/22 E
10.0.8.0/21 E
10.0.16.0/20 E
10.0.32.0/19 E
10.0.64.0/18 E
10.0.128.0/17 E
10.1.0.0/16 E
10.2.0.0/15 E
10.4.0.0/14 E
10.8.0.0/13 E
10.16.0.0/12 E
10.32.0.0/11 E
10.64.0.0/10 E
10.128.0.0/9 E
>>> ff_pool.ip_pool.set_raw (cool_down_period = '0d')
1
>>> ff_pool.collect_garbage ()
>>> tree_view (ff_pool) ### After collect_garbage 2
10.0.0.0/8
>>> ETM = CNDB.IP4_Network
>>> xpool = CNDB.IP4_Network ('192.168.0.0/16', owner = ff, raw = True)
>>> mgpool = xpool.allocate (17, mg)
>>> ctpool = xpool.allocate (17, ct)
>>> rspool = xpool.allocate (32, rs)
Traceback (most recent call last):
...
No_Free_Address_Range: Address range [192.168.0.0/16] of this IP4_Network doesn't contain a free subrange for mask length 32
>>> ffpool = mgpool.allocate (22, ff)
>>> rspool = xpool.allocate (32, rs)
Traceback (most recent call last):
...
No_Free_Address_Range: Address range [192.168.0.0/16] of this IP4_Network doesn't contain a free subrange for mask length 32
"""
_test_partial = """
>>> scope = Scaffold.scope (%(p1)s, %(n1)s) # doctest:+ELLIPSIS
Creating new scope MOMT__...
>>> CNDB = scope.CNDB
>>> PAP = scope.PAP
>>> ff = PAP.Association ("Funkfeuer", short_name = "0xFF", raw = True)
>>> rs = PAP.Person ("Schlatterbeck", "Ralf", raw = True)
>>> fp = CNDB.IP4_Network ('10.0.0.0/8', owner = ff, raw = True)
>>> a4 = fp.reserve ('10.0.0.1/32', owner = ff)
>>> dt = CNDB.Net_Device_Type.instance_or_new (name = 'G', raw = True)
>>> n1 = CNDB.Node (name = "nogps", manager = rs, raw = True)
>>> dv = CNDB.Net_Device (left = dt, node = n1, name = 'dev', raw = True)
>>> wl = CNDB.Wireless_Interface (left = dv, name = 'wl', raw = True)
>>> wd = CNDB.Wired_Interface (left = dv, name = 'wd', raw = True)
>>> scope.commit ()
>>> il2 = CNDB.Net_Interface_in_IP4_Network (wl, a4, mask_len = 24)
>>> id2 = CNDB.Net_Interface_in_IP_Network (wd, a4, mask_len = 24)
>>> il2
CNDB.Wireless_Interface_in_IP4_Network (((('g', '', ''), ('nogps', ), 'dev'), '', 'wl'), ("10.0.0.1", ))
>>> id2
CNDB.Wired_Interface_in_IP4_Network (((('g', '', ''), ('nogps', ), 'dev'), '', 'wd'), ("10.0.0.1", ))
"""
_test_AQ = """
>>> scope = Scaffold.scope (%(p1)s, %(n1)s) # doctest:+ELLIPSIS
Creating new scope MOMT__...
>>> CNDB = scope.CNDB
>>> PAP = scope.PAP
>>> AQ = CNDB.IP4_Network.E_Type.AQ
>>> AQ
<Attr.Type.Querier.E_Type for CNDB.IP4_Network>
>>> for aq in AQ.Attrs :
... print (aq)
<net_address.AQ [Attr.Type.Querier Ckd]>
<desc.AQ [Attr.Type.Querier String]>
<owner.AQ [Attr.Type.Querier Id_Entity]>
<pool.AQ [Attr.Type.Querier Id_Entity]>
<creation.AQ [Attr.Type.Querier Rev_Ref]>
<last_change.AQ [Attr.Type.Querier Rev_Ref]>
<last_cid.AQ [Attr.Type.Querier Ckd]>
<pid.AQ [Attr.Type.Querier Ckd]>
<type_name.AQ [Attr.Type.Querier String]>
<expiration_date.AQ [Attr.Type.Querier Ckd]>
<has_children.AQ [Attr.Type.Querier Boolean]>
<is_free.AQ [Attr.Type.Querier Boolean]>
<parent.AQ [Attr.Type.Querier Id_Entity]>
<ip_pool.AQ [Attr.Type.Querier Rev_Ref]>
<net_interface.AQ [Attr.Type.Querier Rev_Ref]>
<documents.AQ [Attr.Type.Querier Rev_Ref]>
<wired_interface.AQ [Attr.Type.Querier Rev_Ref]>
<wireless_interface.AQ [Attr.Type.Querier Rev_Ref]>
<virtual_wireless_interface.AQ [Attr.Type.Querier Rev_Ref]>
>>> for aq in AQ.Attrs_Transitive :
... print (aq, aq.E_Type.type_name if aq.E_Type else "-"*5)
<net_address.AQ [Attr.Type.Querier Ckd]> -----
<desc.AQ [Attr.Type.Querier String]> -----
<owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<pool.AQ [Attr.Type.Querier Id_Entity]> CNDB.IP4_Network
<pool.net_address.AQ [Attr.Type.Querier Ckd]> -----
<pool.desc.AQ [Attr.Type.Querier String]> -----
<pool.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<pool.pool.AQ [Attr.Type.Querier Id_Entity]> CNDB.IP4_Network
<pool.expiration_date.AQ [Attr.Type.Querier Ckd]> -----
<pool.has_children.AQ [Attr.Type.Querier Boolean]> -----
<pool.is_free.AQ [Attr.Type.Querier Boolean]> -----
<pool.parent.AQ [Attr.Type.Querier Id_Entity]> CNDB.IP4_Network
<creation.AQ [Attr.Type.Querier Rev_Ref]> MOM.MD_Change
<creation.c_time.AQ [Attr.Type.Querier Ckd]> -----
<creation.c_user.AQ [Attr.Type.Querier Id_Entity]> MOM.Id_Entity
<creation.kind.AQ [Attr.Type.Querier String]> -----
<creation.time.AQ [Attr.Type.Querier Ckd]> -----
<creation.user.AQ [Attr.Type.Querier Id_Entity]> MOM.Id_Entity
<last_change.AQ [Attr.Type.Querier Rev_Ref]> MOM.MD_Change
<last_change.c_time.AQ [Attr.Type.Querier Ckd]> -----
<last_change.c_user.AQ [Attr.Type.Querier Id_Entity]> MOM.Id_Entity
<last_change.kind.AQ [Attr.Type.Querier String]> -----
<last_change.time.AQ [Attr.Type.Querier Ckd]> -----
<last_change.user.AQ [Attr.Type.Querier Id_Entity]> MOM.Id_Entity
<last_cid.AQ [Attr.Type.Querier Ckd]> -----
<pid.AQ [Attr.Type.Querier Ckd]> -----
<type_name.AQ [Attr.Type.Querier String]> -----
<expiration_date.AQ [Attr.Type.Querier Ckd]> -----
<has_children.AQ [Attr.Type.Querier Boolean]> -----
<is_free.AQ [Attr.Type.Querier Boolean]> -----
<parent.AQ [Attr.Type.Querier Id_Entity]> CNDB.IP4_Network
<parent.net_address.AQ [Attr.Type.Querier Ckd]> -----
<parent.desc.AQ [Attr.Type.Querier String]> -----
<parent.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<parent.pool.AQ [Attr.Type.Querier Id_Entity]> CNDB.IP4_Network
<parent.expiration_date.AQ [Attr.Type.Querier Ckd]> -----
<parent.has_children.AQ [Attr.Type.Querier Boolean]> -----
<parent.is_free.AQ [Attr.Type.Querier Boolean]> -----
<parent.parent.AQ [Attr.Type.Querier Id_Entity]> CNDB.IP4_Network
<ip_pool.AQ [Attr.Type.Querier Rev_Ref]> CNDB.IP4_Pool
<ip_pool.name.AQ [Attr.Type.Querier String]> -----
<ip_pool.cool_down_period.AQ [Attr.Type.Querier Ckd]> -----
<ip_pool.node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<ip_pool.node.name.AQ [Attr.Type.Querier String]> -----
<ip_pool.node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<ip_pool.node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<ip_pool.node.address.street.AQ [Attr.Type.Querier String]> -----
<ip_pool.node.address.zip.AQ [Attr.Type.Querier String]> -----
<ip_pool.node.address.city.AQ [Attr.Type.Querier String]> -----
<ip_pool.node.address.country.AQ [Attr.Type.Querier String]> -----
<ip_pool.node.address.desc.AQ [Attr.Type.Querier String]> -----
<ip_pool.node.address.region.AQ [Attr.Type.Querier String]> -----
<ip_pool.node.desc.AQ [Attr.Type.Querier String]> -----
<ip_pool.node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<ip_pool.node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<ip_pool.node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<ip_pool.node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<ip_pool.node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<ip_pool.node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<ip_pool.netmask_interval.AQ [Attr.Type.Querier Composite]> MOM.IP4_Netmask_Interval
<ip_pool.netmask_interval.lower.AQ [Attr.Type.Querier Ckd]> -----
<ip_pool.netmask_interval.upper.AQ [Attr.Type.Querier Ckd]> -----
<ip_pool.netmask_interval.center.AQ [Attr.Type.Querier Ckd]> -----
<ip_pool.netmask_interval.length.AQ [Attr.Type.Querier Ckd]> -----
<net_interface.AQ [Attr.Type.Querier Rev_Ref]> CNDB.Net_Interface
<documents.AQ [Attr.Type.Querier Rev_Ref]> MOM.Document
<documents.url.AQ [Attr.Type.Querier String]> -----
<documents.type.AQ [Attr.Type.Querier String]> -----
<documents.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.AQ [Attr.Type.Querier Rev_Ref]> CNDB.Wired_Interface
<wired_interface.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device
<wired_interface.left.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device_Type
<wired_interface.left.left.name.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.left.model_no.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.left.revision.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.left.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<wired_interface.left.node.name.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wired_interface.left.node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<wired_interface.left.node.address.street.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.node.address.zip.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.node.address.city.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.node.address.country.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.node.address.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.node.address.region.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.node.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wired_interface.left.node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<wired_interface.left.node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<wired_interface.left.node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<wired_interface.left.node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<wired_interface.left.node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<wired_interface.left.name.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<wired_interface.left.my_node.name.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wired_interface.left.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<wired_interface.left.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.my_node.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.left.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wired_interface.left.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<wired_interface.left.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<wired_interface.left.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<wired_interface.left.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<wired_interface.left.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<wired_interface.mac_address.AQ [Attr.Type.Querier String]> -----
<wired_interface.name.AQ [Attr.Type.Querier String]> -----
<wired_interface.is_active.AQ [Attr.Type.Querier Boolean]> -----
<wired_interface.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<wired_interface.my_node.name.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wired_interface.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<wired_interface.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_node.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wired_interface.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<wired_interface.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<wired_interface.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<wired_interface.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<wired_interface.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<wired_interface.my_net_device.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device
<wired_interface.my_net_device.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device_Type
<wired_interface.my_net_device.left.name.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.left.model_no.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.left.revision.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.left.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<wired_interface.my_net_device.node.name.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wired_interface.my_net_device.node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<wired_interface.my_net_device.node.address.street.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.node.address.zip.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.node.address.city.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.node.address.country.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.node.address.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.node.address.region.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.node.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wired_interface.my_net_device.node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<wired_interface.my_net_device.node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<wired_interface.my_net_device.node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<wired_interface.my_net_device.node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<wired_interface.my_net_device.node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<wired_interface.my_net_device.name.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<wired_interface.my_net_device.my_node.name.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wired_interface.my_net_device.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<wired_interface.my_net_device.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.my_node.desc.AQ [Attr.Type.Querier String]> -----
<wired_interface.my_net_device.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wired_interface.my_net_device.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<wired_interface.my_net_device.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<wired_interface.my_net_device.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<wired_interface.my_net_device.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<wired_interface.my_net_device.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<wireless_interface.AQ [Attr.Type.Querier Rev_Ref]> CNDB.Wireless_Interface
<wireless_interface.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device
<wireless_interface.left.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device_Type
<wireless_interface.left.left.name.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.left.model_no.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.left.revision.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.left.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<wireless_interface.left.node.name.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wireless_interface.left.node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<wireless_interface.left.node.address.street.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.node.address.zip.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.node.address.city.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.node.address.country.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.node.address.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.node.address.region.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.node.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wireless_interface.left.node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<wireless_interface.left.node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.left.node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.left.node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<wireless_interface.left.node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<wireless_interface.left.name.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<wireless_interface.left.my_node.name.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wireless_interface.left.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<wireless_interface.left.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.my_node.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.left.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wireless_interface.left.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<wireless_interface.left.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.left.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.left.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<wireless_interface.left.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<wireless_interface.mac_address.AQ [Attr.Type.Querier String]> -----
<wireless_interface.name.AQ [Attr.Type.Querier String]> -----
<wireless_interface.is_active.AQ [Attr.Type.Querier Boolean]> -----
<wireless_interface.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.mode.AQ [Attr.Type.Querier Ckd]> -----
<wireless_interface.essid.AQ [Attr.Type.Querier String]> -----
<wireless_interface.bssid.AQ [Attr.Type.Querier String]> -----
<wireless_interface.standard.AQ [Attr.Type.Querier Id_Entity]> CNDB.Wireless_Standard
<wireless_interface.standard.name.AQ [Attr.Type.Querier String]> -----
<wireless_interface.standard.bandwidth.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.txpower.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<wireless_interface.my_node.name.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wireless_interface.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<wireless_interface.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_node.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wireless_interface.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<wireless_interface.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<wireless_interface.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<wireless_interface.my_net_device.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device
<wireless_interface.my_net_device.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device_Type
<wireless_interface.my_net_device.left.name.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.left.model_no.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.left.revision.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.left.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<wireless_interface.my_net_device.node.name.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wireless_interface.my_net_device.node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<wireless_interface.my_net_device.node.address.street.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.node.address.zip.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.node.address.city.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.node.address.country.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.node.address.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.node.address.region.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.node.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wireless_interface.my_net_device.node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<wireless_interface.my_net_device.node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.my_net_device.node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.my_net_device.node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<wireless_interface.my_net_device.node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<wireless_interface.my_net_device.name.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<wireless_interface.my_net_device.my_node.name.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wireless_interface.my_net_device.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<wireless_interface.my_net_device.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.my_node.desc.AQ [Attr.Type.Querier String]> -----
<wireless_interface.my_net_device.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<wireless_interface.my_net_device.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<wireless_interface.my_net_device.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.my_net_device.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<wireless_interface.my_net_device.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<wireless_interface.my_net_device.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.AQ [Attr.Type.Querier Rev_Ref]> CNDB.Virtual_Wireless_Interface
<virtual_wireless_interface.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device
<virtual_wireless_interface.left.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device_Type
<virtual_wireless_interface.left.left.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.left.model_no.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.left.revision.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.left.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<virtual_wireless_interface.left.node.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.left.node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<virtual_wireless_interface.left.node.address.street.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.node.address.zip.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.node.address.city.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.node.address.country.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.node.address.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.node.address.region.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.node.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.left.node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<virtual_wireless_interface.left.node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.left.node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.left.node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.left.node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.left.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<virtual_wireless_interface.left.my_node.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.left.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<virtual_wireless_interface.left.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.my_node.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.left.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.left.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<virtual_wireless_interface.left.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.left.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.left.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.left.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.hardware.AQ [Attr.Type.Querier Id_Entity]> CNDB.Wireless_Interface
<virtual_wireless_interface.hardware.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device
<virtual_wireless_interface.hardware.left.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device_Type
<virtual_wireless_interface.hardware.left.left.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.left.model_no.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.left.revision.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.left.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<virtual_wireless_interface.hardware.left.node.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.hardware.left.node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<virtual_wireless_interface.hardware.left.node.address.street.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.node.address.zip.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.node.address.city.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.node.address.country.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.node.address.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.node.address.region.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.node.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.hardware.left.node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<virtual_wireless_interface.hardware.left.node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.left.node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.left.node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.hardware.left.node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.hardware.left.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<virtual_wireless_interface.hardware.left.my_node.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.hardware.left.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<virtual_wireless_interface.hardware.left.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.my_node.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.left.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.hardware.left.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<virtual_wireless_interface.hardware.left.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.left.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.left.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.hardware.left.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.hardware.mac_address.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.is_active.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.hardware.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.mode.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.hardware.essid.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.bssid.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.standard.AQ [Attr.Type.Querier Id_Entity]> CNDB.Wireless_Standard
<virtual_wireless_interface.hardware.standard.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.standard.bandwidth.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.txpower.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<virtual_wireless_interface.hardware.my_node.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.hardware.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<virtual_wireless_interface.hardware.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_node.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.hardware.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<virtual_wireless_interface.hardware.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.hardware.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.hardware.my_net_device.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device
<virtual_wireless_interface.hardware.my_net_device.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device_Type
<virtual_wireless_interface.hardware.my_net_device.left.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.left.model_no.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.left.revision.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.left.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<virtual_wireless_interface.hardware.my_net_device.node.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.hardware.my_net_device.node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<virtual_wireless_interface.hardware.my_net_device.node.address.street.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.node.address.zip.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.node.address.city.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.node.address.country.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.node.address.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.node.address.region.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.node.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.hardware.my_net_device.node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<virtual_wireless_interface.hardware.my_net_device.node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.my_net_device.node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.my_net_device.node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.hardware.my_net_device.node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.hardware.my_net_device.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<virtual_wireless_interface.hardware.my_net_device.my_node.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.hardware.my_net_device.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<virtual_wireless_interface.hardware.my_net_device.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.hardware.my_net_device.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<virtual_wireless_interface.hardware.my_net_device.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.hardware.my_net_device.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.mac_address.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.is_active.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.mode.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.essid.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.bssid.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<virtual_wireless_interface.my_node.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<virtual_wireless_interface.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_node.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<virtual_wireless_interface.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.my_net_device.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device
<virtual_wireless_interface.my_net_device.left.AQ [Attr.Type.Querier Id_Entity]> CNDB.Net_Device_Type
<virtual_wireless_interface.my_net_device.left.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.left.model_no.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.left.revision.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.left.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<virtual_wireless_interface.my_net_device.node.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.my_net_device.node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<virtual_wireless_interface.my_net_device.node.address.street.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.node.address.zip.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.node.address.city.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.node.address.country.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.node.address.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.node.address.region.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.node.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.my_net_device.node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<virtual_wireless_interface.my_net_device.node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.my_net_device.node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.my_net_device.node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.my_net_device.node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.my_net_device.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.my_node.AQ [Attr.Type.Querier Id_Entity]> CNDB.Node
<virtual_wireless_interface.my_net_device.my_node.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.my_node.manager.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.my_net_device.my_node.address.AQ [Attr.Type.Querier Id_Entity]> PAP.Address
<virtual_wireless_interface.my_net_device.my_node.address.street.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.my_node.address.zip.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.my_node.address.city.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.my_node.address.country.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.my_node.address.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.my_node.address.region.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.my_node.desc.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.my_net_device.my_node.owner.AQ [Attr.Type.Querier Id_Entity]> PAP.Subject
<virtual_wireless_interface.my_net_device.my_node.position.AQ [Attr.Type.Querier Composite]> MOM.Position
<virtual_wireless_interface.my_net_device.my_node.position.lat.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.my_net_device.my_node.position.lon.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.my_net_device.my_node.position.height.AQ [Attr.Type.Querier Ckd]> -----
<virtual_wireless_interface.my_net_device.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]> -----
<virtual_wireless_interface.standard.AQ [Attr.Type.Querier Id_Entity]> CNDB.Wireless_Standard
<virtual_wireless_interface.standard.name.AQ [Attr.Type.Querier String]> -----
<virtual_wireless_interface.standard.bandwidth.AQ [Attr.Type.Querier Raw]> -----
<virtual_wireless_interface.txpower.AQ [Attr.Type.Querier Raw]> -----
>>> for aq in AQ.Attrs_Transitive :
... str (aq._ui_name_T)
'Net address'
'Description'
'Owner'
'Pool'
'Pool/Net address'
'Pool/Description'
'Pool/Owner'
'Pool/Pool'
'Pool/Expiration date'
'Pool/Has children'
'Pool/Is free'
'Pool/Parent'
'Creation'
'Creation/C time'
'Creation/C user'
'Creation/Kind'
'Creation/Time'
'Creation/User'
'Last change'
'Last change/C time'
'Last change/C user'
'Last change/Kind'
'Last change/Time'
'Last change/User'
'Last cid'
'Pid'
'Type name'
'Expiration date'
'Has children'
'Is free'
'Parent'
'Parent/Net address'
'Parent/Description'
'Parent/Owner'
'Parent/Pool'
'Parent/Expiration date'
'Parent/Has children'
'Parent/Is free'
'Parent/Parent'
'Ip pool'
'Ip pool/Name'
'Ip pool/Cool down period'
'Ip pool/Node'
'Ip pool/Node/Name'
'Ip pool/Node/Manager'
'Ip pool/Node/Address'
'Ip pool/Node/Address/Street'
'Ip pool/Node/Address/Zip code'
'Ip pool/Node/Address/City'
'Ip pool/Node/Address/Country'
'Ip pool/Node/Address/Description'
'Ip pool/Node/Address/Region'
'Ip pool/Node/Description'
'Ip pool/Node/Owner'
'Ip pool/Node/Position'
'Ip pool/Node/Position/Latitude'
'Ip pool/Node/Position/Longitude'
'Ip pool/Node/Position/Height'
'Ip pool/Node/Show in map'
'Ip pool/Netmask interval'
'Ip pool/Netmask interval/Lower'
'Ip pool/Netmask interval/Upper'
'Ip pool/Netmask interval/Center'
'Ip pool/Netmask interval/Length'
'Net interface'
'Documents'
'Documents/Url'
'Documents/Type'
'Documents/Description'
'Wired interface'
'Wired interface/Net device'
'Wired interface/Net device/Net device type'
'Wired interface/Net device/Net device type/Name'
'Wired interface/Net device/Net device type/Model no'
'Wired interface/Net device/Net device type/Revision'
'Wired interface/Net device/Net device type/Description'
'Wired interface/Net device/Node'
'Wired interface/Net device/Node/Name'
'Wired interface/Net device/Node/Manager'
'Wired interface/Net device/Node/Address'
'Wired interface/Net device/Node/Address/Street'
'Wired interface/Net device/Node/Address/Zip code'
'Wired interface/Net device/Node/Address/City'
'Wired interface/Net device/Node/Address/Country'
'Wired interface/Net device/Node/Address/Description'
'Wired interface/Net device/Node/Address/Region'
'Wired interface/Net device/Node/Description'
'Wired interface/Net device/Node/Owner'
'Wired interface/Net device/Node/Position'
'Wired interface/Net device/Node/Position/Latitude'
'Wired interface/Net device/Node/Position/Longitude'
'Wired interface/Net device/Node/Position/Height'
'Wired interface/Net device/Node/Show in map'
'Wired interface/Net device/Name'
'Wired interface/Net device/Description'
'Wired interface/Net device/My node'
'Wired interface/Net device/My node/Name'
'Wired interface/Net device/My node/Manager'
'Wired interface/Net device/My node/Address'
'Wired interface/Net device/My node/Address/Street'
'Wired interface/Net device/My node/Address/Zip code'
'Wired interface/Net device/My node/Address/City'
'Wired interface/Net device/My node/Address/Country'
'Wired interface/Net device/My node/Address/Description'
'Wired interface/Net device/My node/Address/Region'
'Wired interface/Net device/My node/Description'
'Wired interface/Net device/My node/Owner'
'Wired interface/Net device/My node/Position'
'Wired interface/Net device/My node/Position/Latitude'
'Wired interface/Net device/My node/Position/Longitude'
'Wired interface/Net device/My node/Position/Height'
'Wired interface/Net device/My node/Show in map'
'Wired interface/Mac address'
'Wired interface/Name'
'Wired interface/Is active'
'Wired interface/Description'
'Wired interface/My node'
'Wired interface/My node/Name'
'Wired interface/My node/Manager'
'Wired interface/My node/Address'
'Wired interface/My node/Address/Street'
'Wired interface/My node/Address/Zip code'
'Wired interface/My node/Address/City'
'Wired interface/My node/Address/Country'
'Wired interface/My node/Address/Description'
'Wired interface/My node/Address/Region'
'Wired interface/My node/Description'
'Wired interface/My node/Owner'
'Wired interface/My node/Position'
'Wired interface/My node/Position/Latitude'
'Wired interface/My node/Position/Longitude'
'Wired interface/My node/Position/Height'
'Wired interface/My node/Show in map'
'Wired interface/My net device'
'Wired interface/My net device/Net device type'
'Wired interface/My net device/Net device type/Name'
'Wired interface/My net device/Net device type/Model no'
'Wired interface/My net device/Net device type/Revision'
'Wired interface/My net device/Net device type/Description'
'Wired interface/My net device/Node'
'Wired interface/My net device/Node/Name'
'Wired interface/My net device/Node/Manager'
'Wired interface/My net device/Node/Address'
'Wired interface/My net device/Node/Address/Street'
'Wired interface/My net device/Node/Address/Zip code'
'Wired interface/My net device/Node/Address/City'
'Wired interface/My net device/Node/Address/Country'
'Wired interface/My net device/Node/Address/Description'
'Wired interface/My net device/Node/Address/Region'
'Wired interface/My net device/Node/Description'
'Wired interface/My net device/Node/Owner'
'Wired interface/My net device/Node/Position'
'Wired interface/My net device/Node/Position/Latitude'
'Wired interface/My net device/Node/Position/Longitude'
'Wired interface/My net device/Node/Position/Height'
'Wired interface/My net device/Node/Show in map'
'Wired interface/My net device/Name'
'Wired interface/My net device/Description'
'Wired interface/My net device/My node'
'Wired interface/My net device/My node/Name'
'Wired interface/My net device/My node/Manager'
'Wired interface/My net device/My node/Address'
'Wired interface/My net device/My node/Address/Street'
'Wired interface/My net device/My node/Address/Zip code'
'Wired interface/My net device/My node/Address/City'
'Wired interface/My net device/My node/Address/Country'
'Wired interface/My net device/My node/Address/Description'
'Wired interface/My net device/My node/Address/Region'
'Wired interface/My net device/My node/Description'
'Wired interface/My net device/My node/Owner'
'Wired interface/My net device/My node/Position'
'Wired interface/My net device/My node/Position/Latitude'
'Wired interface/My net device/My node/Position/Longitude'
'Wired interface/My net device/My node/Position/Height'
'Wired interface/My net device/My node/Show in map'
'Wireless interface'
'Wireless interface/Net device'
'Wireless interface/Net device/Net device type'
'Wireless interface/Net device/Net device type/Name'
'Wireless interface/Net device/Net device type/Model no'
'Wireless interface/Net device/Net device type/Revision'
'Wireless interface/Net device/Net device type/Description'
'Wireless interface/Net device/Node'
'Wireless interface/Net device/Node/Name'
'Wireless interface/Net device/Node/Manager'
'Wireless interface/Net device/Node/Address'
'Wireless interface/Net device/Node/Address/Street'
'Wireless interface/Net device/Node/Address/Zip code'
'Wireless interface/Net device/Node/Address/City'
'Wireless interface/Net device/Node/Address/Country'
'Wireless interface/Net device/Node/Address/Description'
'Wireless interface/Net device/Node/Address/Region'
'Wireless interface/Net device/Node/Description'
'Wireless interface/Net device/Node/Owner'
'Wireless interface/Net device/Node/Position'
'Wireless interface/Net device/Node/Position/Latitude'
'Wireless interface/Net device/Node/Position/Longitude'
'Wireless interface/Net device/Node/Position/Height'
'Wireless interface/Net device/Node/Show in map'
'Wireless interface/Net device/Name'
'Wireless interface/Net device/Description'
'Wireless interface/Net device/My node'
'Wireless interface/Net device/My node/Name'
'Wireless interface/Net device/My node/Manager'
'Wireless interface/Net device/My node/Address'
'Wireless interface/Net device/My node/Address/Street'
'Wireless interface/Net device/My node/Address/Zip code'
'Wireless interface/Net device/My node/Address/City'
'Wireless interface/Net device/My node/Address/Country'
'Wireless interface/Net device/My node/Address/Description'
'Wireless interface/Net device/My node/Address/Region'
'Wireless interface/Net device/My node/Description'
'Wireless interface/Net device/My node/Owner'
'Wireless interface/Net device/My node/Position'
'Wireless interface/Net device/My node/Position/Latitude'
'Wireless interface/Net device/My node/Position/Longitude'
'Wireless interface/Net device/My node/Position/Height'
'Wireless interface/Net device/My node/Show in map'
'Wireless interface/Mac address'
'Wireless interface/Name'
'Wireless interface/Is active'
'Wireless interface/Description'
'Wireless interface/Mode'
'Wireless interface/ESSID'
'Wireless interface/BSSID'
'Wireless interface/Standard'
'Wireless interface/Standard/Name'
'Wireless interface/Standard/Bandwidth'
'Wireless interface/TX power'
'Wireless interface/My node'
'Wireless interface/My node/Name'
'Wireless interface/My node/Manager'
'Wireless interface/My node/Address'
'Wireless interface/My node/Address/Street'
'Wireless interface/My node/Address/Zip code'
'Wireless interface/My node/Address/City'
'Wireless interface/My node/Address/Country'
'Wireless interface/My node/Address/Description'
'Wireless interface/My node/Address/Region'
'Wireless interface/My node/Description'
'Wireless interface/My node/Owner'
'Wireless interface/My node/Position'
'Wireless interface/My node/Position/Latitude'
'Wireless interface/My node/Position/Longitude'
'Wireless interface/My node/Position/Height'
'Wireless interface/My node/Show in map'
'Wireless interface/My net device'
'Wireless interface/My net device/Net device type'
'Wireless interface/My net device/Net device type/Name'
'Wireless interface/My net device/Net device type/Model no'
'Wireless interface/My net device/Net device type/Revision'
'Wireless interface/My net device/Net device type/Description'
'Wireless interface/My net device/Node'
'Wireless interface/My net device/Node/Name'
'Wireless interface/My net device/Node/Manager'
'Wireless interface/My net device/Node/Address'
'Wireless interface/My net device/Node/Address/Street'
'Wireless interface/My net device/Node/Address/Zip code'
'Wireless interface/My net device/Node/Address/City'
'Wireless interface/My net device/Node/Address/Country'
'Wireless interface/My net device/Node/Address/Description'
'Wireless interface/My net device/Node/Address/Region'
'Wireless interface/My net device/Node/Description'
'Wireless interface/My net device/Node/Owner'
'Wireless interface/My net device/Node/Position'
'Wireless interface/My net device/Node/Position/Latitude'
'Wireless interface/My net device/Node/Position/Longitude'
'Wireless interface/My net device/Node/Position/Height'
'Wireless interface/My net device/Node/Show in map'
'Wireless interface/My net device/Name'
'Wireless interface/My net device/Description'
'Wireless interface/My net device/My node'
'Wireless interface/My net device/My node/Name'
'Wireless interface/My net device/My node/Manager'
'Wireless interface/My net device/My node/Address'
'Wireless interface/My net device/My node/Address/Street'
'Wireless interface/My net device/My node/Address/Zip code'
'Wireless interface/My net device/My node/Address/City'
'Wireless interface/My net device/My node/Address/Country'
'Wireless interface/My net device/My node/Address/Description'
'Wireless interface/My net device/My node/Address/Region'
'Wireless interface/My net device/My node/Description'
'Wireless interface/My net device/My node/Owner'
'Wireless interface/My net device/My node/Position'
'Wireless interface/My net device/My node/Position/Latitude'
'Wireless interface/My net device/My node/Position/Longitude'
'Wireless interface/My net device/My node/Position/Height'
'Wireless interface/My net device/My node/Show in map'
'Virtual wireless interface'
'Virtual wireless interface/Net device'
'Virtual wireless interface/Net device/Net device type'
'Virtual wireless interface/Net device/Net device type/Name'
'Virtual wireless interface/Net device/Net device type/Model no'
'Virtual wireless interface/Net device/Net device type/Revision'
'Virtual wireless interface/Net device/Net device type/Description'
'Virtual wireless interface/Net device/Node'
'Virtual wireless interface/Net device/Node/Name'
'Virtual wireless interface/Net device/Node/Manager'
'Virtual wireless interface/Net device/Node/Address'
'Virtual wireless interface/Net device/Node/Address/Street'
'Virtual wireless interface/Net device/Node/Address/Zip code'
'Virtual wireless interface/Net device/Node/Address/City'
'Virtual wireless interface/Net device/Node/Address/Country'
'Virtual wireless interface/Net device/Node/Address/Description'
'Virtual wireless interface/Net device/Node/Address/Region'
'Virtual wireless interface/Net device/Node/Description'
'Virtual wireless interface/Net device/Node/Owner'
'Virtual wireless interface/Net device/Node/Position'
'Virtual wireless interface/Net device/Node/Position/Latitude'
'Virtual wireless interface/Net device/Node/Position/Longitude'
'Virtual wireless interface/Net device/Node/Position/Height'
'Virtual wireless interface/Net device/Node/Show in map'
'Virtual wireless interface/Net device/Name'
'Virtual wireless interface/Net device/Description'
'Virtual wireless interface/Net device/My node'
'Virtual wireless interface/Net device/My node/Name'
'Virtual wireless interface/Net device/My node/Manager'
'Virtual wireless interface/Net device/My node/Address'
'Virtual wireless interface/Net device/My node/Address/Street'
'Virtual wireless interface/Net device/My node/Address/Zip code'
'Virtual wireless interface/Net device/My node/Address/City'
'Virtual wireless interface/Net device/My node/Address/Country'
'Virtual wireless interface/Net device/My node/Address/Description'
'Virtual wireless interface/Net device/My node/Address/Region'
'Virtual wireless interface/Net device/My node/Description'
'Virtual wireless interface/Net device/My node/Owner'
'Virtual wireless interface/Net device/My node/Position'
'Virtual wireless interface/Net device/My node/Position/Latitude'
'Virtual wireless interface/Net device/My node/Position/Longitude'
'Virtual wireless interface/Net device/My node/Position/Height'
'Virtual wireless interface/Net device/My node/Show in map'
'Virtual wireless interface/Hardware'
'Virtual wireless interface/Hardware/Net device'
'Virtual wireless interface/Hardware/Net device/Net device type'
'Virtual wireless interface/Hardware/Net device/Net device type/Name'
'Virtual wireless interface/Hardware/Net device/Net device type/Model no'
'Virtual wireless interface/Hardware/Net device/Net device type/Revision'
'Virtual wireless interface/Hardware/Net device/Net device type/Description'
'Virtual wireless interface/Hardware/Net device/Node'
'Virtual wireless interface/Hardware/Net device/Node/Name'
'Virtual wireless interface/Hardware/Net device/Node/Manager'
'Virtual wireless interface/Hardware/Net device/Node/Address'
'Virtual wireless interface/Hardware/Net device/Node/Address/Street'
'Virtual wireless interface/Hardware/Net device/Node/Address/Zip code'
'Virtual wireless interface/Hardware/Net device/Node/Address/City'
'Virtual wireless interface/Hardware/Net device/Node/Address/Country'
'Virtual wireless interface/Hardware/Net device/Node/Address/Description'
'Virtual wireless interface/Hardware/Net device/Node/Address/Region'
'Virtual wireless interface/Hardware/Net device/Node/Description'
'Virtual wireless interface/Hardware/Net device/Node/Owner'
'Virtual wireless interface/Hardware/Net device/Node/Position'
'Virtual wireless interface/Hardware/Net device/Node/Position/Latitude'
'Virtual wireless interface/Hardware/Net device/Node/Position/Longitude'
'Virtual wireless interface/Hardware/Net device/Node/Position/Height'
'Virtual wireless interface/Hardware/Net device/Node/Show in map'
'Virtual wireless interface/Hardware/Net device/Name'
'Virtual wireless interface/Hardware/Net device/Description'
'Virtual wireless interface/Hardware/Net device/My node'
'Virtual wireless interface/Hardware/Net device/My node/Name'
'Virtual wireless interface/Hardware/Net device/My node/Manager'
'Virtual wireless interface/Hardware/Net device/My node/Address'
'Virtual wireless interface/Hardware/Net device/My node/Address/Street'
'Virtual wireless interface/Hardware/Net device/My node/Address/Zip code'
'Virtual wireless interface/Hardware/Net device/My node/Address/City'
'Virtual wireless interface/Hardware/Net device/My node/Address/Country'
'Virtual wireless interface/Hardware/Net device/My node/Address/Description'
'Virtual wireless interface/Hardware/Net device/My node/Address/Region'
'Virtual wireless interface/Hardware/Net device/My node/Description'
'Virtual wireless interface/Hardware/Net device/My node/Owner'
'Virtual wireless interface/Hardware/Net device/My node/Position'
'Virtual wireless interface/Hardware/Net device/My node/Position/Latitude'
'Virtual wireless interface/Hardware/Net device/My node/Position/Longitude'
'Virtual wireless interface/Hardware/Net device/My node/Position/Height'
'Virtual wireless interface/Hardware/Net device/My node/Show in map'
'Virtual wireless interface/Hardware/Mac address'
'Virtual wireless interface/Hardware/Name'
'Virtual wireless interface/Hardware/Is active'
'Virtual wireless interface/Hardware/Description'
'Virtual wireless interface/Hardware/Mode'
'Virtual wireless interface/Hardware/ESSID'
'Virtual wireless interface/Hardware/BSSID'
'Virtual wireless interface/Hardware/Standard'
'Virtual wireless interface/Hardware/Standard/Name'
'Virtual wireless interface/Hardware/Standard/Bandwidth'
'Virtual wireless interface/Hardware/TX power'
'Virtual wireless interface/Hardware/My node'
'Virtual wireless interface/Hardware/My node/Name'
'Virtual wireless interface/Hardware/My node/Manager'
'Virtual wireless interface/Hardware/My node/Address'
'Virtual wireless interface/Hardware/My node/Address/Street'
'Virtual wireless interface/Hardware/My node/Address/Zip code'
'Virtual wireless interface/Hardware/My node/Address/City'
'Virtual wireless interface/Hardware/My node/Address/Country'
'Virtual wireless interface/Hardware/My node/Address/Description'
'Virtual wireless interface/Hardware/My node/Address/Region'
'Virtual wireless interface/Hardware/My node/Description'
'Virtual wireless interface/Hardware/My node/Owner'
'Virtual wireless interface/Hardware/My node/Position'
'Virtual wireless interface/Hardware/My node/Position/Latitude'
'Virtual wireless interface/Hardware/My node/Position/Longitude'
'Virtual wireless interface/Hardware/My node/Position/Height'
'Virtual wireless interface/Hardware/My node/Show in map'
'Virtual wireless interface/Hardware/My net device'
'Virtual wireless interface/Hardware/My net device/Net device type'
'Virtual wireless interface/Hardware/My net device/Net device type/Name'
'Virtual wireless interface/Hardware/My net device/Net device type/Model no'
'Virtual wireless interface/Hardware/My net device/Net device type/Revision'
'Virtual wireless interface/Hardware/My net device/Net device type/Description'
'Virtual wireless interface/Hardware/My net device/Node'
'Virtual wireless interface/Hardware/My net device/Node/Name'
'Virtual wireless interface/Hardware/My net device/Node/Manager'
'Virtual wireless interface/Hardware/My net device/Node/Address'
'Virtual wireless interface/Hardware/My net device/Node/Address/Street'
'Virtual wireless interface/Hardware/My net device/Node/Address/Zip code'
'Virtual wireless interface/Hardware/My net device/Node/Address/City'
'Virtual wireless interface/Hardware/My net device/Node/Address/Country'
'Virtual wireless interface/Hardware/My net device/Node/Address/Description'
'Virtual wireless interface/Hardware/My net device/Node/Address/Region'
'Virtual wireless interface/Hardware/My net device/Node/Description'
'Virtual wireless interface/Hardware/My net device/Node/Owner'
'Virtual wireless interface/Hardware/My net device/Node/Position'
'Virtual wireless interface/Hardware/My net device/Node/Position/Latitude'
'Virtual wireless interface/Hardware/My net device/Node/Position/Longitude'
'Virtual wireless interface/Hardware/My net device/Node/Position/Height'
'Virtual wireless interface/Hardware/My net device/Node/Show in map'
'Virtual wireless interface/Hardware/My net device/Name'
'Virtual wireless interface/Hardware/My net device/Description'
'Virtual wireless interface/Hardware/My net device/My node'
'Virtual wireless interface/Hardware/My net device/My node/Name'
'Virtual wireless interface/Hardware/My net device/My node/Manager'
'Virtual wireless interface/Hardware/My net device/My node/Address'
'Virtual wireless interface/Hardware/My net device/My node/Address/Street'
'Virtual wireless interface/Hardware/My net device/My node/Address/Zip code'
'Virtual wireless interface/Hardware/My net device/My node/Address/City'
'Virtual wireless interface/Hardware/My net device/My node/Address/Country'
'Virtual wireless interface/Hardware/My net device/My node/Address/Description'
'Virtual wireless interface/Hardware/My net device/My node/Address/Region'
'Virtual wireless interface/Hardware/My net device/My node/Description'
'Virtual wireless interface/Hardware/My net device/My node/Owner'
'Virtual wireless interface/Hardware/My net device/My node/Position'
'Virtual wireless interface/Hardware/My net device/My node/Position/Latitude'
'Virtual wireless interface/Hardware/My net device/My node/Position/Longitude'
'Virtual wireless interface/Hardware/My net device/My node/Position/Height'
'Virtual wireless interface/Hardware/My net device/My node/Show in map'
'Virtual wireless interface/Mac address'
'Virtual wireless interface/Name'
'Virtual wireless interface/Is active'
'Virtual wireless interface/Description'
'Virtual wireless interface/Mode'
'Virtual wireless interface/ESSID'
'Virtual wireless interface/BSSID'
'Virtual wireless interface/My node'
'Virtual wireless interface/My node/Name'
'Virtual wireless interface/My node/Manager'
'Virtual wireless interface/My node/Address'
'Virtual wireless interface/My node/Address/Street'
'Virtual wireless interface/My node/Address/Zip code'
'Virtual wireless interface/My node/Address/City'
'Virtual wireless interface/My node/Address/Country'
'Virtual wireless interface/My node/Address/Description'
'Virtual wireless interface/My node/Address/Region'
'Virtual wireless interface/My node/Description'
'Virtual wireless interface/My node/Owner'
'Virtual wireless interface/My node/Position'
'Virtual wireless interface/My node/Position/Latitude'
'Virtual wireless interface/My node/Position/Longitude'
'Virtual wireless interface/My node/Position/Height'
'Virtual wireless interface/My node/Show in map'
'Virtual wireless interface/My net device'
'Virtual wireless interface/My net device/Net device type'
'Virtual wireless interface/My net device/Net device type/Name'
'Virtual wireless interface/My net device/Net device type/Model no'
'Virtual wireless interface/My net device/Net device type/Revision'
'Virtual wireless interface/My net device/Net device type/Description'
'Virtual wireless interface/My net device/Node'
'Virtual wireless interface/My net device/Node/Name'
'Virtual wireless interface/My net device/Node/Manager'
'Virtual wireless interface/My net device/Node/Address'
'Virtual wireless interface/My net device/Node/Address/Street'
'Virtual wireless interface/My net device/Node/Address/Zip code'
'Virtual wireless interface/My net device/Node/Address/City'
'Virtual wireless interface/My net device/Node/Address/Country'
'Virtual wireless interface/My net device/Node/Address/Description'
'Virtual wireless interface/My net device/Node/Address/Region'
'Virtual wireless interface/My net device/Node/Description'
'Virtual wireless interface/My net device/Node/Owner'
'Virtual wireless interface/My net device/Node/Position'
'Virtual wireless interface/My net device/Node/Position/Latitude'
'Virtual wireless interface/My net device/Node/Position/Longitude'
'Virtual wireless interface/My net device/Node/Position/Height'
'Virtual wireless interface/My net device/Node/Show in map'
'Virtual wireless interface/My net device/Name'
'Virtual wireless interface/My net device/Description'
'Virtual wireless interface/My net device/My node'
'Virtual wireless interface/My net device/My node/Name'
'Virtual wireless interface/My net device/My node/Manager'
'Virtual wireless interface/My net device/My node/Address'
'Virtual wireless interface/My net device/My node/Address/Street'
'Virtual wireless interface/My net device/My node/Address/Zip code'
'Virtual wireless interface/My net device/My node/Address/City'
'Virtual wireless interface/My net device/My node/Address/Country'
'Virtual wireless interface/My net device/My node/Address/Description'
'Virtual wireless interface/My net device/My node/Address/Region'
'Virtual wireless interface/My net device/My node/Description'
'Virtual wireless interface/My net device/My node/Owner'
'Virtual wireless interface/My net device/My node/Position'
'Virtual wireless interface/My net device/My node/Position/Latitude'
'Virtual wireless interface/My net device/My node/Position/Longitude'
'Virtual wireless interface/My net device/My node/Position/Height'
'Virtual wireless interface/My net device/My node/Show in map'
'Virtual wireless interface/Standard'
'Virtual wireless interface/Standard/Name'
'Virtual wireless interface/Standard/Bandwidth'
'Virtual wireless interface/TX power'
>>> AQ.parent.parent.parent.owner
<parent.parent.parent.owner.AQ [Attr.Type.Querier Id_Entity]>
>>> for aq in AQ.Atoms :
... print (aq)
<net_address.AQ [Attr.Type.Querier Ckd]>
<desc.AQ [Attr.Type.Querier String]>
<pool.net_address.AQ [Attr.Type.Querier Ckd]>
<pool.desc.AQ [Attr.Type.Querier String]>
<pool.expiration_date.AQ [Attr.Type.Querier Ckd]>
<pool.has_children.AQ [Attr.Type.Querier Boolean]>
<pool.is_free.AQ [Attr.Type.Querier Boolean]>
<creation.c_time.AQ [Attr.Type.Querier Ckd]>
<creation.kind.AQ [Attr.Type.Querier String]>
<creation.time.AQ [Attr.Type.Querier Ckd]>
<last_change.c_time.AQ [Attr.Type.Querier Ckd]>
<last_change.kind.AQ [Attr.Type.Querier String]>
<last_change.time.AQ [Attr.Type.Querier Ckd]>
<last_cid.AQ [Attr.Type.Querier Ckd]>
<pid.AQ [Attr.Type.Querier Ckd]>
<type_name.AQ [Attr.Type.Querier String]>
<expiration_date.AQ [Attr.Type.Querier Ckd]>
<has_children.AQ [Attr.Type.Querier Boolean]>
<is_free.AQ [Attr.Type.Querier Boolean]>
<parent.net_address.AQ [Attr.Type.Querier Ckd]>
<parent.desc.AQ [Attr.Type.Querier String]>
<parent.expiration_date.AQ [Attr.Type.Querier Ckd]>
<parent.has_children.AQ [Attr.Type.Querier Boolean]>
<parent.is_free.AQ [Attr.Type.Querier Boolean]>
<ip_pool.name.AQ [Attr.Type.Querier String]>
<ip_pool.cool_down_period.AQ [Attr.Type.Querier Ckd]>
<ip_pool.node.name.AQ [Attr.Type.Querier String]>
<ip_pool.node.address.street.AQ [Attr.Type.Querier String]>
<ip_pool.node.address.zip.AQ [Attr.Type.Querier String]>
<ip_pool.node.address.city.AQ [Attr.Type.Querier String]>
<ip_pool.node.address.country.AQ [Attr.Type.Querier String]>
<ip_pool.node.address.desc.AQ [Attr.Type.Querier String]>
<ip_pool.node.address.region.AQ [Attr.Type.Querier String]>
<ip_pool.node.desc.AQ [Attr.Type.Querier String]>
<ip_pool.node.position.lat.AQ [Attr.Type.Querier Raw]>
<ip_pool.node.position.lon.AQ [Attr.Type.Querier Raw]>
<ip_pool.node.position.height.AQ [Attr.Type.Querier Ckd]>
<ip_pool.node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<ip_pool.netmask_interval.lower.AQ [Attr.Type.Querier Ckd]>
<ip_pool.netmask_interval.upper.AQ [Attr.Type.Querier Ckd]>
<ip_pool.netmask_interval.center.AQ [Attr.Type.Querier Ckd]>
<ip_pool.netmask_interval.length.AQ [Attr.Type.Querier Ckd]>
<documents.url.AQ [Attr.Type.Querier String]>
<documents.type.AQ [Attr.Type.Querier String]>
<documents.desc.AQ [Attr.Type.Querier String]>
<wired_interface.left.left.name.AQ [Attr.Type.Querier String]>
<wired_interface.left.left.model_no.AQ [Attr.Type.Querier String]>
<wired_interface.left.left.revision.AQ [Attr.Type.Querier String]>
<wired_interface.left.left.desc.AQ [Attr.Type.Querier String]>
<wired_interface.left.node.name.AQ [Attr.Type.Querier String]>
<wired_interface.left.node.address.street.AQ [Attr.Type.Querier String]>
<wired_interface.left.node.address.zip.AQ [Attr.Type.Querier String]>
<wired_interface.left.node.address.city.AQ [Attr.Type.Querier String]>
<wired_interface.left.node.address.country.AQ [Attr.Type.Querier String]>
<wired_interface.left.node.address.desc.AQ [Attr.Type.Querier String]>
<wired_interface.left.node.address.region.AQ [Attr.Type.Querier String]>
<wired_interface.left.node.desc.AQ [Attr.Type.Querier String]>
<wired_interface.left.node.position.lat.AQ [Attr.Type.Querier Raw]>
<wired_interface.left.node.position.lon.AQ [Attr.Type.Querier Raw]>
<wired_interface.left.node.position.height.AQ [Attr.Type.Querier Ckd]>
<wired_interface.left.node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<wired_interface.left.name.AQ [Attr.Type.Querier String]>
<wired_interface.left.desc.AQ [Attr.Type.Querier String]>
<wired_interface.left.my_node.name.AQ [Attr.Type.Querier String]>
<wired_interface.left.my_node.address.street.AQ [Attr.Type.Querier String]>
<wired_interface.left.my_node.address.zip.AQ [Attr.Type.Querier String]>
<wired_interface.left.my_node.address.city.AQ [Attr.Type.Querier String]>
<wired_interface.left.my_node.address.country.AQ [Attr.Type.Querier String]>
<wired_interface.left.my_node.address.desc.AQ [Attr.Type.Querier String]>
<wired_interface.left.my_node.address.region.AQ [Attr.Type.Querier String]>
<wired_interface.left.my_node.desc.AQ [Attr.Type.Querier String]>
<wired_interface.left.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<wired_interface.left.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<wired_interface.left.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<wired_interface.left.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<wired_interface.mac_address.AQ [Attr.Type.Querier String]>
<wired_interface.name.AQ [Attr.Type.Querier String]>
<wired_interface.is_active.AQ [Attr.Type.Querier Boolean]>
<wired_interface.desc.AQ [Attr.Type.Querier String]>
<wired_interface.my_node.name.AQ [Attr.Type.Querier String]>
<wired_interface.my_node.address.street.AQ [Attr.Type.Querier String]>
<wired_interface.my_node.address.zip.AQ [Attr.Type.Querier String]>
<wired_interface.my_node.address.city.AQ [Attr.Type.Querier String]>
<wired_interface.my_node.address.country.AQ [Attr.Type.Querier String]>
<wired_interface.my_node.address.desc.AQ [Attr.Type.Querier String]>
<wired_interface.my_node.address.region.AQ [Attr.Type.Querier String]>
<wired_interface.my_node.desc.AQ [Attr.Type.Querier String]>
<wired_interface.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<wired_interface.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<wired_interface.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<wired_interface.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<wired_interface.my_net_device.left.name.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.left.model_no.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.left.revision.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.left.desc.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.node.name.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.node.address.street.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.node.address.zip.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.node.address.city.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.node.address.country.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.node.address.desc.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.node.address.region.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.node.desc.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.node.position.lat.AQ [Attr.Type.Querier Raw]>
<wired_interface.my_net_device.node.position.lon.AQ [Attr.Type.Querier Raw]>
<wired_interface.my_net_device.node.position.height.AQ [Attr.Type.Querier Ckd]>
<wired_interface.my_net_device.node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<wired_interface.my_net_device.name.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.desc.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.my_node.name.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.my_node.address.street.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.my_node.address.zip.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.my_node.address.city.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.my_node.address.country.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.my_node.address.desc.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.my_node.address.region.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.my_node.desc.AQ [Attr.Type.Querier String]>
<wired_interface.my_net_device.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<wired_interface.my_net_device.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<wired_interface.my_net_device.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<wired_interface.my_net_device.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<wireless_interface.left.left.name.AQ [Attr.Type.Querier String]>
<wireless_interface.left.left.model_no.AQ [Attr.Type.Querier String]>
<wireless_interface.left.left.revision.AQ [Attr.Type.Querier String]>
<wireless_interface.left.left.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.left.node.name.AQ [Attr.Type.Querier String]>
<wireless_interface.left.node.address.street.AQ [Attr.Type.Querier String]>
<wireless_interface.left.node.address.zip.AQ [Attr.Type.Querier String]>
<wireless_interface.left.node.address.city.AQ [Attr.Type.Querier String]>
<wireless_interface.left.node.address.country.AQ [Attr.Type.Querier String]>
<wireless_interface.left.node.address.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.left.node.address.region.AQ [Attr.Type.Querier String]>
<wireless_interface.left.node.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.left.node.position.lat.AQ [Attr.Type.Querier Raw]>
<wireless_interface.left.node.position.lon.AQ [Attr.Type.Querier Raw]>
<wireless_interface.left.node.position.height.AQ [Attr.Type.Querier Ckd]>
<wireless_interface.left.node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<wireless_interface.left.name.AQ [Attr.Type.Querier String]>
<wireless_interface.left.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.left.my_node.name.AQ [Attr.Type.Querier String]>
<wireless_interface.left.my_node.address.street.AQ [Attr.Type.Querier String]>
<wireless_interface.left.my_node.address.zip.AQ [Attr.Type.Querier String]>
<wireless_interface.left.my_node.address.city.AQ [Attr.Type.Querier String]>
<wireless_interface.left.my_node.address.country.AQ [Attr.Type.Querier String]>
<wireless_interface.left.my_node.address.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.left.my_node.address.region.AQ [Attr.Type.Querier String]>
<wireless_interface.left.my_node.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.left.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<wireless_interface.left.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<wireless_interface.left.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<wireless_interface.left.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<wireless_interface.mac_address.AQ [Attr.Type.Querier String]>
<wireless_interface.name.AQ [Attr.Type.Querier String]>
<wireless_interface.is_active.AQ [Attr.Type.Querier Boolean]>
<wireless_interface.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.mode.AQ [Attr.Type.Querier Ckd]>
<wireless_interface.essid.AQ [Attr.Type.Querier String]>
<wireless_interface.bssid.AQ [Attr.Type.Querier String]>
<wireless_interface.standard.name.AQ [Attr.Type.Querier String]>
<wireless_interface.standard.bandwidth.AQ [Attr.Type.Querier Raw]>
<wireless_interface.txpower.AQ [Attr.Type.Querier Raw]>
<wireless_interface.my_node.name.AQ [Attr.Type.Querier String]>
<wireless_interface.my_node.address.street.AQ [Attr.Type.Querier String]>
<wireless_interface.my_node.address.zip.AQ [Attr.Type.Querier String]>
<wireless_interface.my_node.address.city.AQ [Attr.Type.Querier String]>
<wireless_interface.my_node.address.country.AQ [Attr.Type.Querier String]>
<wireless_interface.my_node.address.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.my_node.address.region.AQ [Attr.Type.Querier String]>
<wireless_interface.my_node.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<wireless_interface.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<wireless_interface.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<wireless_interface.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<wireless_interface.my_net_device.left.name.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.left.model_no.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.left.revision.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.left.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.node.name.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.node.address.street.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.node.address.zip.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.node.address.city.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.node.address.country.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.node.address.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.node.address.region.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.node.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.node.position.lat.AQ [Attr.Type.Querier Raw]>
<wireless_interface.my_net_device.node.position.lon.AQ [Attr.Type.Querier Raw]>
<wireless_interface.my_net_device.node.position.height.AQ [Attr.Type.Querier Ckd]>
<wireless_interface.my_net_device.node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<wireless_interface.my_net_device.name.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.my_node.name.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.my_node.address.street.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.my_node.address.zip.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.my_node.address.city.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.my_node.address.country.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.my_node.address.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.my_node.address.region.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.my_node.desc.AQ [Attr.Type.Querier String]>
<wireless_interface.my_net_device.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<wireless_interface.my_net_device.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<wireless_interface.my_net_device.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<wireless_interface.my_net_device.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.left.left.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.left.model_no.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.left.revision.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.left.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.node.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.node.address.street.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.node.address.zip.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.node.address.city.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.node.address.country.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.node.address.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.node.address.region.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.node.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.node.position.lat.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.left.node.position.lon.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.left.node.position.height.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.left.node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.left.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.my_node.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.my_node.address.street.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.my_node.address.zip.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.my_node.address.city.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.my_node.address.country.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.my_node.address.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.my_node.address.region.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.my_node.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.left.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.left.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.left.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.left.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.hardware.left.left.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.left.model_no.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.left.revision.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.left.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.node.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.node.address.street.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.node.address.zip.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.node.address.city.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.node.address.country.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.node.address.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.node.address.region.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.node.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.node.position.lat.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.left.node.position.lon.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.left.node.position.height.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.hardware.left.node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.hardware.left.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.my_node.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.my_node.address.street.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.my_node.address.zip.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.my_node.address.city.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.my_node.address.country.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.my_node.address.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.my_node.address.region.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.my_node.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.left.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.left.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.left.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.hardware.left.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.hardware.mac_address.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.is_active.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.hardware.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.mode.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.hardware.essid.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.bssid.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.standard.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.standard.bandwidth.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.txpower.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.my_node.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_node.address.street.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_node.address.zip.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_node.address.city.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_node.address.country.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_node.address.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_node.address.region.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_node.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.hardware.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.hardware.my_net_device.left.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.left.model_no.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.left.revision.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.left.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.node.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.node.address.street.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.node.address.zip.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.node.address.city.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.node.address.country.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.node.address.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.node.address.region.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.node.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.node.position.lat.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.my_net_device.node.position.lon.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.my_net_device.node.position.height.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.hardware.my_net_device.node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.hardware.my_net_device.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.my_node.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.my_node.address.street.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.my_node.address.zip.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.my_node.address.city.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.my_node.address.country.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.my_node.address.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.my_node.address.region.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.my_node.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.hardware.my_net_device.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.my_net_device.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.hardware.my_net_device.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.hardware.my_net_device.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.mac_address.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.is_active.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.mode.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.essid.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.bssid.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_node.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_node.address.street.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_node.address.zip.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_node.address.city.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_node.address.country.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_node.address.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_node.address.region.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_node.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.my_net_device.left.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.left.model_no.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.left.revision.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.left.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.node.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.node.address.street.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.node.address.zip.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.node.address.city.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.node.address.country.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.node.address.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.node.address.region.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.node.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.node.position.lat.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.my_net_device.node.position.lon.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.my_net_device.node.position.height.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.my_net_device.node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.my_net_device.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.my_node.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.my_node.address.street.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.my_node.address.zip.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.my_node.address.city.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.my_node.address.country.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.my_node.address.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.my_node.address.region.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.my_node.desc.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.my_net_device.my_node.position.lat.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.my_net_device.my_node.position.lon.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.my_net_device.my_node.position.height.AQ [Attr.Type.Querier Ckd]>
<virtual_wireless_interface.my_net_device.my_node.show_in_map.AQ [Attr.Type.Querier Boolean]>
<virtual_wireless_interface.standard.name.AQ [Attr.Type.Querier String]>
<virtual_wireless_interface.standard.bandwidth.AQ [Attr.Type.Querier Raw]>
<virtual_wireless_interface.txpower.AQ [Attr.Type.Querier Raw]>
>>> print (formatted (AQ.As_Json_Cargo))
{ 'filters' :
[ { 'name' : 'net_address'
, 'sig_key' : 0
, 'ui_name' : 'Net address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'net_address'
, 'sig_key' : 0
, 'ui_name' : 'Net address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'Class' : 'Entity'
, 'name' : 'pool'
, 'sig_key' : 2
, 'ui_name' : 'Pool'
}
, { 'name' : 'expiration_date'
, 'sig_key' : 0
, 'ui_name' : 'Expiration date'
}
, { 'name' : 'has_children'
, 'sig_key' : 1
, 'ui_name' : 'Has children'
}
, { 'name' : 'is_free'
, 'sig_key' : 1
, 'ui_name' : 'Is free'
}
, { 'Class' : 'Entity'
, 'name' : 'parent'
, 'sig_key' : 2
, 'ui_name' : 'Parent'
}
]
, 'name' : 'pool'
, 'sig_key' : 2
, 'ui_name' : 'Pool'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'c_time'
, 'sig_key' : 0
, 'ui_name' : 'C time'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'c_user'
, 'sig_key' : 2
, 'type_name' : 'Auth.Account'
, 'ui_name' : 'C user'
, 'ui_type_name' : 'Account'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'c_user'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'C user'
, 'ui_type_name' : 'Person'
}
]
, 'name' : 'c_user'
, 'sig_key' : 2
, 'ui_name' : 'C user'
}
, { 'name' : 'kind'
, 'sig_key' : 3
, 'ui_name' : 'Kind'
}
, { 'name' : 'time'
, 'sig_key' : 0
, 'ui_name' : 'Time'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'user'
, 'sig_key' : 2
, 'type_name' : 'Auth.Account'
, 'ui_name' : 'User'
, 'ui_type_name' : 'Account'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'user'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'User'
, 'ui_type_name' : 'Person'
}
]
, 'name' : 'user'
, 'sig_key' : 2
, 'ui_name' : 'User'
}
]
, 'name' : 'creation'
, 'sig_key' : 2
, 'ui_name' : 'Creation'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'c_time'
, 'sig_key' : 0
, 'ui_name' : 'C time'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'c_user'
, 'sig_key' : 2
, 'type_name' : 'Auth.Account'
, 'ui_name' : 'C user'
, 'ui_type_name' : 'Account'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'c_user'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'C user'
, 'ui_type_name' : 'Person'
}
]
, 'name' : 'c_user'
, 'sig_key' : 2
, 'ui_name' : 'C user'
}
, { 'name' : 'kind'
, 'sig_key' : 3
, 'ui_name' : 'Kind'
}
, { 'name' : 'time'
, 'sig_key' : 0
, 'ui_name' : 'Time'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'user'
, 'sig_key' : 2
, 'type_name' : 'Auth.Account'
, 'ui_name' : 'User'
, 'ui_type_name' : 'Account'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'user'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'User'
, 'ui_type_name' : 'Person'
}
]
, 'name' : 'user'
, 'sig_key' : 2
, 'ui_name' : 'User'
}
]
, 'name' : 'last_change'
, 'sig_key' : 2
, 'ui_name' : 'Last change'
}
, { 'name' : 'last_cid'
, 'sig_key' : 0
, 'ui_name' : 'Last cid'
}
, { 'name' : 'pid'
, 'sig_key' : 0
, 'ui_name' : 'Pid'
}
, { 'name' : 'type_name'
, 'sig_key' : 3
, 'ui_name' : 'Type name'
}
, { 'name' : 'expiration_date'
, 'sig_key' : 0
, 'ui_name' : 'Expiration date'
}
, { 'name' : 'has_children'
, 'sig_key' : 1
, 'ui_name' : 'Has children'
}
, { 'name' : 'is_free'
, 'sig_key' : 1
, 'ui_name' : 'Is free'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'net_address'
, 'sig_key' : 0
, 'ui_name' : 'Net address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'Class' : 'Entity'
, 'name' : 'pool'
, 'sig_key' : 2
, 'ui_name' : 'Pool'
}
, { 'name' : 'expiration_date'
, 'sig_key' : 0
, 'ui_name' : 'Expiration date'
}
, { 'name' : 'has_children'
, 'sig_key' : 1
, 'ui_name' : 'Has children'
}
, { 'name' : 'is_free'
, 'sig_key' : 1
, 'ui_name' : 'Is free'
}
, { 'Class' : 'Entity'
, 'name' : 'parent'
, 'sig_key' : 2
, 'ui_name' : 'Parent'
}
]
, 'name' : 'parent'
, 'sig_key' : 2
, 'ui_name' : 'Parent'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'cool_down_period'
, 'sig_key' : 0
, 'ui_name' : 'Cool down period'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'node'
, 'sig_key' : 2
, 'ui_name' : 'Node'
}
, { 'attrs' :
[ { 'name' : 'lower'
, 'sig_key' : 0
, 'ui_name' : 'Lower'
}
, { 'name' : 'upper'
, 'sig_key' : 0
, 'ui_name' : 'Upper'
}
, { 'name' : 'center'
, 'sig_key' : 0
, 'ui_name' : 'Center'
}
, { 'name' : 'length'
, 'sig_key' : 0
, 'ui_name' : 'Length'
}
]
, 'name' : 'netmask_interval'
, 'ui_name' : 'Netmask interval'
}
]
, 'name' : 'ip_pool'
, 'sig_key' : 2
, 'ui_name' : 'Ip pool'
}
, { 'Class' : 'Entity'
, 'name' : 'net_interface'
, 'sig_key' : 2
, 'ui_name' : 'Net interface'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'url'
, 'sig_key' : 3
, 'ui_name' : 'Url'
}
, { 'name' : 'type'
, 'sig_key' : 3
, 'ui_name' : 'Type'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
]
, 'name' : 'documents'
, 'sig_key' : 2
, 'ui_name' : 'Documents'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'model_no'
, 'sig_key' : 3
, 'ui_name' : 'Model no'
}
, { 'name' : 'revision'
, 'sig_key' : 3
, 'ui_name' : 'Revision'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device type'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'node'
, 'sig_key' : 2
, 'ui_name' : 'Node'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device'
}
, { 'name' : 'mac_address'
, 'sig_key' : 3
, 'ui_name' : 'Mac address'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'is_active'
, 'sig_key' : 1
, 'ui_name' : 'Is active'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'model_no'
, 'sig_key' : 3
, 'ui_name' : 'Model no'
}
, { 'name' : 'revision'
, 'sig_key' : 3
, 'ui_name' : 'Revision'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device type'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'node'
, 'sig_key' : 2
, 'ui_name' : 'Node'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
]
, 'name' : 'my_net_device'
, 'sig_key' : 2
, 'ui_name' : 'My net device'
}
]
, 'name' : 'wired_interface'
, 'sig_key' : 2
, 'ui_name' : 'Wired interface'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'model_no'
, 'sig_key' : 3
, 'ui_name' : 'Model no'
}
, { 'name' : 'revision'
, 'sig_key' : 3
, 'ui_name' : 'Revision'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device type'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'node'
, 'sig_key' : 2
, 'ui_name' : 'Node'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device'
}
, { 'name' : 'mac_address'
, 'sig_key' : 3
, 'ui_name' : 'Mac address'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'is_active'
, 'sig_key' : 1
, 'ui_name' : 'Is active'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'mode'
, 'sig_key' : 0
, 'ui_name' : 'Mode'
}
, { 'name' : 'essid'
, 'sig_key' : 3
, 'ui_name' : 'ESSID'
}
, { 'name' : 'bssid'
, 'sig_key' : 3
, 'ui_name' : 'BSSID'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'bandwidth'
, 'sig_key' : 4
, 'ui_name' : 'Bandwidth'
}
]
, 'name' : 'standard'
, 'sig_key' : 2
, 'ui_name' : 'Standard'
}
, { 'name' : 'txpower'
, 'sig_key' : 4
, 'ui_name' : 'TX power'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'model_no'
, 'sig_key' : 3
, 'ui_name' : 'Model no'
}
, { 'name' : 'revision'
, 'sig_key' : 3
, 'ui_name' : 'Revision'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device type'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'node'
, 'sig_key' : 2
, 'ui_name' : 'Node'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
]
, 'name' : 'my_net_device'
, 'sig_key' : 2
, 'ui_name' : 'My net device'
}
]
, 'name' : 'wireless_interface'
, 'sig_key' : 2
, 'ui_name' : 'Wireless interface'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'model_no'
, 'sig_key' : 3
, 'ui_name' : 'Model no'
}
, { 'name' : 'revision'
, 'sig_key' : 3
, 'ui_name' : 'Revision'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device type'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'node'
, 'sig_key' : 2
, 'ui_name' : 'Node'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'model_no'
, 'sig_key' : 3
, 'ui_name' : 'Model no'
}
, { 'name' : 'revision'
, 'sig_key' : 3
, 'ui_name' : 'Revision'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device type'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'node'
, 'sig_key' : 2
, 'ui_name' : 'Node'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device'
}
, { 'name' : 'mac_address'
, 'sig_key' : 3
, 'ui_name' : 'Mac address'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'is_active'
, 'sig_key' : 1
, 'ui_name' : 'Is active'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'mode'
, 'sig_key' : 0
, 'ui_name' : 'Mode'
}
, { 'name' : 'essid'
, 'sig_key' : 3
, 'ui_name' : 'ESSID'
}
, { 'name' : 'bssid'
, 'sig_key' : 3
, 'ui_name' : 'BSSID'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'bandwidth'
, 'sig_key' : 4
, 'ui_name' : 'Bandwidth'
}
]
, 'name' : 'standard'
, 'sig_key' : 2
, 'ui_name' : 'Standard'
}
, { 'name' : 'txpower'
, 'sig_key' : 4
, 'ui_name' : 'TX power'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'model_no'
, 'sig_key' : 3
, 'ui_name' : 'Model no'
}
, { 'name' : 'revision'
, 'sig_key' : 3
, 'ui_name' : 'Revision'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device type'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'node'
, 'sig_key' : 2
, 'ui_name' : 'Node'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
]
, 'name' : 'my_net_device'
, 'sig_key' : 2
, 'ui_name' : 'My net device'
}
]
, 'name' : 'hardware'
, 'sig_key' : 2
, 'ui_name' : 'Hardware'
}
, { 'name' : 'mac_address'
, 'sig_key' : 3
, 'ui_name' : 'Mac address'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'is_active'
, 'sig_key' : 1
, 'ui_name' : 'Is active'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'mode'
, 'sig_key' : 0
, 'ui_name' : 'Mode'
}
, { 'name' : 'essid'
, 'sig_key' : 3
, 'ui_name' : 'ESSID'
}
, { 'name' : 'bssid'
, 'sig_key' : 3
, 'ui_name' : 'BSSID'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'model_no'
, 'sig_key' : 3
, 'ui_name' : 'Model no'
}
, { 'name' : 'revision'
, 'sig_key' : 3
, 'ui_name' : 'Revision'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
]
, 'name' : 'left'
, 'sig_key' : 2
, 'ui_name' : 'Net device type'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'node'
, 'sig_key' : 2
, 'ui_name' : 'Node'
}
, { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'manager'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Manager'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'manager'
, 'sig_key' : 2
, 'ui_name' : 'Manager'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'street'
, 'sig_key' : 3
, 'ui_name' : 'Street'
}
, { 'name' : 'zip'
, 'sig_key' : 3
, 'ui_name' : 'Zip code'
}
, { 'name' : 'city'
, 'sig_key' : 3
, 'ui_name' : 'City'
}
, { 'name' : 'country'
, 'sig_key' : 3
, 'ui_name' : 'Country'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'name' : 'region'
, 'sig_key' : 3
, 'ui_name' : 'Region'
}
]
, 'name' : 'address'
, 'sig_key' : 2
, 'ui_name' : 'Address'
}
, { 'name' : 'desc'
, 'sig_key' : 3
, 'ui_name' : 'Description'
}
, { 'Class' : 'Entity'
, 'children_np' :
[ { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Adhoc_Group'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Adhoc_Group'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Association'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Association'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'registered_in'
, 'sig_key' : 3
, 'ui_name' : 'Registered in'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Company'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Company'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'last_name'
, 'sig_key' : 3
, 'ui_name' : 'Last name'
}
, { 'name' : 'first_name'
, 'sig_key' : 3
, 'ui_name' : 'First name'
}
, { 'name' : 'middle_name'
, 'sig_key' : 3
, 'ui_name' : 'Middle name'
}
, { 'name' : 'title'
, 'sig_key' : 3
, 'ui_name' : 'Academic title'
}
]
, 'name' : 'owner'
, 'sig_key' : 2
, 'type_name' : 'PAP.Person'
, 'ui_name' : 'Owner'
, 'ui_type_name' : 'Person'
}
]
, 'default_child' : 'PAP.Person'
, 'name' : 'owner'
, 'sig_key' : 2
, 'ui_name' : 'Owner'
}
, { 'attrs' :
[ { 'name' : 'lat'
, 'sig_key' : 4
, 'ui_name' : 'Latitude'
}
, { 'name' : 'lon'
, 'sig_key' : 4
, 'ui_name' : 'Longitude'
}
, { 'name' : 'height'
, 'sig_key' : 0
, 'ui_name' : 'Height'
}
]
, 'name' : 'position'
, 'ui_name' : 'Position'
}
, { 'name' : 'show_in_map'
, 'sig_key' : 1
, 'ui_name' : 'Show in map'
}
]
, 'name' : 'my_node'
, 'sig_key' : 2
, 'ui_name' : 'My node'
}
]
, 'name' : 'my_net_device'
, 'sig_key' : 2
, 'ui_name' : 'My net device'
}
, { 'Class' : 'Entity'
, 'attrs' :
[ { 'name' : 'name'
, 'sig_key' : 3
, 'ui_name' : 'Name'
}
, { 'name' : 'bandwidth'
, 'sig_key' : 4
, 'ui_name' : 'Bandwidth'
}
]
, 'name' : 'standard'
, 'sig_key' : 2
, 'ui_name' : 'Standard'
}
, { 'name' : 'txpower'
, 'sig_key' : 4
, 'ui_name' : 'TX power'
}
]
, 'name' : 'virtual_wireless_interface'
, 'sig_key' : 2
, 'ui_name' : 'Virtual wireless interface'
}
]
, 'name_sep' : '__'
, 'op_map' :
{ 'CONTAINS' :
{ 'desc' : 'Select entities where the attribute contains the specified value'
, 'sym' : 'contains'
}
, 'ENDSWITH' :
{ 'desc' : 'Select entities where the attribute value ends with the specified value'
, 'sym' : 'ends-with'
}
, 'EQ' :
{ 'desc' : 'Select entities where the attribute is equal to the specified value'
, 'sym' : '=='
}
, 'EQS' :
{ 'desc' : 'Select entities where the attribute is equal to the specified string value'
, 'sym' : 'EQS'
}
, 'GE' :
{ 'desc' : 'Select entities where the attribute is greater than, or equal to, the specified value'
, 'sym' : '>='
}
, 'GT' :
{ 'desc' : 'Select entities where the attribute is greater than the specified value'
, 'sym' : '>'
}
, 'IN' :
{ 'desc' : 'Select entities where the attribute is a member of the specified list of values'
, 'sym' : 'in'
}
, 'LE' :
{ 'desc' : 'Select entities where the attribute is less than, or equal to, the specified value'
, 'sym' : '<='
}
, 'LT' :
{ 'desc' : 'Select entities where the attribute is less than the specified value'
, 'sym' : '<'
}
, 'NE' :
{ 'desc' : 'Select entities where the attribute is not equal to the specified value'
, 'sym' : '!='
}
, 'NES' :
{ 'desc' : 'Select entities where the attribute is not equal to the specified string value'
, 'sym' : 'NES'
}
, 'STARTSWITH' :
{ 'desc' : 'Select entities where the attribute value starts with the specified value'
, 'sym' : 'starts-with'
}
}
, 'op_sep' : '___'
, 'sig_map' :
{ 0 :
( 'EQ'
, 'GE'
, 'GT'
, 'IN'
, 'LE'
, 'LT'
, 'NE'
)
, 1 : ('EQ', )
, 2 :
( 'EQ'
, 'IN'
, 'NE'
)
, 3 :
( 'CONTAINS'
, 'ENDSWITH'
, 'EQ'
, 'GE'
, 'GT'
, 'IN'
, 'LE'
, 'LT'
, 'NE'
, 'STARTSWITH'
)
, 4 :
( 'CONTAINS'
, 'ENDSWITH'
, 'EQ'
, 'EQS'
, 'GE'
, 'GT'
, 'IN'
, 'LE'
, 'LT'
, 'NE'
, 'NES'
, 'STARTSWITH'
)
}
, 'ui_sep' : '/'
}
>>> print (formatted (AQ.As_Template_Elem))
[ Record
( attr = IP4-network `net_address`
, full_name = 'net_address'
, id = 'net_address'
, name = 'net_address'
, sig_key = 0
, ui_name = 'Net address'
)
, Record
( attr = String `desc`
, full_name = 'desc'
, id = 'desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Owner'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `pool`
, attrs =
[ Record
( attr = IP4-network `net_address`
, full_name = 'pool.net_address'
, id = 'pool__net_address'
, name = 'net_address'
, sig_key = 0
, ui_name = 'Pool/Net address'
)
, Record
( attr = String `desc`
, full_name = 'pool.desc'
, id = 'pool__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Pool/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'pool.owner'
, id = 'pool__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Pool/Owner'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `pool`
, full_name = 'pool.pool'
, id = 'pool__pool'
, name = 'pool'
, sig_key = 2
, type_name = 'CNDB.IP4_Network'
, ui_name = 'Pool/Pool'
, ui_type_name = 'IP4_Network'
)
, Record
( attr = Date-Time `expiration_date`
, full_name = 'pool.expiration_date'
, id = 'pool__expiration_date'
, name = 'expiration_date'
, sig_key = 0
, ui_name = 'Pool/Expiration date'
)
, Record
( attr = Boolean `has_children`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'pool.has_children'
, id = 'pool__has_children'
, name = 'has_children'
, sig_key = 1
, ui_name = 'Pool/Has children'
)
, Record
( attr = Boolean `is_free`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'pool.is_free'
, id = 'pool__is_free'
, name = 'is_free'
, sig_key = 1
, ui_name = 'Pool/Is free'
)
, Record
( Class = 'Entity'
, attr = Entity `parent`
, full_name = 'pool.parent'
, id = 'pool__parent'
, name = 'parent'
, sig_key = 2
, type_name = 'CNDB.IP4_Network'
, ui_name = 'Pool/Parent'
, ui_type_name = 'IP4_Network'
)
]
, full_name = 'pool'
, id = 'pool'
, name = 'pool'
, sig_key = 2
, type_name = 'CNDB.IP4_Network'
, ui_name = 'Pool'
, ui_type_name = 'IP4_Network'
)
, Record
( Class = 'Entity'
, attr = Rev_Ref `creation`
, attrs =
[ Record
( attr = Date-Time `c_time`
, full_name = 'creation.c_time'
, id = 'creation__c_time'
, name = 'c_time'
, sig_key = 0
, ui_name = 'Creation/C time'
)
, Record
( Class = 'Entity'
, attr = Entity `c_user`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `c_user`
, attrs =
[ Record
( attr = Email `name`
, full_name = 'c_user.name'
, id = 'c_user__name'
, name = 'name'
, sig_key = 3
, ui_name = 'C user[Account]/Name'
)
]
, full_name = 'c_user'
, id = 'c_user'
, name = 'c_user'
, sig_key = 2
, type_name = 'Auth.Account'
, ui_name = 'C user[Account]'
, ui_type_name = 'Account'
)
, Record
( Class = 'Entity'
, attr = Entity `c_user`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'c_user.last_name'
, id = 'c_user__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'C user[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'c_user.first_name'
, id = 'c_user__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'C user[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'c_user.middle_name'
, id = 'c_user__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'C user[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'c_user.title'
, id = 'c_user__title'
, name = 'title'
, sig_key = 3
, ui_name = 'C user[Person]/Academic title'
)
]
, full_name = 'c_user'
, id = 'c_user'
, name = 'c_user'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'C user[Person]'
, ui_type_name = 'Person'
)
]
, full_name = 'creation.c_user'
, id = 'creation__c_user'
, name = 'c_user'
, sig_key = 2
, type_name = 'MOM.Id_Entity'
, ui_name = 'Creation/C user'
, ui_type_name = 'Id_Entity'
)
, Record
( attr = String `kind`
, full_name = 'creation.kind'
, id = 'creation__kind'
, name = 'kind'
, sig_key = 3
, ui_name = 'Creation/Kind'
)
, Record
( attr = Date-Time `time`
, full_name = 'creation.time'
, id = 'creation__time'
, name = 'time'
, sig_key = 0
, ui_name = 'Creation/Time'
)
, Record
( Class = 'Entity'
, attr = Entity `user`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `user`
, attrs =
[ Record
( attr = Email `name`
, full_name = 'user.name'
, id = 'user__name'
, name = 'name'
, sig_key = 3
, ui_name = 'User[Account]/Name'
)
]
, full_name = 'user'
, id = 'user'
, name = 'user'
, sig_key = 2
, type_name = 'Auth.Account'
, ui_name = 'User[Account]'
, ui_type_name = 'Account'
)
, Record
( Class = 'Entity'
, attr = Entity `user`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'user.last_name'
, id = 'user__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'User[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'user.first_name'
, id = 'user__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'User[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'user.middle_name'
, id = 'user__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'User[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'user.title'
, id = 'user__title'
, name = 'title'
, sig_key = 3
, ui_name = 'User[Person]/Academic title'
)
]
, full_name = 'user'
, id = 'user'
, name = 'user'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'User[Person]'
, ui_type_name = 'Person'
)
]
, full_name = 'creation.user'
, id = 'creation__user'
, name = 'user'
, sig_key = 2
, type_name = 'MOM.Id_Entity'
, ui_name = 'Creation/User'
, ui_type_name = 'Id_Entity'
)
]
, full_name = 'creation'
, id = 'creation'
, name = 'creation'
, sig_key = 2
, type_name = 'MOM.MD_Change'
, ui_name = 'Creation'
, ui_type_name = 'MD_Change'
)
, Record
( Class = 'Entity'
, attr = Rev_Ref `last_change`
, attrs =
[ Record
( attr = Date-Time `c_time`
, full_name = 'last_change.c_time'
, id = 'last_change__c_time'
, name = 'c_time'
, sig_key = 0
, ui_name = 'Last change/C time'
)
, Record
( Class = 'Entity'
, attr = Entity `c_user`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `c_user`
, attrs =
[ Record
( attr = Email `name`
, full_name = 'c_user.name'
, id = 'c_user__name'
, name = 'name'
, sig_key = 3
, ui_name = 'C user[Account]/Name'
)
]
, full_name = 'c_user'
, id = 'c_user'
, name = 'c_user'
, sig_key = 2
, type_name = 'Auth.Account'
, ui_name = 'C user[Account]'
, ui_type_name = 'Account'
)
, Record
( Class = 'Entity'
, attr = Entity `c_user`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'c_user.last_name'
, id = 'c_user__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'C user[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'c_user.first_name'
, id = 'c_user__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'C user[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'c_user.middle_name'
, id = 'c_user__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'C user[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'c_user.title'
, id = 'c_user__title'
, name = 'title'
, sig_key = 3
, ui_name = 'C user[Person]/Academic title'
)
]
, full_name = 'c_user'
, id = 'c_user'
, name = 'c_user'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'C user[Person]'
, ui_type_name = 'Person'
)
]
, full_name = 'last_change.c_user'
, id = 'last_change__c_user'
, name = 'c_user'
, sig_key = 2
, type_name = 'MOM.Id_Entity'
, ui_name = 'Last change/C user'
, ui_type_name = 'Id_Entity'
)
, Record
( attr = String `kind`
, full_name = 'last_change.kind'
, id = 'last_change__kind'
, name = 'kind'
, sig_key = 3
, ui_name = 'Last change/Kind'
)
, Record
( attr = Date-Time `time`
, full_name = 'last_change.time'
, id = 'last_change__time'
, name = 'time'
, sig_key = 0
, ui_name = 'Last change/Time'
)
, Record
( Class = 'Entity'
, attr = Entity `user`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `user`
, attrs =
[ Record
( attr = Email `name`
, full_name = 'user.name'
, id = 'user__name'
, name = 'name'
, sig_key = 3
, ui_name = 'User[Account]/Name'
)
]
, full_name = 'user'
, id = 'user'
, name = 'user'
, sig_key = 2
, type_name = 'Auth.Account'
, ui_name = 'User[Account]'
, ui_type_name = 'Account'
)
, Record
( Class = 'Entity'
, attr = Entity `user`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'user.last_name'
, id = 'user__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'User[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'user.first_name'
, id = 'user__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'User[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'user.middle_name'
, id = 'user__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'User[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'user.title'
, id = 'user__title'
, name = 'title'
, sig_key = 3
, ui_name = 'User[Person]/Academic title'
)
]
, full_name = 'user'
, id = 'user'
, name = 'user'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'User[Person]'
, ui_type_name = 'Person'
)
]
, full_name = 'last_change.user'
, id = 'last_change__user'
, name = 'user'
, sig_key = 2
, type_name = 'MOM.Id_Entity'
, ui_name = 'Last change/User'
, ui_type_name = 'Id_Entity'
)
]
, full_name = 'last_change'
, id = 'last_change'
, name = 'last_change'
, sig_key = 2
, type_name = 'MOM.MD_Change'
, ui_name = 'Last change'
, ui_type_name = 'MD_Change'
)
, Record
( attr = Int `last_cid`
, full_name = 'last_cid'
, id = 'last_cid'
, name = 'last_cid'
, sig_key = 0
, ui_name = 'Last cid'
)
, Record
( attr = Surrogate `pid`
, full_name = 'pid'
, id = 'pid'
, name = 'pid'
, sig_key = 0
, ui_name = 'Pid'
)
, Record
( attr = String `type_name`
, full_name = 'type_name'
, id = 'type_name'
, name = 'type_name'
, sig_key = 3
, ui_name = 'Type name'
)
, Record
( attr = Date-Time `expiration_date`
, full_name = 'expiration_date'
, id = 'expiration_date'
, name = 'expiration_date'
, sig_key = 0
, ui_name = 'Expiration date'
)
, Record
( attr = Boolean `has_children`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'has_children'
, id = 'has_children'
, name = 'has_children'
, sig_key = 1
, ui_name = 'Has children'
)
, Record
( attr = Boolean `is_free`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'is_free'
, id = 'is_free'
, name = 'is_free'
, sig_key = 1
, ui_name = 'Is free'
)
, Record
( Class = 'Entity'
, attr = Entity `parent`
, attrs =
[ Record
( attr = IP4-network `net_address`
, full_name = 'parent.net_address'
, id = 'parent__net_address'
, name = 'net_address'
, sig_key = 0
, ui_name = 'Parent/Net address'
)
, Record
( attr = String `desc`
, full_name = 'parent.desc'
, id = 'parent__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Parent/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'parent.owner'
, id = 'parent__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Parent/Owner'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `pool`
, full_name = 'parent.pool'
, id = 'parent__pool'
, name = 'pool'
, sig_key = 2
, type_name = 'CNDB.IP4_Network'
, ui_name = 'Parent/Pool'
, ui_type_name = 'IP4_Network'
)
, Record
( attr = Date-Time `expiration_date`
, full_name = 'parent.expiration_date'
, id = 'parent__expiration_date'
, name = 'expiration_date'
, sig_key = 0
, ui_name = 'Parent/Expiration date'
)
, Record
( attr = Boolean `has_children`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'parent.has_children'
, id = 'parent__has_children'
, name = 'has_children'
, sig_key = 1
, ui_name = 'Parent/Has children'
)
, Record
( attr = Boolean `is_free`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'parent.is_free'
, id = 'parent__is_free'
, name = 'is_free'
, sig_key = 1
, ui_name = 'Parent/Is free'
)
, Record
( Class = 'Entity'
, attr = Entity `parent`
, full_name = 'parent.parent'
, id = 'parent__parent'
, name = 'parent'
, sig_key = 2
, type_name = 'CNDB.IP4_Network'
, ui_name = 'Parent/Parent'
, ui_type_name = 'IP4_Network'
)
]
, full_name = 'parent'
, id = 'parent'
, name = 'parent'
, sig_key = 2
, type_name = 'CNDB.IP4_Network'
, ui_name = 'Parent'
, ui_type_name = 'IP4_Network'
)
, Record
( Class = 'Entity'
, attr = Role_Ref `ip_pool`
, attrs =
[ Record
( attr = String `name`
, full_name = 'ip_pool.name'
, id = 'ip_pool__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Ip pool/Name'
)
, Record
( attr = Time Delta `cool_down_period`
, full_name = 'ip_pool.cool_down_period'
, id = 'ip_pool__cool_down_period'
, name = 'cool_down_period'
, sig_key = 0
, ui_name = 'Ip pool/Cool down period'
)
, Record
( Class = 'Entity'
, attr = Entity `node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'ip_pool.node.name'
, id = 'ip_pool__node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Ip pool/Node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'ip_pool.node.manager'
, id = 'ip_pool__node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Ip pool/Node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'ip_pool.node.address.street'
, id = 'ip_pool__node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Ip pool/Node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'ip_pool.node.address.zip'
, id = 'ip_pool__node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Ip pool/Node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'ip_pool.node.address.city'
, id = 'ip_pool__node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Ip pool/Node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'ip_pool.node.address.country'
, id = 'ip_pool__node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Ip pool/Node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'ip_pool.node.address.desc'
, id = 'ip_pool__node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Ip pool/Node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'ip_pool.node.address.region'
, id = 'ip_pool__node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Ip pool/Node/Address/Region'
)
]
, full_name = 'ip_pool.node.address'
, id = 'ip_pool__node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Ip pool/Node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'ip_pool.node.desc'
, id = 'ip_pool__node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Ip pool/Node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'ip_pool.node.owner'
, id = 'ip_pool__node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Ip pool/Node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'ip_pool.node.position.lat'
, id = 'ip_pool__node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Ip pool/Node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'ip_pool.node.position.lon'
, id = 'ip_pool__node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Ip pool/Node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'ip_pool.node.position.height'
, id = 'ip_pool__node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Ip pool/Node/Position/Height'
)
]
, full_name = 'ip_pool.node.position'
, id = 'ip_pool__node__position'
, name = 'position'
, ui_name = 'Ip pool/Node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'ip_pool.node.show_in_map'
, id = 'ip_pool__node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Ip pool/Node/Show in map'
)
]
, full_name = 'ip_pool.node'
, id = 'ip_pool__node'
, name = 'node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Ip pool/Node'
, ui_type_name = 'Node'
)
, Record
( attr = Int_Interval `netmask_interval`
, attrs =
[ Record
( attr = Int `lower`
, full_name = 'ip_pool.netmask_interval.lower'
, id = 'ip_pool__netmask_interval__lower'
, name = 'lower'
, sig_key = 0
, ui_name = 'Ip pool/Netmask interval/Lower'
)
, Record
( attr = Int `upper`
, full_name = 'ip_pool.netmask_interval.upper'
, id = 'ip_pool__netmask_interval__upper'
, name = 'upper'
, sig_key = 0
, ui_name = 'Ip pool/Netmask interval/Upper'
)
, Record
( attr = Int `center`
, full_name = 'ip_pool.netmask_interval.center'
, id = 'ip_pool__netmask_interval__center'
, name = 'center'
, sig_key = 0
, ui_name = 'Ip pool/Netmask interval/Center'
)
, Record
( attr = Int `length`
, full_name = 'ip_pool.netmask_interval.length'
, id = 'ip_pool__netmask_interval__length'
, name = 'length'
, sig_key = 0
, ui_name = 'Ip pool/Netmask interval/Length'
)
]
, full_name = 'ip_pool.netmask_interval'
, id = 'ip_pool__netmask_interval'
, name = 'netmask_interval'
, ui_name = 'Ip pool/Netmask interval'
)
]
, full_name = 'ip_pool'
, id = 'ip_pool'
, name = 'ip_pool'
, sig_key = 2
, type_name = 'CNDB.IP4_Pool'
, ui_name = 'Ip pool'
, ui_type_name = 'IP4_Pool'
)
, Record
( Class = 'Entity'
, attr = Role_Ref `net_interface`
, full_name = 'net_interface'
, id = 'net_interface'
, name = 'net_interface'
, sig_key = 2
, type_name = 'CNDB.Net_Interface'
, ui_name = 'Net interface'
, ui_type_name = 'Net_Interface'
)
, Record
( Class = 'Entity'
, attr = Link_Ref_List `documents`
, attrs =
[ Record
( attr = Url `url`
, full_name = 'documents.url'
, id = 'documents__url'
, name = 'url'
, sig_key = 3
, ui_name = 'Documents/Url'
)
, Record
( attr = String `type`
, full_name = 'documents.type'
, id = 'documents__type'
, name = 'type'
, sig_key = 3
, ui_name = 'Documents/Type'
)
, Record
( attr = String `desc`
, full_name = 'documents.desc'
, id = 'documents__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Documents/Description'
)
]
, full_name = 'documents'
, id = 'documents'
, name = 'documents'
, sig_key = 2
, type_name = 'MOM.Document'
, ui_name = 'Documents'
, ui_type_name = 'Document'
)
, Record
( Class = 'Entity'
, attr = Role_Ref `wired_interface`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device `left`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device_Type `left`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wired_interface.left.left.name'
, id = 'wired_interface__left__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Net device type/Name'
)
, Record
( attr = String `model_no`
, full_name = 'wired_interface.left.left.model_no'
, id = 'wired_interface__left__left__model_no'
, name = 'model_no'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Net device type/Model no'
)
, Record
( attr = String `revision`
, full_name = 'wired_interface.left.left.revision'
, id = 'wired_interface__left__left__revision'
, name = 'revision'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Net device type/Revision'
)
, Record
( attr = Text `desc`
, full_name = 'wired_interface.left.left.desc'
, id = 'wired_interface__left__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Net device type/Description'
)
]
, full_name = 'wired_interface.left.left'
, id = 'wired_interface__left__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device_Type'
, ui_name = 'Wired interface/Net device/Net device type'
, ui_type_name = 'Net_Device_Type'
)
, Record
( Class = 'Entity'
, attr = Entity `node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wired_interface.left.node.name'
, id = 'wired_interface__left__node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wired_interface.left.node.manager'
, id = 'wired_interface__left__node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wired interface/Net device/Node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'wired_interface.left.node.address.street'
, id = 'wired_interface__left__node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'wired_interface.left.node.address.zip'
, id = 'wired_interface__left__node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'wired_interface.left.node.address.city'
, id = 'wired_interface__left__node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'wired_interface.left.node.address.country'
, id = 'wired_interface__left__node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'wired_interface.left.node.address.desc'
, id = 'wired_interface__left__node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'wired_interface.left.node.address.region'
, id = 'wired_interface__left__node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Node/Address/Region'
)
]
, full_name = 'wired_interface.left.node.address'
, id = 'wired_interface__left__node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Wired interface/Net device/Node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'wired_interface.left.node.desc'
, id = 'wired_interface__left__node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wired_interface.left.node.owner'
, id = 'wired_interface__left__node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wired interface/Net device/Node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'wired_interface.left.node.position.lat'
, id = 'wired_interface__left__node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Wired interface/Net device/Node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'wired_interface.left.node.position.lon'
, id = 'wired_interface__left__node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Wired interface/Net device/Node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'wired_interface.left.node.position.height'
, id = 'wired_interface__left__node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Wired interface/Net device/Node/Position/Height'
)
]
, full_name = 'wired_interface.left.node.position'
, id = 'wired_interface__left__node__position'
, name = 'position'
, ui_name = 'Wired interface/Net device/Node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wired_interface.left.node.show_in_map'
, id = 'wired_interface__left__node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Wired interface/Net device/Node/Show in map'
)
]
, full_name = 'wired_interface.left.node'
, id = 'wired_interface__left__node'
, name = 'node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Wired interface/Net device/Node'
, ui_type_name = 'Node'
)
, Record
( attr = String `name`
, full_name = 'wired_interface.left.name'
, id = 'wired_interface__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Name'
)
, Record
( attr = Text `desc`
, full_name = 'wired_interface.left.desc'
, id = 'wired_interface__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/Net device/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wired_interface.left.my_node.name'
, id = 'wired_interface__left__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wired interface/Net device/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wired_interface.left.my_node.manager'
, id = 'wired_interface__left__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wired interface/Net device/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'wired_interface.left.my_node.address.street'
, id = 'wired_interface__left__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Wired interface/Net device/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'wired_interface.left.my_node.address.zip'
, id = 'wired_interface__left__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Wired interface/Net device/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'wired_interface.left.my_node.address.city'
, id = 'wired_interface__left__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Wired interface/Net device/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'wired_interface.left.my_node.address.country'
, id = 'wired_interface__left__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Wired interface/Net device/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'wired_interface.left.my_node.address.desc'
, id = 'wired_interface__left__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/Net device/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'wired_interface.left.my_node.address.region'
, id = 'wired_interface__left__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Wired interface/Net device/My node/Address/Region'
)
]
, full_name = 'wired_interface.left.my_node.address'
, id = 'wired_interface__left__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Wired interface/Net device/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'wired_interface.left.my_node.desc'
, id = 'wired_interface__left__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/Net device/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wired_interface.left.my_node.owner'
, id = 'wired_interface__left__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wired interface/Net device/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'wired_interface.left.my_node.position.lat'
, id = 'wired_interface__left__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Wired interface/Net device/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'wired_interface.left.my_node.position.lon'
, id = 'wired_interface__left__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Wired interface/Net device/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'wired_interface.left.my_node.position.height'
, id = 'wired_interface__left__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Wired interface/Net device/My node/Position/Height'
)
]
, full_name = 'wired_interface.left.my_node.position'
, id = 'wired_interface__left__my_node__position'
, name = 'position'
, ui_name = 'Wired interface/Net device/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wired_interface.left.my_node.show_in_map'
, id = 'wired_interface__left__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Wired interface/Net device/My node/Show in map'
)
]
, full_name = 'wired_interface.left.my_node'
, id = 'wired_interface__left__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Wired interface/Net device/My node'
, ui_type_name = 'Node'
)
]
, full_name = 'wired_interface.left'
, id = 'wired_interface__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device'
, ui_name = 'Wired interface/Net device'
, ui_type_name = 'Net_Device'
)
, Record
( attr = MAC-address `mac_address`
, full_name = 'wired_interface.mac_address'
, id = 'wired_interface__mac_address'
, name = 'mac_address'
, sig_key = 3
, ui_name = 'Wired interface/Mac address'
)
, Record
( attr = String `name`
, full_name = 'wired_interface.name'
, id = 'wired_interface__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wired interface/Name'
)
, Record
( attr = Boolean `is_active`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wired_interface.is_active'
, id = 'wired_interface__is_active'
, name = 'is_active'
, sig_key = 1
, ui_name = 'Wired interface/Is active'
)
, Record
( attr = Text `desc`
, full_name = 'wired_interface.desc'
, id = 'wired_interface__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wired_interface.my_node.name'
, id = 'wired_interface__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wired interface/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wired_interface.my_node.manager'
, id = 'wired_interface__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wired interface/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'wired_interface.my_node.address.street'
, id = 'wired_interface__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Wired interface/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'wired_interface.my_node.address.zip'
, id = 'wired_interface__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Wired interface/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'wired_interface.my_node.address.city'
, id = 'wired_interface__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Wired interface/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'wired_interface.my_node.address.country'
, id = 'wired_interface__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Wired interface/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'wired_interface.my_node.address.desc'
, id = 'wired_interface__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'wired_interface.my_node.address.region'
, id = 'wired_interface__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Wired interface/My node/Address/Region'
)
]
, full_name = 'wired_interface.my_node.address'
, id = 'wired_interface__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Wired interface/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'wired_interface.my_node.desc'
, id = 'wired_interface__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wired_interface.my_node.owner'
, id = 'wired_interface__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wired interface/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'wired_interface.my_node.position.lat'
, id = 'wired_interface__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Wired interface/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'wired_interface.my_node.position.lon'
, id = 'wired_interface__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Wired interface/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'wired_interface.my_node.position.height'
, id = 'wired_interface__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Wired interface/My node/Position/Height'
)
]
, full_name = 'wired_interface.my_node.position'
, id = 'wired_interface__my_node__position'
, name = 'position'
, ui_name = 'Wired interface/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wired_interface.my_node.show_in_map'
, id = 'wired_interface__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Wired interface/My node/Show in map'
)
]
, full_name = 'wired_interface.my_node'
, id = 'wired_interface__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Wired interface/My node'
, ui_type_name = 'Node'
)
, Record
( Class = 'Entity'
, attr = Entity `my_net_device`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device_Type `left`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wired_interface.my_net_device.left.name'
, id = 'wired_interface__my_net_device__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Net device type/Name'
)
, Record
( attr = String `model_no`
, full_name = 'wired_interface.my_net_device.left.model_no'
, id = 'wired_interface__my_net_device__left__model_no'
, name = 'model_no'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Net device type/Model no'
)
, Record
( attr = String `revision`
, full_name = 'wired_interface.my_net_device.left.revision'
, id = 'wired_interface__my_net_device__left__revision'
, name = 'revision'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Net device type/Revision'
)
, Record
( attr = Text `desc`
, full_name = 'wired_interface.my_net_device.left.desc'
, id = 'wired_interface__my_net_device__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Net device type/Description'
)
]
, full_name = 'wired_interface.my_net_device.left'
, id = 'wired_interface__my_net_device__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device_Type'
, ui_name = 'Wired interface/My net device/Net device type'
, ui_type_name = 'Net_Device_Type'
)
, Record
( Class = 'Entity'
, attr = Entity `node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wired_interface.my_net_device.node.name'
, id = 'wired_interface__my_net_device__node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wired_interface.my_net_device.node.manager'
, id = 'wired_interface__my_net_device__node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wired interface/My net device/Node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'wired_interface.my_net_device.node.address.street'
, id = 'wired_interface__my_net_device__node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'wired_interface.my_net_device.node.address.zip'
, id = 'wired_interface__my_net_device__node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'wired_interface.my_net_device.node.address.city'
, id = 'wired_interface__my_net_device__node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'wired_interface.my_net_device.node.address.country'
, id = 'wired_interface__my_net_device__node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'wired_interface.my_net_device.node.address.desc'
, id = 'wired_interface__my_net_device__node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'wired_interface.my_net_device.node.address.region'
, id = 'wired_interface__my_net_device__node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Node/Address/Region'
)
]
, full_name = 'wired_interface.my_net_device.node.address'
, id = 'wired_interface__my_net_device__node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Wired interface/My net device/Node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'wired_interface.my_net_device.node.desc'
, id = 'wired_interface__my_net_device__node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wired_interface.my_net_device.node.owner'
, id = 'wired_interface__my_net_device__node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wired interface/My net device/Node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'wired_interface.my_net_device.node.position.lat'
, id = 'wired_interface__my_net_device__node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Wired interface/My net device/Node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'wired_interface.my_net_device.node.position.lon'
, id = 'wired_interface__my_net_device__node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Wired interface/My net device/Node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'wired_interface.my_net_device.node.position.height'
, id = 'wired_interface__my_net_device__node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Wired interface/My net device/Node/Position/Height'
)
]
, full_name = 'wired_interface.my_net_device.node.position'
, id = 'wired_interface__my_net_device__node__position'
, name = 'position'
, ui_name = 'Wired interface/My net device/Node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wired_interface.my_net_device.node.show_in_map'
, id = 'wired_interface__my_net_device__node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Wired interface/My net device/Node/Show in map'
)
]
, full_name = 'wired_interface.my_net_device.node'
, id = 'wired_interface__my_net_device__node'
, name = 'node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Wired interface/My net device/Node'
, ui_type_name = 'Node'
)
, Record
( attr = String `name`
, full_name = 'wired_interface.my_net_device.name'
, id = 'wired_interface__my_net_device__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Name'
)
, Record
( attr = Text `desc`
, full_name = 'wired_interface.my_net_device.desc'
, id = 'wired_interface__my_net_device__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/My net device/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wired_interface.my_net_device.my_node.name'
, id = 'wired_interface__my_net_device__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wired interface/My net device/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wired_interface.my_net_device.my_node.manager'
, id = 'wired_interface__my_net_device__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wired interface/My net device/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'wired_interface.my_net_device.my_node.address.street'
, id = 'wired_interface__my_net_device__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Wired interface/My net device/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'wired_interface.my_net_device.my_node.address.zip'
, id = 'wired_interface__my_net_device__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Wired interface/My net device/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'wired_interface.my_net_device.my_node.address.city'
, id = 'wired_interface__my_net_device__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Wired interface/My net device/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'wired_interface.my_net_device.my_node.address.country'
, id = 'wired_interface__my_net_device__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Wired interface/My net device/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'wired_interface.my_net_device.my_node.address.desc'
, id = 'wired_interface__my_net_device__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/My net device/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'wired_interface.my_net_device.my_node.address.region'
, id = 'wired_interface__my_net_device__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Wired interface/My net device/My node/Address/Region'
)
]
, full_name = 'wired_interface.my_net_device.my_node.address'
, id = 'wired_interface__my_net_device__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Wired interface/My net device/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'wired_interface.my_net_device.my_node.desc'
, id = 'wired_interface__my_net_device__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wired interface/My net device/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wired_interface.my_net_device.my_node.owner'
, id = 'wired_interface__my_net_device__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wired interface/My net device/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'wired_interface.my_net_device.my_node.position.lat'
, id = 'wired_interface__my_net_device__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Wired interface/My net device/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'wired_interface.my_net_device.my_node.position.lon'
, id = 'wired_interface__my_net_device__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Wired interface/My net device/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'wired_interface.my_net_device.my_node.position.height'
, id = 'wired_interface__my_net_device__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Wired interface/My net device/My node/Position/Height'
)
]
, full_name = 'wired_interface.my_net_device.my_node.position'
, id = 'wired_interface__my_net_device__my_node__position'
, name = 'position'
, ui_name = 'Wired interface/My net device/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wired_interface.my_net_device.my_node.show_in_map'
, id = 'wired_interface__my_net_device__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Wired interface/My net device/My node/Show in map'
)
]
, full_name = 'wired_interface.my_net_device.my_node'
, id = 'wired_interface__my_net_device__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Wired interface/My net device/My node'
, ui_type_name = 'Node'
)
]
, full_name = 'wired_interface.my_net_device'
, id = 'wired_interface__my_net_device'
, name = 'my_net_device'
, sig_key = 2
, type_name = 'CNDB.Net_Device'
, ui_name = 'Wired interface/My net device'
, ui_type_name = 'Net_Device'
)
]
, full_name = 'wired_interface'
, id = 'wired_interface'
, name = 'wired_interface'
, sig_key = 2
, type_name = 'CNDB.Wired_Interface'
, ui_name = 'Wired interface'
, ui_type_name = 'Wired_Interface'
)
, Record
( Class = 'Entity'
, attr = Role_Ref `wireless_interface`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device `left`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device_Type `left`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wireless_interface.left.left.name'
, id = 'wireless_interface__left__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Net device type/Name'
)
, Record
( attr = String `model_no`
, full_name = 'wireless_interface.left.left.model_no'
, id = 'wireless_interface__left__left__model_no'
, name = 'model_no'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Net device type/Model no'
)
, Record
( attr = String `revision`
, full_name = 'wireless_interface.left.left.revision'
, id = 'wireless_interface__left__left__revision'
, name = 'revision'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Net device type/Revision'
)
, Record
( attr = Text `desc`
, full_name = 'wireless_interface.left.left.desc'
, id = 'wireless_interface__left__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Net device type/Description'
)
]
, full_name = 'wireless_interface.left.left'
, id = 'wireless_interface__left__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device_Type'
, ui_name = 'Wireless interface/Net device/Net device type'
, ui_type_name = 'Net_Device_Type'
)
, Record
( Class = 'Entity'
, attr = Entity `node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wireless_interface.left.node.name'
, id = 'wireless_interface__left__node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wireless_interface.left.node.manager'
, id = 'wireless_interface__left__node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wireless interface/Net device/Node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'wireless_interface.left.node.address.street'
, id = 'wireless_interface__left__node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'wireless_interface.left.node.address.zip'
, id = 'wireless_interface__left__node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'wireless_interface.left.node.address.city'
, id = 'wireless_interface__left__node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'wireless_interface.left.node.address.country'
, id = 'wireless_interface__left__node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'wireless_interface.left.node.address.desc'
, id = 'wireless_interface__left__node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'wireless_interface.left.node.address.region'
, id = 'wireless_interface__left__node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Node/Address/Region'
)
]
, full_name = 'wireless_interface.left.node.address'
, id = 'wireless_interface__left__node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Wireless interface/Net device/Node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'wireless_interface.left.node.desc'
, id = 'wireless_interface__left__node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wireless_interface.left.node.owner'
, id = 'wireless_interface__left__node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wireless interface/Net device/Node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'wireless_interface.left.node.position.lat'
, id = 'wireless_interface__left__node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Wireless interface/Net device/Node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'wireless_interface.left.node.position.lon'
, id = 'wireless_interface__left__node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Wireless interface/Net device/Node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'wireless_interface.left.node.position.height'
, id = 'wireless_interface__left__node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Wireless interface/Net device/Node/Position/Height'
)
]
, full_name = 'wireless_interface.left.node.position'
, id = 'wireless_interface__left__node__position'
, name = 'position'
, ui_name = 'Wireless interface/Net device/Node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wireless_interface.left.node.show_in_map'
, id = 'wireless_interface__left__node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Wireless interface/Net device/Node/Show in map'
)
]
, full_name = 'wireless_interface.left.node'
, id = 'wireless_interface__left__node'
, name = 'node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Wireless interface/Net device/Node'
, ui_type_name = 'Node'
)
, Record
( attr = String `name`
, full_name = 'wireless_interface.left.name'
, id = 'wireless_interface__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Name'
)
, Record
( attr = Text `desc`
, full_name = 'wireless_interface.left.desc'
, id = 'wireless_interface__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wireless_interface.left.my_node.name'
, id = 'wireless_interface__left__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wireless_interface.left.my_node.manager'
, id = 'wireless_interface__left__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wireless interface/Net device/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'wireless_interface.left.my_node.address.street'
, id = 'wireless_interface__left__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'wireless_interface.left.my_node.address.zip'
, id = 'wireless_interface__left__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'wireless_interface.left.my_node.address.city'
, id = 'wireless_interface__left__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'wireless_interface.left.my_node.address.country'
, id = 'wireless_interface__left__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'wireless_interface.left.my_node.address.desc'
, id = 'wireless_interface__left__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'wireless_interface.left.my_node.address.region'
, id = 'wireless_interface__left__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/My node/Address/Region'
)
]
, full_name = 'wireless_interface.left.my_node.address'
, id = 'wireless_interface__left__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Wireless interface/Net device/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'wireless_interface.left.my_node.desc'
, id = 'wireless_interface__left__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/Net device/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wireless_interface.left.my_node.owner'
, id = 'wireless_interface__left__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wireless interface/Net device/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'wireless_interface.left.my_node.position.lat'
, id = 'wireless_interface__left__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Wireless interface/Net device/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'wireless_interface.left.my_node.position.lon'
, id = 'wireless_interface__left__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Wireless interface/Net device/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'wireless_interface.left.my_node.position.height'
, id = 'wireless_interface__left__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Wireless interface/Net device/My node/Position/Height'
)
]
, full_name = 'wireless_interface.left.my_node.position'
, id = 'wireless_interface__left__my_node__position'
, name = 'position'
, ui_name = 'Wireless interface/Net device/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wireless_interface.left.my_node.show_in_map'
, id = 'wireless_interface__left__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Wireless interface/Net device/My node/Show in map'
)
]
, full_name = 'wireless_interface.left.my_node'
, id = 'wireless_interface__left__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Wireless interface/Net device/My node'
, ui_type_name = 'Node'
)
]
, full_name = 'wireless_interface.left'
, id = 'wireless_interface__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device'
, ui_name = 'Wireless interface/Net device'
, ui_type_name = 'Net_Device'
)
, Record
( attr = MAC-address `mac_address`
, full_name = 'wireless_interface.mac_address'
, id = 'wireless_interface__mac_address'
, name = 'mac_address'
, sig_key = 3
, ui_name = 'Wireless interface/Mac address'
)
, Record
( attr = String `name`
, full_name = 'wireless_interface.name'
, id = 'wireless_interface__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wireless interface/Name'
)
, Record
( attr = Boolean `is_active`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wireless_interface.is_active'
, id = 'wireless_interface__is_active'
, name = 'is_active'
, sig_key = 1
, ui_name = 'Wireless interface/Is active'
)
, Record
( attr = Text `desc`
, full_name = 'wireless_interface.desc'
, id = 'wireless_interface__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/Description'
)
, Record
( attr = wl-mode `mode`
, choices =
[ ( 'AP'
, 'AP'
)
, ( 'Ad_Hoc'
, 'Ad_Hoc'
)
, ( 'Client'
, 'Client'
)
]
, full_name = 'wireless_interface.mode'
, id = 'wireless_interface__mode'
, name = 'mode'
, sig_key = 0
, ui_name = 'Wireless interface/Mode'
)
, Record
( attr = String `essid`
, full_name = 'wireless_interface.essid'
, id = 'wireless_interface__essid'
, name = 'essid'
, sig_key = 3
, ui_name = 'Wireless interface/ESSID'
)
, Record
( attr = MAC-address `bssid`
, full_name = 'wireless_interface.bssid'
, id = 'wireless_interface__bssid'
, name = 'bssid'
, sig_key = 3
, ui_name = 'Wireless interface/BSSID'
)
, Record
( Class = 'Entity'
, attr = Entity `standard`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wireless_interface.standard.name'
, id = 'wireless_interface__standard__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wireless interface/Standard/Name'
)
, Record
( attr = Frequency `bandwidth`
, full_name = 'wireless_interface.standard.bandwidth'
, id = 'wireless_interface__standard__bandwidth'
, name = 'bandwidth'
, sig_key = 4
, ui_name = 'Wireless interface/Standard/Bandwidth'
)
]
, full_name = 'wireless_interface.standard'
, id = 'wireless_interface__standard'
, name = 'standard'
, sig_key = 2
, type_name = 'CNDB.Wireless_Standard'
, ui_name = 'Wireless interface/Standard'
, ui_type_name = 'Wireless_Standard'
)
, Record
( attr = TX Power `txpower`
, full_name = 'wireless_interface.txpower'
, id = 'wireless_interface__txpower'
, name = 'txpower'
, sig_key = 4
, ui_name = 'Wireless interface/TX power'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wireless_interface.my_node.name'
, id = 'wireless_interface__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wireless interface/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wireless_interface.my_node.manager'
, id = 'wireless_interface__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wireless interface/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'wireless_interface.my_node.address.street'
, id = 'wireless_interface__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Wireless interface/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'wireless_interface.my_node.address.zip'
, id = 'wireless_interface__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Wireless interface/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'wireless_interface.my_node.address.city'
, id = 'wireless_interface__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Wireless interface/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'wireless_interface.my_node.address.country'
, id = 'wireless_interface__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Wireless interface/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'wireless_interface.my_node.address.desc'
, id = 'wireless_interface__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'wireless_interface.my_node.address.region'
, id = 'wireless_interface__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Wireless interface/My node/Address/Region'
)
]
, full_name = 'wireless_interface.my_node.address'
, id = 'wireless_interface__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Wireless interface/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'wireless_interface.my_node.desc'
, id = 'wireless_interface__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wireless_interface.my_node.owner'
, id = 'wireless_interface__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wireless interface/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'wireless_interface.my_node.position.lat'
, id = 'wireless_interface__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Wireless interface/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'wireless_interface.my_node.position.lon'
, id = 'wireless_interface__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Wireless interface/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'wireless_interface.my_node.position.height'
, id = 'wireless_interface__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Wireless interface/My node/Position/Height'
)
]
, full_name = 'wireless_interface.my_node.position'
, id = 'wireless_interface__my_node__position'
, name = 'position'
, ui_name = 'Wireless interface/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wireless_interface.my_node.show_in_map'
, id = 'wireless_interface__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Wireless interface/My node/Show in map'
)
]
, full_name = 'wireless_interface.my_node'
, id = 'wireless_interface__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Wireless interface/My node'
, ui_type_name = 'Node'
)
, Record
( Class = 'Entity'
, attr = Entity `my_net_device`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device_Type `left`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wireless_interface.my_net_device.left.name'
, id = 'wireless_interface__my_net_device__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Net device type/Name'
)
, Record
( attr = String `model_no`
, full_name = 'wireless_interface.my_net_device.left.model_no'
, id = 'wireless_interface__my_net_device__left__model_no'
, name = 'model_no'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Net device type/Model no'
)
, Record
( attr = String `revision`
, full_name = 'wireless_interface.my_net_device.left.revision'
, id = 'wireless_interface__my_net_device__left__revision'
, name = 'revision'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Net device type/Revision'
)
, Record
( attr = Text `desc`
, full_name = 'wireless_interface.my_net_device.left.desc'
, id = 'wireless_interface__my_net_device__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Net device type/Description'
)
]
, full_name = 'wireless_interface.my_net_device.left'
, id = 'wireless_interface__my_net_device__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device_Type'
, ui_name = 'Wireless interface/My net device/Net device type'
, ui_type_name = 'Net_Device_Type'
)
, Record
( Class = 'Entity'
, attr = Entity `node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wireless_interface.my_net_device.node.name'
, id = 'wireless_interface__my_net_device__node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wireless_interface.my_net_device.node.manager'
, id = 'wireless_interface__my_net_device__node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wireless interface/My net device/Node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'wireless_interface.my_net_device.node.address.street'
, id = 'wireless_interface__my_net_device__node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'wireless_interface.my_net_device.node.address.zip'
, id = 'wireless_interface__my_net_device__node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'wireless_interface.my_net_device.node.address.city'
, id = 'wireless_interface__my_net_device__node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'wireless_interface.my_net_device.node.address.country'
, id = 'wireless_interface__my_net_device__node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'wireless_interface.my_net_device.node.address.desc'
, id = 'wireless_interface__my_net_device__node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'wireless_interface.my_net_device.node.address.region'
, id = 'wireless_interface__my_net_device__node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Node/Address/Region'
)
]
, full_name = 'wireless_interface.my_net_device.node.address'
, id = 'wireless_interface__my_net_device__node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Wireless interface/My net device/Node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'wireless_interface.my_net_device.node.desc'
, id = 'wireless_interface__my_net_device__node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wireless_interface.my_net_device.node.owner'
, id = 'wireless_interface__my_net_device__node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wireless interface/My net device/Node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'wireless_interface.my_net_device.node.position.lat'
, id = 'wireless_interface__my_net_device__node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Wireless interface/My net device/Node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'wireless_interface.my_net_device.node.position.lon'
, id = 'wireless_interface__my_net_device__node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Wireless interface/My net device/Node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'wireless_interface.my_net_device.node.position.height'
, id = 'wireless_interface__my_net_device__node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Wireless interface/My net device/Node/Position/Height'
)
]
, full_name = 'wireless_interface.my_net_device.node.position'
, id = 'wireless_interface__my_net_device__node__position'
, name = 'position'
, ui_name = 'Wireless interface/My net device/Node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wireless_interface.my_net_device.node.show_in_map'
, id = 'wireless_interface__my_net_device__node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Wireless interface/My net device/Node/Show in map'
)
]
, full_name = 'wireless_interface.my_net_device.node'
, id = 'wireless_interface__my_net_device__node'
, name = 'node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Wireless interface/My net device/Node'
, ui_type_name = 'Node'
)
, Record
( attr = String `name`
, full_name = 'wireless_interface.my_net_device.name'
, id = 'wireless_interface__my_net_device__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Name'
)
, Record
( attr = Text `desc`
, full_name = 'wireless_interface.my_net_device.desc'
, id = 'wireless_interface__my_net_device__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'wireless_interface.my_net_device.my_node.name'
, id = 'wireless_interface__my_net_device__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wireless_interface.my_net_device.my_node.manager'
, id = 'wireless_interface__my_net_device__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wireless interface/My net device/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'wireless_interface.my_net_device.my_node.address.street'
, id = 'wireless_interface__my_net_device__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'wireless_interface.my_net_device.my_node.address.zip'
, id = 'wireless_interface__my_net_device__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'wireless_interface.my_net_device.my_node.address.city'
, id = 'wireless_interface__my_net_device__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'wireless_interface.my_net_device.my_node.address.country'
, id = 'wireless_interface__my_net_device__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'wireless_interface.my_net_device.my_node.address.desc'
, id = 'wireless_interface__my_net_device__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'wireless_interface.my_net_device.my_node.address.region'
, id = 'wireless_interface__my_net_device__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/My node/Address/Region'
)
]
, full_name = 'wireless_interface.my_net_device.my_node.address'
, id = 'wireless_interface__my_net_device__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Wireless interface/My net device/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'wireless_interface.my_net_device.my_node.desc'
, id = 'wireless_interface__my_net_device__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Wireless interface/My net device/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'wireless_interface.my_net_device.my_node.owner'
, id = 'wireless_interface__my_net_device__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Wireless interface/My net device/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'wireless_interface.my_net_device.my_node.position.lat'
, id = 'wireless_interface__my_net_device__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Wireless interface/My net device/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'wireless_interface.my_net_device.my_node.position.lon'
, id = 'wireless_interface__my_net_device__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Wireless interface/My net device/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'wireless_interface.my_net_device.my_node.position.height'
, id = 'wireless_interface__my_net_device__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Wireless interface/My net device/My node/Position/Height'
)
]
, full_name = 'wireless_interface.my_net_device.my_node.position'
, id = 'wireless_interface__my_net_device__my_node__position'
, name = 'position'
, ui_name = 'Wireless interface/My net device/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'wireless_interface.my_net_device.my_node.show_in_map'
, id = 'wireless_interface__my_net_device__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Wireless interface/My net device/My node/Show in map'
)
]
, full_name = 'wireless_interface.my_net_device.my_node'
, id = 'wireless_interface__my_net_device__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Wireless interface/My net device/My node'
, ui_type_name = 'Node'
)
]
, full_name = 'wireless_interface.my_net_device'
, id = 'wireless_interface__my_net_device'
, name = 'my_net_device'
, sig_key = 2
, type_name = 'CNDB.Net_Device'
, ui_name = 'Wireless interface/My net device'
, ui_type_name = 'Net_Device'
)
]
, full_name = 'wireless_interface'
, id = 'wireless_interface'
, name = 'wireless_interface'
, sig_key = 2
, type_name = 'CNDB.Wireless_Interface'
, ui_name = 'Wireless interface'
, ui_type_name = 'Wireless_Interface'
)
, Record
( Class = 'Entity'
, attr = Role_Ref `virtual_wireless_interface`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device `left`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device_Type `left`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.left.left.name'
, id = 'virtual_wireless_interface__left__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Net device type/Name'
)
, Record
( attr = String `model_no`
, full_name = 'virtual_wireless_interface.left.left.model_no'
, id = 'virtual_wireless_interface__left__left__model_no'
, name = 'model_no'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Net device type/Model no'
)
, Record
( attr = String `revision`
, full_name = 'virtual_wireless_interface.left.left.revision'
, id = 'virtual_wireless_interface__left__left__revision'
, name = 'revision'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Net device type/Revision'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.left.left.desc'
, id = 'virtual_wireless_interface__left__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Net device type/Description'
)
]
, full_name = 'virtual_wireless_interface.left.left'
, id = 'virtual_wireless_interface__left__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device_Type'
, ui_name = 'Virtual wireless interface/Net device/Net device type'
, ui_type_name = 'Net_Device_Type'
)
, Record
( Class = 'Entity'
, attr = Entity `node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.left.node.name'
, id = 'virtual_wireless_interface__left__node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.left.node.manager'
, id = 'virtual_wireless_interface__left__node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Net device/Node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'virtual_wireless_interface.left.node.address.street'
, id = 'virtual_wireless_interface__left__node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'virtual_wireless_interface.left.node.address.zip'
, id = 'virtual_wireless_interface__left__node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'virtual_wireless_interface.left.node.address.city'
, id = 'virtual_wireless_interface__left__node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'virtual_wireless_interface.left.node.address.country'
, id = 'virtual_wireless_interface__left__node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'virtual_wireless_interface.left.node.address.desc'
, id = 'virtual_wireless_interface__left__node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'virtual_wireless_interface.left.node.address.region'
, id = 'virtual_wireless_interface__left__node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Node/Address/Region'
)
]
, full_name = 'virtual_wireless_interface.left.node.address'
, id = 'virtual_wireless_interface__left__node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Virtual wireless interface/Net device/Node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.left.node.desc'
, id = 'virtual_wireless_interface__left__node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.left.node.owner'
, id = 'virtual_wireless_interface__left__node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Net device/Node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'virtual_wireless_interface.left.node.position.lat'
, id = 'virtual_wireless_interface__left__node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Net device/Node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'virtual_wireless_interface.left.node.position.lon'
, id = 'virtual_wireless_interface__left__node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Net device/Node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'virtual_wireless_interface.left.node.position.height'
, id = 'virtual_wireless_interface__left__node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Virtual wireless interface/Net device/Node/Position/Height'
)
]
, full_name = 'virtual_wireless_interface.left.node.position'
, id = 'virtual_wireless_interface__left__node__position'
, name = 'position'
, ui_name = 'Virtual wireless interface/Net device/Node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.left.node.show_in_map'
, id = 'virtual_wireless_interface__left__node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Virtual wireless interface/Net device/Node/Show in map'
)
]
, full_name = 'virtual_wireless_interface.left.node'
, id = 'virtual_wireless_interface__left__node'
, name = 'node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Virtual wireless interface/Net device/Node'
, ui_type_name = 'Node'
)
, Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.left.name'
, id = 'virtual_wireless_interface__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Name'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.left.desc'
, id = 'virtual_wireless_interface__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.left.my_node.name'
, id = 'virtual_wireless_interface__left__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.left.my_node.manager'
, id = 'virtual_wireless_interface__left__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Net device/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'virtual_wireless_interface.left.my_node.address.street'
, id = 'virtual_wireless_interface__left__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'virtual_wireless_interface.left.my_node.address.zip'
, id = 'virtual_wireless_interface__left__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'virtual_wireless_interface.left.my_node.address.city'
, id = 'virtual_wireless_interface__left__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'virtual_wireless_interface.left.my_node.address.country'
, id = 'virtual_wireless_interface__left__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'virtual_wireless_interface.left.my_node.address.desc'
, id = 'virtual_wireless_interface__left__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'virtual_wireless_interface.left.my_node.address.region'
, id = 'virtual_wireless_interface__left__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/My node/Address/Region'
)
]
, full_name = 'virtual_wireless_interface.left.my_node.address'
, id = 'virtual_wireless_interface__left__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Virtual wireless interface/Net device/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.left.my_node.desc'
, id = 'virtual_wireless_interface__left__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Net device/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.left.my_node.owner'
, id = 'virtual_wireless_interface__left__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Net device/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'virtual_wireless_interface.left.my_node.position.lat'
, id = 'virtual_wireless_interface__left__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Net device/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'virtual_wireless_interface.left.my_node.position.lon'
, id = 'virtual_wireless_interface__left__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Net device/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'virtual_wireless_interface.left.my_node.position.height'
, id = 'virtual_wireless_interface__left__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Virtual wireless interface/Net device/My node/Position/Height'
)
]
, full_name = 'virtual_wireless_interface.left.my_node.position'
, id = 'virtual_wireless_interface__left__my_node__position'
, name = 'position'
, ui_name = 'Virtual wireless interface/Net device/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.left.my_node.show_in_map'
, id = 'virtual_wireless_interface__left__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Virtual wireless interface/Net device/My node/Show in map'
)
]
, full_name = 'virtual_wireless_interface.left.my_node'
, id = 'virtual_wireless_interface__left__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Virtual wireless interface/Net device/My node'
, ui_type_name = 'Node'
)
]
, full_name = 'virtual_wireless_interface.left'
, id = 'virtual_wireless_interface__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device'
, ui_name = 'Virtual wireless interface/Net device'
, ui_type_name = 'Net_Device'
)
, Record
( Class = 'Entity'
, attr = Entity `hardware`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device `left`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device_Type `left`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.hardware.left.left.name'
, id = 'virtual_wireless_interface__hardware__left__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Net device type/Name'
)
, Record
( attr = String `model_no`
, full_name = 'virtual_wireless_interface.hardware.left.left.model_no'
, id = 'virtual_wireless_interface__hardware__left__left__model_no'
, name = 'model_no'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Net device type/Model no'
)
, Record
( attr = String `revision`
, full_name = 'virtual_wireless_interface.hardware.left.left.revision'
, id = 'virtual_wireless_interface__hardware__left__left__revision'
, name = 'revision'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Net device type/Revision'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.hardware.left.left.desc'
, id = 'virtual_wireless_interface__hardware__left__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Net device type/Description'
)
]
, full_name = 'virtual_wireless_interface.hardware.left.left'
, id = 'virtual_wireless_interface__hardware__left__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device_Type'
, ui_name = 'Virtual wireless interface/Hardware/Net device/Net device type'
, ui_type_name = 'Net_Device_Type'
)
, Record
( Class = 'Entity'
, attr = Entity `node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.hardware.left.node.name'
, id = 'virtual_wireless_interface__hardware__left__node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.hardware.left.node.manager'
, id = 'virtual_wireless_interface__hardware__left__node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'virtual_wireless_interface.hardware.left.node.address.street'
, id = 'virtual_wireless_interface__hardware__left__node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'virtual_wireless_interface.hardware.left.node.address.zip'
, id = 'virtual_wireless_interface__hardware__left__node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'virtual_wireless_interface.hardware.left.node.address.city'
, id = 'virtual_wireless_interface__hardware__left__node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'virtual_wireless_interface.hardware.left.node.address.country'
, id = 'virtual_wireless_interface__hardware__left__node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'virtual_wireless_interface.hardware.left.node.address.desc'
, id = 'virtual_wireless_interface__hardware__left__node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'virtual_wireless_interface.hardware.left.node.address.region'
, id = 'virtual_wireless_interface__hardware__left__node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Address/Region'
)
]
, full_name = 'virtual_wireless_interface.hardware.left.node.address'
, id = 'virtual_wireless_interface__hardware__left__node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.hardware.left.node.desc'
, id = 'virtual_wireless_interface__hardware__left__node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.hardware.left.node.owner'
, id = 'virtual_wireless_interface__hardware__left__node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'virtual_wireless_interface.hardware.left.node.position.lat'
, id = 'virtual_wireless_interface__hardware__left__node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'virtual_wireless_interface.hardware.left.node.position.lon'
, id = 'virtual_wireless_interface__hardware__left__node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'virtual_wireless_interface.hardware.left.node.position.height'
, id = 'virtual_wireless_interface__hardware__left__node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Position/Height'
)
]
, full_name = 'virtual_wireless_interface.hardware.left.node.position'
, id = 'virtual_wireless_interface__hardware__left__node__position'
, name = 'position'
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.hardware.left.node.show_in_map'
, id = 'virtual_wireless_interface__hardware__left__node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node/Show in map'
)
]
, full_name = 'virtual_wireless_interface.hardware.left.node'
, id = 'virtual_wireless_interface__hardware__left__node'
, name = 'node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Virtual wireless interface/Hardware/Net device/Node'
, ui_type_name = 'Node'
)
, Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.hardware.left.name'
, id = 'virtual_wireless_interface__hardware__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Name'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.hardware.left.desc'
, id = 'virtual_wireless_interface__hardware__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.hardware.left.my_node.name'
, id = 'virtual_wireless_interface__hardware__left__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.hardware.left.my_node.manager'
, id = 'virtual_wireless_interface__hardware__left__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'virtual_wireless_interface.hardware.left.my_node.address.street'
, id = 'virtual_wireless_interface__hardware__left__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'virtual_wireless_interface.hardware.left.my_node.address.zip'
, id = 'virtual_wireless_interface__hardware__left__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'virtual_wireless_interface.hardware.left.my_node.address.city'
, id = 'virtual_wireless_interface__hardware__left__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'virtual_wireless_interface.hardware.left.my_node.address.country'
, id = 'virtual_wireless_interface__hardware__left__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'virtual_wireless_interface.hardware.left.my_node.address.desc'
, id = 'virtual_wireless_interface__hardware__left__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'virtual_wireless_interface.hardware.left.my_node.address.region'
, id = 'virtual_wireless_interface__hardware__left__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Address/Region'
)
]
, full_name = 'virtual_wireless_interface.hardware.left.my_node.address'
, id = 'virtual_wireless_interface__hardware__left__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.hardware.left.my_node.desc'
, id = 'virtual_wireless_interface__hardware__left__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.hardware.left.my_node.owner'
, id = 'virtual_wireless_interface__hardware__left__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'virtual_wireless_interface.hardware.left.my_node.position.lat'
, id = 'virtual_wireless_interface__hardware__left__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'virtual_wireless_interface.hardware.left.my_node.position.lon'
, id = 'virtual_wireless_interface__hardware__left__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'virtual_wireless_interface.hardware.left.my_node.position.height'
, id = 'virtual_wireless_interface__hardware__left__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Position/Height'
)
]
, full_name = 'virtual_wireless_interface.hardware.left.my_node.position'
, id = 'virtual_wireless_interface__hardware__left__my_node__position'
, name = 'position'
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.hardware.left.my_node.show_in_map'
, id = 'virtual_wireless_interface__hardware__left__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node/Show in map'
)
]
, full_name = 'virtual_wireless_interface.hardware.left.my_node'
, id = 'virtual_wireless_interface__hardware__left__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Virtual wireless interface/Hardware/Net device/My node'
, ui_type_name = 'Node'
)
]
, full_name = 'virtual_wireless_interface.hardware.left'
, id = 'virtual_wireless_interface__hardware__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device'
, ui_name = 'Virtual wireless interface/Hardware/Net device'
, ui_type_name = 'Net_Device'
)
, Record
( attr = MAC-address `mac_address`
, full_name = 'virtual_wireless_interface.hardware.mac_address'
, id = 'virtual_wireless_interface__hardware__mac_address'
, name = 'mac_address'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Mac address'
)
, Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.hardware.name'
, id = 'virtual_wireless_interface__hardware__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Name'
)
, Record
( attr = Boolean `is_active`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.hardware.is_active'
, id = 'virtual_wireless_interface__hardware__is_active'
, name = 'is_active'
, sig_key = 1
, ui_name = 'Virtual wireless interface/Hardware/Is active'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.hardware.desc'
, id = 'virtual_wireless_interface__hardware__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Description'
)
, Record
( attr = wl-mode `mode`
, choices =
[ ( 'AP'
, 'AP'
)
, ( 'Ad_Hoc'
, 'Ad_Hoc'
)
, ( 'Client'
, 'Client'
)
]
, full_name = 'virtual_wireless_interface.hardware.mode'
, id = 'virtual_wireless_interface__hardware__mode'
, name = 'mode'
, sig_key = 0
, ui_name = 'Virtual wireless interface/Hardware/Mode'
)
, Record
( attr = String `essid`
, full_name = 'virtual_wireless_interface.hardware.essid'
, id = 'virtual_wireless_interface__hardware__essid'
, name = 'essid'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/ESSID'
)
, Record
( attr = MAC-address `bssid`
, full_name = 'virtual_wireless_interface.hardware.bssid'
, id = 'virtual_wireless_interface__hardware__bssid'
, name = 'bssid'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/BSSID'
)
, Record
( Class = 'Entity'
, attr = Entity `standard`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.hardware.standard.name'
, id = 'virtual_wireless_interface__hardware__standard__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/Standard/Name'
)
, Record
( attr = Frequency `bandwidth`
, full_name = 'virtual_wireless_interface.hardware.standard.bandwidth'
, id = 'virtual_wireless_interface__hardware__standard__bandwidth'
, name = 'bandwidth'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/Standard/Bandwidth'
)
]
, full_name = 'virtual_wireless_interface.hardware.standard'
, id = 'virtual_wireless_interface__hardware__standard'
, name = 'standard'
, sig_key = 2
, type_name = 'CNDB.Wireless_Standard'
, ui_name = 'Virtual wireless interface/Hardware/Standard'
, ui_type_name = 'Wireless_Standard'
)
, Record
( attr = TX Power `txpower`
, full_name = 'virtual_wireless_interface.hardware.txpower'
, id = 'virtual_wireless_interface__hardware__txpower'
, name = 'txpower'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/TX power'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.hardware.my_node.name'
, id = 'virtual_wireless_interface__hardware__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.hardware.my_node.manager'
, id = 'virtual_wireless_interface__hardware__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Hardware/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'virtual_wireless_interface.hardware.my_node.address.street'
, id = 'virtual_wireless_interface__hardware__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'virtual_wireless_interface.hardware.my_node.address.zip'
, id = 'virtual_wireless_interface__hardware__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'virtual_wireless_interface.hardware.my_node.address.city'
, id = 'virtual_wireless_interface__hardware__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'virtual_wireless_interface.hardware.my_node.address.country'
, id = 'virtual_wireless_interface__hardware__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'virtual_wireless_interface.hardware.my_node.address.desc'
, id = 'virtual_wireless_interface__hardware__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'virtual_wireless_interface.hardware.my_node.address.region'
, id = 'virtual_wireless_interface__hardware__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My node/Address/Region'
)
]
, full_name = 'virtual_wireless_interface.hardware.my_node.address'
, id = 'virtual_wireless_interface__hardware__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Virtual wireless interface/Hardware/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.hardware.my_node.desc'
, id = 'virtual_wireless_interface__hardware__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.hardware.my_node.owner'
, id = 'virtual_wireless_interface__hardware__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Hardware/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'virtual_wireless_interface.hardware.my_node.position.lat'
, id = 'virtual_wireless_interface__hardware__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'virtual_wireless_interface.hardware.my_node.position.lon'
, id = 'virtual_wireless_interface__hardware__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'virtual_wireless_interface.hardware.my_node.position.height'
, id = 'virtual_wireless_interface__hardware__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Virtual wireless interface/Hardware/My node/Position/Height'
)
]
, full_name = 'virtual_wireless_interface.hardware.my_node.position'
, id = 'virtual_wireless_interface__hardware__my_node__position'
, name = 'position'
, ui_name = 'Virtual wireless interface/Hardware/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.hardware.my_node.show_in_map'
, id = 'virtual_wireless_interface__hardware__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Virtual wireless interface/Hardware/My node/Show in map'
)
]
, full_name = 'virtual_wireless_interface.hardware.my_node'
, id = 'virtual_wireless_interface__hardware__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Virtual wireless interface/Hardware/My node'
, ui_type_name = 'Node'
)
, Record
( Class = 'Entity'
, attr = Entity `my_net_device`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device_Type `left`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.left.name'
, id = 'virtual_wireless_interface__hardware__my_net_device__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Net device type/Name'
)
, Record
( attr = String `model_no`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.left.model_no'
, id = 'virtual_wireless_interface__hardware__my_net_device__left__model_no'
, name = 'model_no'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Net device type/Model no'
)
, Record
( attr = String `revision`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.left.revision'
, id = 'virtual_wireless_interface__hardware__my_net_device__left__revision'
, name = 'revision'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Net device type/Revision'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.left.desc'
, id = 'virtual_wireless_interface__hardware__my_net_device__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Net device type/Description'
)
]
, full_name = 'virtual_wireless_interface.hardware.my_net_device.left'
, id = 'virtual_wireless_interface__hardware__my_net_device__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device_Type'
, ui_name = 'Virtual wireless interface/Hardware/My net device/Net device type'
, ui_type_name = 'Net_Device_Type'
)
, Record
( Class = 'Entity'
, attr = Entity `node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.name'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.manager'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.address.street'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.address.zip'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.address.city'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.address.country'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.address.desc'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.address.region'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Address/Region'
)
]
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.address'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.desc'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.owner'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.position.lat'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.position.lon'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.position.height'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Position/Height'
)
]
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.position'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__position'
, name = 'position'
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node.show_in_map'
, id = 'virtual_wireless_interface__hardware__my_net_device__node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node/Show in map'
)
]
, full_name = 'virtual_wireless_interface.hardware.my_net_device.node'
, id = 'virtual_wireless_interface__hardware__my_net_device__node'
, name = 'node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Virtual wireless interface/Hardware/My net device/Node'
, ui_type_name = 'Node'
)
, Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.name'
, id = 'virtual_wireless_interface__hardware__my_net_device__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Name'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.desc'
, id = 'virtual_wireless_interface__hardware__my_net_device__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.name'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.manager'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.address.street'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.address.zip'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.address.city'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.address.country'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.address.desc'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.address.region'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Address/Region'
)
]
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.address'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.desc'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.owner'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.position.lat'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.position.lon'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.position.height'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Position/Height'
)
]
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.position'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__position'
, name = 'position'
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node.show_in_map'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node/Show in map'
)
]
, full_name = 'virtual_wireless_interface.hardware.my_net_device.my_node'
, id = 'virtual_wireless_interface__hardware__my_net_device__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Virtual wireless interface/Hardware/My net device/My node'
, ui_type_name = 'Node'
)
]
, full_name = 'virtual_wireless_interface.hardware.my_net_device'
, id = 'virtual_wireless_interface__hardware__my_net_device'
, name = 'my_net_device'
, sig_key = 2
, type_name = 'CNDB.Net_Device'
, ui_name = 'Virtual wireless interface/Hardware/My net device'
, ui_type_name = 'Net_Device'
)
]
, full_name = 'virtual_wireless_interface.hardware'
, id = 'virtual_wireless_interface__hardware'
, name = 'hardware'
, sig_key = 2
, type_name = 'CNDB.Wireless_Interface'
, ui_name = 'Virtual wireless interface/Hardware'
, ui_type_name = 'Wireless_Interface'
)
, Record
( attr = MAC-address `mac_address`
, full_name = 'virtual_wireless_interface.mac_address'
, id = 'virtual_wireless_interface__mac_address'
, name = 'mac_address'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Mac address'
)
, Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.name'
, id = 'virtual_wireless_interface__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Name'
)
, Record
( attr = Boolean `is_active`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.is_active'
, id = 'virtual_wireless_interface__is_active'
, name = 'is_active'
, sig_key = 1
, ui_name = 'Virtual wireless interface/Is active'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.desc'
, id = 'virtual_wireless_interface__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Description'
)
, Record
( attr = wl-mode `mode`
, choices =
[ ( 'AP'
, 'AP'
)
, ( 'Ad_Hoc'
, 'Ad_Hoc'
)
, ( 'Client'
, 'Client'
)
]
, full_name = 'virtual_wireless_interface.mode'
, id = 'virtual_wireless_interface__mode'
, name = 'mode'
, sig_key = 0
, ui_name = 'Virtual wireless interface/Mode'
)
, Record
( attr = String `essid`
, full_name = 'virtual_wireless_interface.essid'
, id = 'virtual_wireless_interface__essid'
, name = 'essid'
, sig_key = 3
, ui_name = 'Virtual wireless interface/ESSID'
)
, Record
( attr = MAC-address `bssid`
, full_name = 'virtual_wireless_interface.bssid'
, id = 'virtual_wireless_interface__bssid'
, name = 'bssid'
, sig_key = 3
, ui_name = 'Virtual wireless interface/BSSID'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.my_node.name'
, id = 'virtual_wireless_interface__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.my_node.manager'
, id = 'virtual_wireless_interface__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'virtual_wireless_interface.my_node.address.street'
, id = 'virtual_wireless_interface__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'virtual_wireless_interface.my_node.address.zip'
, id = 'virtual_wireless_interface__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'virtual_wireless_interface.my_node.address.city'
, id = 'virtual_wireless_interface__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'virtual_wireless_interface.my_node.address.country'
, id = 'virtual_wireless_interface__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'virtual_wireless_interface.my_node.address.desc'
, id = 'virtual_wireless_interface__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'virtual_wireless_interface.my_node.address.region'
, id = 'virtual_wireless_interface__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My node/Address/Region'
)
]
, full_name = 'virtual_wireless_interface.my_node.address'
, id = 'virtual_wireless_interface__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Virtual wireless interface/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.my_node.desc'
, id = 'virtual_wireless_interface__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.my_node.owner'
, id = 'virtual_wireless_interface__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'virtual_wireless_interface.my_node.position.lat'
, id = 'virtual_wireless_interface__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Virtual wireless interface/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'virtual_wireless_interface.my_node.position.lon'
, id = 'virtual_wireless_interface__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Virtual wireless interface/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'virtual_wireless_interface.my_node.position.height'
, id = 'virtual_wireless_interface__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Virtual wireless interface/My node/Position/Height'
)
]
, full_name = 'virtual_wireless_interface.my_node.position'
, id = 'virtual_wireless_interface__my_node__position'
, name = 'position'
, ui_name = 'Virtual wireless interface/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.my_node.show_in_map'
, id = 'virtual_wireless_interface__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Virtual wireless interface/My node/Show in map'
)
]
, full_name = 'virtual_wireless_interface.my_node'
, id = 'virtual_wireless_interface__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Virtual wireless interface/My node'
, ui_type_name = 'Node'
)
, Record
( Class = 'Entity'
, attr = Entity `my_net_device`
, attrs =
[ Record
( Class = 'Entity'
, attr = Net_Device_Type `left`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.my_net_device.left.name'
, id = 'virtual_wireless_interface__my_net_device__left__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Net device type/Name'
)
, Record
( attr = String `model_no`
, full_name = 'virtual_wireless_interface.my_net_device.left.model_no'
, id = 'virtual_wireless_interface__my_net_device__left__model_no'
, name = 'model_no'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Net device type/Model no'
)
, Record
( attr = String `revision`
, full_name = 'virtual_wireless_interface.my_net_device.left.revision'
, id = 'virtual_wireless_interface__my_net_device__left__revision'
, name = 'revision'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Net device type/Revision'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.my_net_device.left.desc'
, id = 'virtual_wireless_interface__my_net_device__left__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Net device type/Description'
)
]
, full_name = 'virtual_wireless_interface.my_net_device.left'
, id = 'virtual_wireless_interface__my_net_device__left'
, name = 'left'
, sig_key = 2
, type_name = 'CNDB.Net_Device_Type'
, ui_name = 'Virtual wireless interface/My net device/Net device type'
, ui_type_name = 'Net_Device_Type'
)
, Record
( Class = 'Entity'
, attr = Entity `node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.my_net_device.node.name'
, id = 'virtual_wireless_interface__my_net_device__node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.my_net_device.node.manager'
, id = 'virtual_wireless_interface__my_net_device__node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/My net device/Node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'virtual_wireless_interface.my_net_device.node.address.street'
, id = 'virtual_wireless_interface__my_net_device__node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'virtual_wireless_interface.my_net_device.node.address.zip'
, id = 'virtual_wireless_interface__my_net_device__node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'virtual_wireless_interface.my_net_device.node.address.city'
, id = 'virtual_wireless_interface__my_net_device__node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'virtual_wireless_interface.my_net_device.node.address.country'
, id = 'virtual_wireless_interface__my_net_device__node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'virtual_wireless_interface.my_net_device.node.address.desc'
, id = 'virtual_wireless_interface__my_net_device__node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'virtual_wireless_interface.my_net_device.node.address.region'
, id = 'virtual_wireless_interface__my_net_device__node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Node/Address/Region'
)
]
, full_name = 'virtual_wireless_interface.my_net_device.node.address'
, id = 'virtual_wireless_interface__my_net_device__node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Virtual wireless interface/My net device/Node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.my_net_device.node.desc'
, id = 'virtual_wireless_interface__my_net_device__node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.my_net_device.node.owner'
, id = 'virtual_wireless_interface__my_net_device__node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/My net device/Node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'virtual_wireless_interface.my_net_device.node.position.lat'
, id = 'virtual_wireless_interface__my_net_device__node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Virtual wireless interface/My net device/Node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'virtual_wireless_interface.my_net_device.node.position.lon'
, id = 'virtual_wireless_interface__my_net_device__node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Virtual wireless interface/My net device/Node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'virtual_wireless_interface.my_net_device.node.position.height'
, id = 'virtual_wireless_interface__my_net_device__node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Virtual wireless interface/My net device/Node/Position/Height'
)
]
, full_name = 'virtual_wireless_interface.my_net_device.node.position'
, id = 'virtual_wireless_interface__my_net_device__node__position'
, name = 'position'
, ui_name = 'Virtual wireless interface/My net device/Node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.my_net_device.node.show_in_map'
, id = 'virtual_wireless_interface__my_net_device__node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Virtual wireless interface/My net device/Node/Show in map'
)
]
, full_name = 'virtual_wireless_interface.my_net_device.node'
, id = 'virtual_wireless_interface__my_net_device__node'
, name = 'node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Virtual wireless interface/My net device/Node'
, ui_type_name = 'Node'
)
, Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.my_net_device.name'
, id = 'virtual_wireless_interface__my_net_device__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Name'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.my_net_device.desc'
, id = 'virtual_wireless_interface__my_net_device__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `my_node`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.my_net_device.my_node.name'
, id = 'virtual_wireless_interface__my_net_device__my_node__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/My node/Name'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Adhoc_Group]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Manager[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Association]/Name'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Manager[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `name`
, full_name = 'manager.name'
, id = 'manager__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Manager[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'manager.registered_in'
, id = 'manager__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Manager[Company]/Registered in'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Manager[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `manager`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'manager.last_name'
, id = 'manager__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'manager.first_name'
, id = 'manager__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Manager[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'manager.middle_name'
, id = 'manager__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Manager[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'manager.title'
, id = 'manager__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Manager[Person]/Academic title'
)
]
, full_name = 'manager'
, id = 'manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Manager[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.my_net_device.my_node.manager'
, id = 'virtual_wireless_interface__my_net_device__my_node__manager'
, name = 'manager'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/My net device/My node/Manager'
, ui_type_name = 'Subject'
)
, Record
( Class = 'Entity'
, attr = Entity `address`
, attrs =
[ Record
( attr = String `street`
, full_name = 'virtual_wireless_interface.my_net_device.my_node.address.street'
, id = 'virtual_wireless_interface__my_net_device__my_node__address__street'
, name = 'street'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/My node/Address/Street'
)
, Record
( attr = String `zip`
, full_name = 'virtual_wireless_interface.my_net_device.my_node.address.zip'
, id = 'virtual_wireless_interface__my_net_device__my_node__address__zip'
, name = 'zip'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/My node/Address/Zip code'
)
, Record
( attr = String `city`
, full_name = 'virtual_wireless_interface.my_net_device.my_node.address.city'
, id = 'virtual_wireless_interface__my_net_device__my_node__address__city'
, name = 'city'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/My node/Address/City'
)
, Record
( attr = String `country`
, full_name = 'virtual_wireless_interface.my_net_device.my_node.address.country'
, id = 'virtual_wireless_interface__my_net_device__my_node__address__country'
, name = 'country'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/My node/Address/Country'
)
, Record
( attr = String `desc`
, full_name = 'virtual_wireless_interface.my_net_device.my_node.address.desc'
, id = 'virtual_wireless_interface__my_net_device__my_node__address__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/My node/Address/Description'
)
, Record
( attr = String `region`
, full_name = 'virtual_wireless_interface.my_net_device.my_node.address.region'
, id = 'virtual_wireless_interface__my_net_device__my_node__address__region'
, name = 'region'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/My node/Address/Region'
)
]
, full_name = 'virtual_wireless_interface.my_net_device.my_node.address'
, id = 'virtual_wireless_interface__my_net_device__my_node__address'
, name = 'address'
, sig_key = 2
, type_name = 'PAP.Address'
, ui_name = 'Virtual wireless interface/My net device/My node/Address'
, ui_type_name = 'Address'
)
, Record
( attr = Text `desc`
, full_name = 'virtual_wireless_interface.my_net_device.my_node.desc'
, id = 'virtual_wireless_interface__my_net_device__my_node__desc'
, name = 'desc'
, sig_key = 3
, ui_name = 'Virtual wireless interface/My net device/My node/Description'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, children_np =
[ Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Adhoc_Group]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Adhoc_Group'
, ui_name = 'Owner[Adhoc_Group]'
, ui_type_name = 'Adhoc_Group'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Association]/Name'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Association'
, ui_name = 'Owner[Association]'
, ui_type_name = 'Association'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `name`
, full_name = 'owner.name'
, id = 'owner__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Owner[Company]/Name'
)
, Record
( attr = String `registered_in`
, full_name = 'owner.registered_in'
, id = 'owner__registered_in'
, name = 'registered_in'
, sig_key = 3
, ui_name = 'Owner[Company]/Registered in'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Company'
, ui_name = 'Owner[Company]'
, ui_type_name = 'Company'
)
, Record
( Class = 'Entity'
, attr = Entity `owner`
, attrs =
[ Record
( attr = String `last_name`
, full_name = 'owner.last_name'
, id = 'owner__last_name'
, name = 'last_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Last name'
)
, Record
( attr = String `first_name`
, full_name = 'owner.first_name'
, id = 'owner__first_name'
, name = 'first_name'
, sig_key = 3
, ui_name = 'Owner[Person]/First name'
)
, Record
( attr = String `middle_name`
, full_name = 'owner.middle_name'
, id = 'owner__middle_name'
, name = 'middle_name'
, sig_key = 3
, ui_name = 'Owner[Person]/Middle name'
)
, Record
( attr = String `title`
, full_name = 'owner.title'
, id = 'owner__title'
, name = 'title'
, sig_key = 3
, ui_name = 'Owner[Person]/Academic title'
)
]
, full_name = 'owner'
, id = 'owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Person'
, ui_name = 'Owner[Person]'
, ui_type_name = 'Person'
)
]
, default_child = 'PAP.Person'
, full_name = 'virtual_wireless_interface.my_net_device.my_node.owner'
, id = 'virtual_wireless_interface__my_net_device__my_node__owner'
, name = 'owner'
, sig_key = 2
, type_name = 'PAP.Subject'
, ui_name = 'Virtual wireless interface/My net device/My node/Owner'
, ui_type_name = 'Subject'
)
, Record
( attr = Position `position`
, attrs =
[ Record
( attr = Angle `lat`
, full_name = 'virtual_wireless_interface.my_net_device.my_node.position.lat'
, id = 'virtual_wireless_interface__my_net_device__my_node__position__lat'
, name = 'lat'
, sig_key = 4
, ui_name = 'Virtual wireless interface/My net device/My node/Position/Latitude'
)
, Record
( attr = Angle `lon`
, full_name = 'virtual_wireless_interface.my_net_device.my_node.position.lon'
, id = 'virtual_wireless_interface__my_net_device__my_node__position__lon'
, name = 'lon'
, sig_key = 4
, ui_name = 'Virtual wireless interface/My net device/My node/Position/Longitude'
)
, Record
( attr = Float `height`
, full_name = 'virtual_wireless_interface.my_net_device.my_node.position.height'
, id = 'virtual_wireless_interface__my_net_device__my_node__position__height'
, name = 'height'
, sig_key = 0
, ui_name = 'Virtual wireless interface/My net device/My node/Position/Height'
)
]
, full_name = 'virtual_wireless_interface.my_net_device.my_node.position'
, id = 'virtual_wireless_interface__my_net_device__my_node__position'
, name = 'position'
, ui_name = 'Virtual wireless interface/My net device/My node/Position'
)
, Record
( attr = Boolean `show_in_map`
, choices =
[ 'no'
, 'yes'
]
, full_name = 'virtual_wireless_interface.my_net_device.my_node.show_in_map'
, id = 'virtual_wireless_interface__my_net_device__my_node__show_in_map'
, name = 'show_in_map'
, sig_key = 1
, ui_name = 'Virtual wireless interface/My net device/My node/Show in map'
)
]
, full_name = 'virtual_wireless_interface.my_net_device.my_node'
, id = 'virtual_wireless_interface__my_net_device__my_node'
, name = 'my_node'
, sig_key = 2
, type_name = 'CNDB.Node'
, ui_name = 'Virtual wireless interface/My net device/My node'
, ui_type_name = 'Node'
)
]
, full_name = 'virtual_wireless_interface.my_net_device'
, id = 'virtual_wireless_interface__my_net_device'
, name = 'my_net_device'
, sig_key = 2
, type_name = 'CNDB.Net_Device'
, ui_name = 'Virtual wireless interface/My net device'
, ui_type_name = 'Net_Device'
)
, Record
( Class = 'Entity'
, attr = Entity `standard`
, attrs =
[ Record
( attr = String `name`
, full_name = 'virtual_wireless_interface.standard.name'
, id = 'virtual_wireless_interface__standard__name'
, name = 'name'
, sig_key = 3
, ui_name = 'Virtual wireless interface/Standard/Name'
)
, Record
( attr = Frequency `bandwidth`
, full_name = 'virtual_wireless_interface.standard.bandwidth'
, id = 'virtual_wireless_interface__standard__bandwidth'
, name = 'bandwidth'
, sig_key = 4
, ui_name = 'Virtual wireless interface/Standard/Bandwidth'
)
]
, full_name = 'virtual_wireless_interface.standard'
, id = 'virtual_wireless_interface__standard'
, name = 'standard'
, sig_key = 2
, type_name = 'CNDB.Wireless_Standard'
, ui_name = 'Virtual wireless interface/Standard'
, ui_type_name = 'Wireless_Standard'
)
, Record
( attr = TX Power `txpower`
, full_name = 'virtual_wireless_interface.txpower'
, id = 'virtual_wireless_interface__txpower'
, name = 'txpower'
, sig_key = 4
, ui_name = 'Virtual wireless interface/TX power'
)
]
, full_name = 'virtual_wireless_interface'
, id = 'virtual_wireless_interface'
, name = 'virtual_wireless_interface'
, sig_key = 2
, type_name = 'CNDB.Virtual_Wireless_Interface'
, ui_name = 'Virtual wireless interface'
, ui_type_name = 'Virtual_Wireless_Interface'
)
]
>>> QR = GTW.RST.TOP.MOM.Query_Restriction
>>> print (formatted (QR.Filter_Atoms (QR.Filter (CNDB.IP4_Network, "owner"))))
( Record
( AQ = <lifetime.start.AQ [Attr.Type.Querier Date]>
, attr = Date `start`
, edit = None
, full_name = 'lifetime.start'
, id = 'lifetime__start___AC'
, name = 'lifetime__start___AC'
, op =
Record
( desc = 'Select entities where the attribute is equal to the specified value'
, label = 'auto-complete'
)
, sig_key = 0
, ui_name = 'Lifetime/Start'
, value = None
)
, Record
( AQ = <lifetime.finish.AQ [Attr.Type.Querier Date]>
, attr = Date `finish`
, edit = None
, full_name = 'lifetime.finish'
, id = 'lifetime__finish___AC'
, name = 'lifetime__finish___AC'
, op =
Record
( desc = 'Select entities where the attribute is equal to the specified value'
, label = 'auto-complete'
)
, sig_key = 0
, ui_name = 'Lifetime/Finish'
, value = None
)
)
>>> print (formatted (QR.Filter_Atoms (QR.Filter (CNDB.IP4_Network, "parent"))))
( Record
( AQ = <net_address.AQ [Attr.Type.Querier Ckd]>
, attr = IP4-network `net_address`
, edit = None
, full_name = 'net_address'
, id = 'net_address___AC'
, name = 'net_address___AC'
, op =
Record
( desc = 'Select entities where the attribute is equal to the specified value'
, label = 'auto-complete'
)
, sig_key = 0
, ui_name = 'Net address'
, value = None
)
,
)
>>> print (formatted (QR.Filter_Atoms (QR.Filter (CNDB.Net_Interface_in_IP4_Network, "right"))))
( Record
( AQ = <net_address.AQ [Attr.Type.Querier Ckd]>
, attr = IP4-network `net_address`
, edit = None
, full_name = 'net_address'
, id = 'net_address___AC'
, name = 'net_address___AC'
, op =
Record
( desc = 'Select entities where the attribute is equal to the specified value'
, label = 'auto-complete'
)
, sig_key = 0
, ui_name = 'Net address'
, value = None
)
,
)
>>> for aq in CNDB.Node.E_Type.AQ.Attrs_Transitive :
... print (aq._ui_name_T)
Name
Manager
Address
Address/Street
Address/Zip code
Address/City
Address/Country
Address/Description
Address/Region
Description
Owner
Position
Position/Latitude
Position/Longitude
Position/Height
Show in map
Creation
Creation/C time
Creation/C user
Creation/Kind
Creation/Time
Creation/User
Last change
Last change/C time
Last change/C user
Last change/Kind
Last change/Time
Last change/User
Last cid
Pid
Type name
Documents
Documents/Url
Documents/Type
Documents/Description
>>> for aq in CNDB.Net_Interface.E_Type.AQ.Attrs_Transitive :
... print (aq._ui_name_T)
Device
Device/Net device type
Device/Net device type/Name
Device/Net device type/Model no
Device/Net device type/Revision
Device/Net device type/Description
Device/Node
Device/Node/Name
Device/Node/Manager
Device/Node/Address
Device/Node/Address/Street
Device/Node/Address/Zip code
Device/Node/Address/City
Device/Node/Address/Country
Device/Node/Address/Description
Device/Node/Address/Region
Device/Node/Description
Device/Node/Owner
Device/Node/Position
Device/Node/Position/Latitude
Device/Node/Position/Longitude
Device/Node/Position/Height
Device/Node/Show in map
Device/Name
Device/Description
Device/My node
Device/My node/Name
Device/My node/Manager
Device/My node/Address
Device/My node/Address/Street
Device/My node/Address/Zip code
Device/My node/Address/City
Device/My node/Address/Country
Device/My node/Address/Description
Device/My node/Address/Region
Device/My node/Description
Device/My node/Owner
Device/My node/Position
Device/My node/Position/Latitude
Device/My node/Position/Longitude
Device/My node/Position/Height
Device/My node/Show in map
Mac address
Name
Is active
Description
Creation
Creation/C time
Creation/C user
Creation/Kind
Creation/Time
Creation/User
Last change
Last change/C time
Last change/C user
Last change/Kind
Last change/Time
Last change/User
Last cid
Pid
Type name
My node
My node/Name
My node/Manager
My node/Address
My node/Address/Street
My node/Address/Zip code
My node/Address/City
My node/Address/Country
My node/Address/Description
My node/Address/Region
My node/Description
My node/Owner
My node/Position
My node/Position/Latitude
My node/Position/Longitude
My node/Position/Height
My node/Show in map
My net device
My net device/Net device type
My net device/Net device type/Name
My net device/Net device type/Model no
My net device/Net device type/Revision
My net device/Net device type/Description
My net device/Node
My net device/Node/Name
My net device/Node/Manager
My net device/Node/Address
My net device/Node/Address/Street
My net device/Node/Address/Zip code
My net device/Node/Address/City
My net device/Node/Address/Country
My net device/Node/Address/Description
My net device/Node/Address/Region
My net device/Node/Description
My net device/Node/Owner
My net device/Node/Position
My net device/Node/Position/Latitude
My net device/Node/Position/Longitude
My net device/Node/Position/Height
My net device/Node/Show in map
My net device/Name
My net device/Description
My net device/My node
My net device/My node/Name
My net device/My node/Manager
My net device/My node/Address
My net device/My node/Address/Street
My net device/My node/Address/Zip code
My net device/My node/Address/City
My net device/My node/Address/Country
My net device/My node/Address/Description
My net device/My node/Address/Region
My net device/My node/Description
My net device/My node/Owner
My net device/My node/Position
My net device/My node/Position/Latitude
My net device/My node/Position/Longitude
My net device/My node/Position/Height
My net device/My node/Show in map
Credentials 1
Credentials 1/My node
Credentials 1/My node/Name
Credentials 1/My node/Manager
Credentials 1/My node/Address
Credentials 1/My node/Address/Street
Credentials 1/My node/Address/Zip code
Credentials 1/My node/Address/City
Credentials 1/My node/Address/Country
Credentials 1/My node/Address/Description
Credentials 1/My node/Address/Region
Credentials 1/My node/Description
Credentials 1/My node/Owner
Credentials 1/My node/Position
Credentials 1/My node/Position/Latitude
Credentials 1/My node/Position/Longitude
Credentials 1/My node/Position/Height
Credentials 1/My node/Show in map
Credentials 1/My net device
Credentials 1/My net device/Net device type
Credentials 1/My net device/Net device type/Name
Credentials 1/My net device/Net device type/Model no
Credentials 1/My net device/Net device type/Revision
Credentials 1/My net device/Net device type/Description
Credentials 1/My net device/Node
Credentials 1/My net device/Node/Name
Credentials 1/My net device/Node/Manager
Credentials 1/My net device/Node/Address
Credentials 1/My net device/Node/Address/Street
Credentials 1/My net device/Node/Address/Zip code
Credentials 1/My net device/Node/Address/City
Credentials 1/My net device/Node/Address/Country
Credentials 1/My net device/Node/Address/Description
Credentials 1/My net device/Node/Address/Region
Credentials 1/My net device/Node/Description
Credentials 1/My net device/Node/Owner
Credentials 1/My net device/Node/Position
Credentials 1/My net device/Node/Position/Latitude
Credentials 1/My net device/Node/Position/Longitude
Credentials 1/My net device/Node/Position/Height
Credentials 1/My net device/Node/Show in map
Credentials 1/My net device/Name
Credentials 1/My net device/Description
Credentials 1/My net device/My node
Ip4 networks
Ip4 networks/Net address
Ip4 networks/Description
Ip4 networks/Owner
Ip4 networks/Pool
Ip4 networks/Pool/Net address
Ip4 networks/Pool/Description
Ip4 networks/Pool/Owner
Ip4 networks/Pool/Pool
Ip4 networks/Pool/Expiration date
Ip4 networks/Pool/Has children
Ip4 networks/Pool/Is free
Ip4 networks/Pool/Parent
Ip4 networks/Expiration date
Ip4 networks/Has children
Ip4 networks/Is free
Ip4 networks/Parent
Ip6 networks
Ip6 networks/Net address
Ip6 networks/Description
Ip6 networks/Owner
Ip6 networks/Pool
Ip6 networks/Pool/Net address
Ip6 networks/Pool/Description
Ip6 networks/Pool/Owner
Ip6 networks/Pool/Pool
Ip6 networks/Pool/Expiration date
Ip6 networks/Pool/Has children
Ip6 networks/Pool/Is free
Ip6 networks/Pool/Parent
Ip6 networks/Expiration date
Ip6 networks/Has children
Ip6 networks/Is free
Ip6 networks/Parent
Documents
Documents/Url
Documents/Type
Documents/Description
"""
_test_net_fixtures = """
>>> scope = Scaffold.scope (%(p1)s, %(n1)s) # doctest:+ELLIPSIS
Creating new scope MOMT__...
>>> CNDB = scope.CNDB
>>> PAP = scope.PAP
>>> net_fixtures (scope)
>>> scope.commit ()
>>> show_by_pid (scope.CNDB.Node)
2 : Node nogps
3 : Node node2
38 : Node Node-net1
39 : Node Node-net2
40 : Node Node-net3
41 : Node Node-net4
>>> show_by_pid (scope.CNDB.Net_Device)
28 : Net_Device Generic, node2, dev
44 : Net_Device Generic, Node-net1, n1d1
45 : Net_Device Generic, Node-net1, n1d2
46 : Net_Device Generic, Node-net2, n2d1
47 : Net_Device Generic, Node-net2, n2d2
48 : Net_Device Generic, Node-net2, n2d3
49 : Net_Device Generic, Node-net3, n3d1
50 : Net_Device Generic, Node-net4, n4d1
51 : Net_Device Generic, Node-net4, n4d2
52 : Net_Device Generic, Node-net4, n4d3
53 : Net_Device Generic, Node-net4, n4d4
54 : Net_Device Generic, Node-net4, n4d5
>>> show_query_by_pid (scope.CNDB.Belongs_to_Node.query (Q.my_node.name == "nogps"))
2 : Node nogps
>>> show_query_by_pid (scope.CNDB.Belongs_to_Node.query (Q.my_node.name == "node2"))
3 : Node node2
28 : Net_Device Generic, node2, dev
29 : Wired_Interface Generic, node2, dev, wr
30 : Wireless_Interface Generic, node2, dev, wl
31 : Wired_Interface_in_IP4_Network Generic, node2, dev, wr, 192.168.23.1
32 : Wireless_Interface_in_IP4_Network Generic, node2, dev, wl, 192.168.23.2
33 : Wired_Interface_in_IP4_Network Generic, node2, dev, wr, 192.168.23.3
34 : Wireless_Interface_in_IP4_Network Generic, node2, dev, wl, 192.168.23.4
>>> show_query_by_pid (scope.CNDB.Belongs_to_Node.query (Q.RAW.my_node.name == "Node-net1"))
38 : Node Node-net1
44 : Net_Device Generic, Node-net1, n1d1
45 : Net_Device Generic, Node-net1, n1d2
>>> show_query_by_pid (scope.CNDB.Belongs_to_Node.query (Q.RAW.my_node.name == "Node-net2"))
39 : Node Node-net2
46 : Net_Device Generic, Node-net2, n2d1
47 : Net_Device Generic, Node-net2, n2d2
48 : Net_Device Generic, Node-net2, n2d3
>>> show_query_by_pid (scope.CNDB.Belongs_to_Node.query (Q.RAW.my_node.name == "Node-net3"))
40 : Node Node-net3
49 : Net_Device Generic, Node-net3, n3d1
>>> show_query_by_pid (scope.CNDB.Belongs_to_Node.query (Q.my_node.name == "node-net4"))
41 : Node Node-net4
50 : Net_Device Generic, Node-net4, n4d1
51 : Net_Device Generic, Node-net4, n4d2
52 : Net_Device Generic, Node-net4, n4d3
53 : Net_Device Generic, Node-net4, n4d4
54 : Net_Device Generic, Node-net4, n4d5
"""
_test_order_4 = """
>>> scope = Scaffold.scope (%(p1)s, %(n1)s) # doctest:+ELLIPSIS
Creating new scope MOMT__...
>>> CNDB = scope.CNDB
>>> I4N = CNDB.IP4_Network
>>> PAP = scope.PAP
>>> ff = PAP.Association ("Funkfeuer", short_name = "0xFF", raw = True)
>>> _ = I4N ("10.0.0.16/28")
>>> _ = I4N ("10.0.0.16/29")
>>> _ = I4N ("10.0.0.24/29")
>>> _ = I4N ("10.0.0.24/30")
>>> _ = I4N ("10.0.0.16/30")
>>> _ = I4N ("10.0.0.30/32")
>>> _ = I4N ("10.0.0.32/28")
>>> _ = I4N ("10.0.0.33/32")
>>> _ = I4N ("10.0.0.40/29")
>>> _ = I4N ("10.0.0.40/30")
>>> _ = I4N ("10.0.0.40/31")
>>> _ = I4N ("10.0.0.40/32")
>>> _ = I4N ("10.0.0.128/28")
>>> _ = I4N ("10.0.0.212/28")
>>> adr = I4N.net_address.P_Type ("10.0.0.0/32")
>>> _ = I4N (adr, owner = ff, raw = True)
>>> scope.commit ()
>>> ETM = scope.CNDB.IP4_Network
>>> show_networks (scope, ETM)
10.0.0.0 Funkfeuer : electric = F, children = F
10.0.0.16/28 : electric = F, children = F
10.0.0.16/29 : electric = F, children = F
10.0.0.16/30 : electric = F, children = F
10.0.0.24/29 : electric = F, children = F
10.0.0.24/30 : electric = F, children = F
10.0.0.30 : electric = F, children = F
10.0.0.32/28 : electric = F, children = F
10.0.0.33 : electric = F, children = F
10.0.0.40/29 : electric = F, children = F
10.0.0.40/30 : electric = F, children = F
10.0.0.40/31 : electric = F, children = F
10.0.0.40 : electric = F, children = F
10.0.0.128/28 : electric = F, children = F
10.0.0.208/28 : electric = F, children = F
>>> adr1 = I4N.net_address.P_Type ("192.168.0.112/27")
>>> adr1
192.168.0.96/27
>>> bool (adr1)
True
>>> I4N (adr1, owner = ff)
CNDB.IP4_Network ("192.168.0.96/27")
>>> adr2 = I4N.net_address.P_Type ("192.168.1.96/27")
>>> adr2
192.168.1.96/27
>>> bool (adr2)
True
>>> I4N (adr2, owner = ff, raw = True)
CNDB.IP4_Network ("192.168.1.96/27")
"""
_test_order_6 = """
>>> scope = Scaffold.scope (%(p1)s, %(n1)s) # doctest:+ELLIPSIS
Creating new scope MOMT__...
>>> CNDB = scope.CNDB
>>> I6N = CNDB.IP6_Network
>>> PAP = scope.PAP
>>> ff = PAP.Association ("Funkfeuer", short_name = "0xFF", raw = True)
>>> _ = I6N ("2001:0db8::10/124")
>>> _ = I6N ("2001:0db8::10/125")
>>> _ = I6N ("2001:0db8::18/125")
>>> _ = I6N ("2001:0db8::18/126")
>>> _ = I6N ("2001:0db8::10/126")
>>> _ = I6N ("2001:0db8::1E/128")
>>> _ = I6N ("2001:0db8::20/124")
>>> _ = I6N ("2001:0db8::21/128")
>>> _ = I6N ("2001:0db8::28/125")
>>> _ = I6N ("2001:0db8::28/126")
>>> _ = I6N ("2001:0db8::28/127")
>>> _ = I6N ("2001:0db8::28/128")
>>> _ = I6N ("2001:0db8::80/124")
>>> _ = I6N ("2001:0db8::D4/124")
>>> adr = I6N.net_address.P_Type ("2001:0db8::0/128")
>>> _ = I6N (adr, owner = ff, raw = True)
>>> scope.commit ()
>>> ETM = scope.CNDB.IP6_Network
>>> show_networks (scope, ETM)
2001:db8:: Funkfeuer : electric = F, children = F
2001:db8::10/124 : electric = F, children = F
2001:db8::10/125 : electric = F, children = F
2001:db8::10/126 : electric = F, children = F
2001:db8::18/125 : electric = F, children = F
2001:db8::18/126 : electric = F, children = F
2001:db8::1e : electric = F, children = F
2001:db8::20/124 : electric = F, children = F
2001:db8::21 : electric = F, children = F
2001:db8::28/125 : electric = F, children = F
2001:db8::28/126 : electric = F, children = F
2001:db8::28/127 : electric = F, children = F
2001:db8::28 : electric = F, children = F
2001:db8::80/124 : electric = F, children = F
2001:db8::d0/124 : electric = F, children = F
>>> adr1 = I6N.net_address.P_Type ("2a02:58::/29")
>>> adr1
2a02:58::/29
>>> bool (adr1)
True
>>> I6N (adr1, owner = ff, raw = True)
CNDB.IP6_Network ("2a02:58::/29")
>>> adr2 = I6N.net_address.P_Type ("2a02:60::/29")
>>> adr2
2a02:60::/29
>>> bool (adr2)
True
>>> I6N (adr2, owner = ff)
CNDB.IP6_Network ("2a02:60::/29")
"""
_test_std_fixtures = """
>>> scope = Scaffold.scope (%(p1)s, %(n1)s) # doctest:+ELLIPSIS
Creating new scope MOMT__...
>>> CNDB = scope.CNDB
>>> PAP = scope.PAP
>>> std_fixtures (scope)
>>> scope.commit ()
>>> show_by_pid (scope.CNDB.Node)
2 : Node nogps
3 : Node node2
>>> show_by_pid (scope.CNDB.Net_Device)
28 : Net_Device Generic, node2, dev
>>> show_by_pid (scope.CNDB.Net_Interface)
29 : Wired_Interface Generic, node2, dev, wr
30 : Wireless_Interface Generic, node2, dev, wl
>>> show_by_pid (scope.CNDB.Net_Interface_in_IP4_Network)
31 : Wired_Interface_in_IP4_Network Generic, node2, dev, wr, 192.168.23.1
32 : Wireless_Interface_in_IP4_Network Generic, node2, dev, wl, 192.168.23.2
33 : Wired_Interface_in_IP4_Network Generic, node2, dev, wr, 192.168.23.3
34 : Wireless_Interface_in_IP4_Network Generic, node2, dev, wl, 192.168.23.4
>>> show_by_pid (scope.CNDB.IP4_Network)
4 : IP4_Network 192.168.23.0/24
5 : IP4_Network 192.168.23.0/25
6 : IP4_Network 192.168.23.128/25
7 : IP4_Network 192.168.23.0/26
8 : IP4_Network 192.168.23.64/26
9 : IP4_Network 192.168.23.0/27
10 : IP4_Network 192.168.23.32/27
11 : IP4_Network 192.168.23.0/28
12 : IP4_Network 192.168.23.16/28
13 : IP4_Network 192.168.23.0/29
14 : IP4_Network 192.168.23.8/29
15 : IP4_Network 192.168.23.0/30
16 : IP4_Network 192.168.23.4/30
17 : IP4_Network 192.168.23.0/31
18 : IP4_Network 192.168.23.2/31
19 : IP4_Network 192.168.23.0
20 : IP4_Network 192.168.23.1
21 : IP4_Network 192.168.23.2
22 : IP4_Network 192.168.23.3
23 : IP4_Network 192.168.23.4/31
24 : IP4_Network 192.168.23.6/31
25 : IP4_Network 192.168.23.4
26 : IP4_Network 192.168.23.5
>>> show_query_by_pid (scope.CNDB.Belongs_to_Node.query (Q.my_node.name == "nogps"))
2 : Node nogps
>>> show_query_by_pid (scope.CNDB.Belongs_to_Node.query (Q.my_node.name == "node2"))
3 : Node node2
28 : Net_Device Generic, node2, dev
29 : Wired_Interface Generic, node2, dev, wr
30 : Wireless_Interface Generic, node2, dev, wl
31 : Wired_Interface_in_IP4_Network Generic, node2, dev, wr, 192.168.23.1
32 : Wireless_Interface_in_IP4_Network Generic, node2, dev, wl, 192.168.23.2
33 : Wired_Interface_in_IP4_Network Generic, node2, dev, wr, 192.168.23.3
34 : Wireless_Interface_in_IP4_Network Generic, node2, dev, wl, 192.168.23.4
"""
_test_debug = """
>>> scope = Scaffold.scope (%(p1)s, %(n1)s) # doctest:+ELLIPSIS
Creating new scope MOMT__...
>>> CNDB = scope.CNDB
>>> PAP = scope.PAP
>>> I4N = CNDB.IP4_Network
>>> Adr = I4N.net_address.P_Type
>>> _ = I4N ("10.0.0.16/28")
>>> _ = I4N ("10.0.0.16/29")
>>> _ = I4N ("10.0.0.24/29")
>>> _ = I4N ("10.0.0.24/30")
>>> _ = I4N ("10.0.0.16/30")
>>> _ = I4N ("10.0.0.30/32")
>>> _ = I4N ("10.0.0.32/28")
>>> _ = I4N ("10.0.0.33/32")
>>> _ = I4N ("10.0.0.40/29")
>>> _ = I4N ("10.0.0.40/30")
>>> _ = I4N ("10.0.0.40/31")
>>> _ = I4N ("10.0.0.40/32")
>>> _ = I4N ("10.0.0.128/28")
>>> _ = I4N ("10.0.0.212/28")
>>> mgr = PAP.Person (first_name = 'Ralf', last_name = 'Schlatterbeck', raw = True)
>>> node1 = CNDB.Node (name = "nogps", manager = mgr, raw = True)
>>> net = CNDB.IP4_Network ('192.168.23.0/24', raw = True)
>>> a1 = net.reserve ('192.168.23.1/32')
>>> a2 = net.reserve (Adr ('192.168.23.2/32'))
>>> a3 = net.reserve ('192.168.23.3/32')
>>> a4 = net.reserve (Adr ('192.168.23.4/32'))
>>> devtype = CNDB.Net_Device_Type.instance_or_new (name = 'Generic', raw = True)
>>> dev = CNDB.Net_Device (left = devtype, node = node1, name = 'dev', raw = True)
>>> wr = CNDB.Wired_Interface (left = dev, name = 'wr', raw = True)
>>> wl = CNDB.Wireless_Interface (left = dev, name = 'wl', raw = True)
>>> ir1 = CNDB.Net_Interface_in_IP4_Network (wr, a1, mask_len = 24)
>>> il1 = CNDB.Net_Interface_in_IP4_Network (wl, a2, mask_len = 32)
>>> ir2 = CNDB.Net_Interface_in_IP4_Network (wr, a3, mask_len = 24)
>>> il2 = CNDB.Net_Interface_in_IP4_Network (wl, a4, mask_len = 24)
>>> il1.right.ETM.query ( (Q.net_address.CONTAINS (il1.right.net_address)) & (Q.electric == False)).attr ("net_address.mask_len").all ()
"""
def show_by_pid (ETM) :
show_query_by_pid (ETM.query ())
# end def show_by_pid
def show_networks (scope, ETM, * qargs, ** qkw) :
sk = TFL.Sorted_By ("electric", "-has_children", "net_address")
pool = qkw.pop ("pool", None)
if pool is not None :
qargs += (Q.net_address.IN (pool.net_address), )
for nw in ETM.query (* qargs, sort_key = sk, ** qkw).distinct () :
now = datetime.now ()
exp = ""
if nw.expiration_date is not None :
exp = "free" if nw.expiration_date < now else "expiring"
ood = nw.FO.owner or exp
print \
( "%-18s %-25s: electric = %1.1s, children = %1.1s"
% (nw.FO.net_address, ood, nw.electric, nw.has_children)
)
# end def show_networks
def tree_view (net, indent = 0) :
el = ' E' if net.electric else ''
print ("%s%s%s" % (' ' * indent, net.net_address, el))
for n in sorted (net.subnets, key = lambda x : x.net_address) :
tree_view (n, indent + 1)
# end def tree_view
def show_network_count (scope, ETM) :
print ("%s count: %s" % (ETM.type_name, ETM.count))
# end def show_network_count
def show_query_by_pid (q) :
for x in q.order_by (Q.pid) :
print ("%-3s : %-25s %s" % (x.pid, x.type_base_name, x.ui_display))
# end def show_query_by_pid
__test__ = Scaffold.create_test_dict \
( dict
( test_alloc = _test_alloc
, test_partial = _test_partial
, test_AQ = _test_AQ
, test_net_fixtures = _test_net_fixtures
, test_order_4 = _test_order_4
, test_order_6 = _test_order_6
, test_std_fixtures = _test_std_fixtures
)
)
X__test__ = Scaffold.create_test_dict \
( dict
( test_debug = _test_debug
)
)
### __END__ CNDB.OMP.__test__.IP_Network
| 52.19609 | 185 | 0.338291 | 71,446 | 1,003,783 | 4.488075 | 0.007978 | 0.040661 | 0.097451 | 0.035197 | 0.968514 | 0.954802 | 0.938875 | 0.914135 | 0.885353 | 0.852742 | 0 | 0.019181 | 0.57695 | 1,003,783 | 19,230 | 186 | 52.198804 | 0.735907 | 0.002724 | 0 | 0.655654 | 0 | 0.017963 | 0.997847 | 0.11745 | 0 | 0 | 0.000016 | 0 | 0 | 1 | 0.000263 | false | 0 | 0.000315 | 0 | 0.000578 | 0.001471 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f6ebb5e24022f0d6981d3a4f87eb14cebf45650a | 124,394 | py | Python | pyboto3/ses.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/ses.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/ses.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
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.
'''
def can_paginate(operation_name=None):
"""
Check if an operation can be paginated.
:type operation_name: string
:param operation_name: The operation name. This is the same name
as the method name on the client. For example, if the
method name is create_foo, and you'd normally invoke the
operation as client.create_foo(**kwargs), if the
create_foo operation can be paginated, you can use the
call client.get_paginator('create_foo').
"""
pass
def clone_receipt_rule_set(RuleSetName=None, OriginalRuleSetName=None):
"""
Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.
For information about setting up rule sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example creates a receipt rule set by cloning an existing one:
Expected Output:
:example: response = client.clone_receipt_rule_set(
RuleSetName='string',
OriginalRuleSetName='string'
)
:type RuleSetName: string
:param RuleSetName: [REQUIRED]
The name of the rule set to create. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
:type OriginalRuleSetName: string
:param OriginalRuleSetName: [REQUIRED]
The name of the rule set to clone.
:rtype: dict
:return: {}
"""
pass
def create_configuration_set(ConfigurationSet=None):
"""
Creates a configuration set.
Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
:example: response = client.create_configuration_set(
ConfigurationSet={
'Name': 'string'
}
)
:type ConfigurationSet: dict
:param ConfigurationSet: [REQUIRED]
A data structure that contains the name of the configuration set.
Name (string) -- [REQUIRED]The name of the configuration set. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 64 characters.
:rtype: dict
:return: {}
"""
pass
def create_configuration_set_event_destination(ConfigurationSetName=None, EventDestination=None):
"""
Creates a configuration set event destination.
An event destination is the AWS service to which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
:example: response = client.create_configuration_set_event_destination(
ConfigurationSetName='string',
EventDestination={
'Name': 'string',
'Enabled': True|False,
'MatchingEventTypes': [
'send'|'reject'|'bounce'|'complaint'|'delivery',
],
'KinesisFirehoseDestination': {
'IAMRoleARN': 'string',
'DeliveryStreamARN': 'string'
},
'CloudWatchDestination': {
'DimensionConfigurations': [
{
'DimensionName': 'string',
'DimensionValueSource': 'messageTag'|'emailHeader',
'DefaultDimensionValue': 'string'
},
]
}
}
)
:type ConfigurationSetName: string
:param ConfigurationSetName: [REQUIRED]
The name of the configuration set to which to apply the event destination.
:type EventDestination: dict
:param EventDestination: [REQUIRED]
An object that describes the AWS service to which Amazon SES will publish the email sending events associated with the specified configuration set.
Name (string) -- [REQUIRED]The name of the event destination. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 64 characters.
Enabled (boolean) --Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true to enable publishing to this destination; set to false to prevent publishing to this destination. The default value is false .
MatchingEventTypes (list) -- [REQUIRED]The type of email sending events to publish to the event destination.
(string) --
KinesisFirehoseDestination (dict) --An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
IAMRoleARN (string) -- [REQUIRED]The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream.
DeliveryStreamARN (string) -- [REQUIRED]The ARN of the Amazon Kinesis Firehose stream to which to publish email sending events.
CloudWatchDestination (dict) --An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
DimensionConfigurations (list) -- [REQUIRED]A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.
(dict) --Contains the dimension configuration to use when you publish email sending events to Amazon CloudWatch.
For information about publishing email sending events to Amazon CloudWatch, see the Amazon SES Developer Guide .
DimensionName (string) -- [REQUIRED]The name of an Amazon CloudWatch dimension associated with an email sending metric. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
DimensionValueSource (string) -- [REQUIRED]The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. If you want Amazon SES to use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail /SendRawEmail API, choose messageTag . If you want Amazon SES to use your own email headers, choose emailHeader .
DefaultDimensionValue (string) -- [REQUIRED]The default value of the dimension that is published to Amazon CloudWatch if you do not provide the value of the dimension when you send an email. The default value must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
:rtype: dict
:return: {}
"""
pass
def create_receipt_filter(Filter=None):
"""
Creates a new IP address filter.
For information about setting up IP address filters, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example creates a new IP address filter:
Expected Output:
:example: response = client.create_receipt_filter(
Filter={
'Name': 'string',
'IpFilter': {
'Policy': 'Block'|'Allow',
'Cidr': 'string'
}
}
)
:type Filter: dict
:param Filter: [REQUIRED]
A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
Name (string) -- [REQUIRED]The name of the IP address filter. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
IpFilter (dict) -- [REQUIRED]A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
Policy (string) -- [REQUIRED]Indicates whether to block or allow incoming mail from the specified IP addresses.
Cidr (string) -- [REQUIRED]A single IP address or a range of IP addresses that you want to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317 .
:rtype: dict
:return: {}
"""
pass
def create_receipt_rule(RuleSetName=None, After=None, Rule=None):
"""
Creates a receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example creates a new receipt rule:
Expected Output:
:example: response = client.create_receipt_rule(
RuleSetName='string',
After='string',
Rule={
'Name': 'string',
'Enabled': True|False,
'TlsPolicy': 'Require'|'Optional',
'Recipients': [
'string',
],
'Actions': [
{
'S3Action': {
'TopicArn': 'string',
'BucketName': 'string',
'ObjectKeyPrefix': 'string',
'KmsKeyArn': 'string'
},
'BounceAction': {
'TopicArn': 'string',
'SmtpReplyCode': 'string',
'StatusCode': 'string',
'Message': 'string',
'Sender': 'string'
},
'WorkmailAction': {
'TopicArn': 'string',
'OrganizationArn': 'string'
},
'LambdaAction': {
'TopicArn': 'string',
'FunctionArn': 'string',
'InvocationType': 'Event'|'RequestResponse'
},
'StopAction': {
'Scope': 'RuleSet',
'TopicArn': 'string'
},
'AddHeaderAction': {
'HeaderName': 'string',
'HeaderValue': 'string'
},
'SNSAction': {
'TopicArn': 'string',
'Encoding': 'UTF-8'|'Base64'
}
},
],
'ScanEnabled': True|False
}
)
:type RuleSetName: string
:param RuleSetName: [REQUIRED]
The name of the rule set to which to add the rule.
:type After: string
:param After: The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.
:type Rule: dict
:param Rule: [REQUIRED]
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
Name (string) -- [REQUIRED]The name of the receipt rule. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
Enabled (boolean) --If true , the receipt rule is active. The default value is false .
TlsPolicy (string) --Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to Require , Amazon SES will bounce emails that are not received over TLS. The default is Optional .
Recipients (list) --The recipient domains and email addresses to which the receipt rule applies. If this field is not specified, this rule will match all recipients under all verified domains.
(string) --
Actions (list) --An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.
(dict) --An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.
For information about setting up receipt rules, see the Amazon SES Developer Guide .
S3Action (dict) --Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
TopicArn (string) --The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
BucketName (string) -- [REQUIRED]The name of the Amazon S3 bucket to which to save the received email.
ObjectKeyPrefix (string) --The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.
KmsKeyArn (string) --The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:
To use the default master key, provide an ARN in the form of arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses . For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be arn:aws:kms:us-west-2:123456789012:alias/aws/ses . If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the Amazon SES Developer Guide .
For more information about key policies, see the AWS KMS Developer Guide . If you do not specify a master key, Amazon SES will not encrypt your emails.
Warning
Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the AWS Java SDK and AWS Ruby SDK only. For more information about client-side encryption using AWS KMS master keys, see the Amazon S3 Developer Guide .
BounceAction (dict) --Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
TopicArn (string) --The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
SmtpReplyCode (string) -- [REQUIRED]The SMTP reply code, as defined by RFC 5321 .
StatusCode (string) --The SMTP enhanced status code, as defined by RFC 3463 .
Message (string) -- [REQUIRED]Human-readable text to include in the bounce message.
Sender (string) -- [REQUIRED]The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.
WorkmailAction (dict) --Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.
TopicArn (string) --The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
OrganizationArn (string) -- [REQUIRED]The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7 . For information about Amazon WorkMail organizations, see the Amazon WorkMail Administrator Guide .
LambdaAction (dict) --Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
TopicArn (string) --The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
FunctionArn (string) -- [REQUIRED]The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is arn:aws:lambda:us-west-2:account-id:function:MyFunction . For more information about AWS Lambda, see the AWS Lambda Developer Guide .
InvocationType (string) --The invocation type of the AWS Lambda function. An invocation type of RequestResponse means that the execution of the function will immediately result in a response, and a value of Event means that the function will be invoked asynchronously. The default value is Event . For information about AWS Lambda invocation types, see the AWS Lambda Developer Guide .
Warning
There is a 30-second timeout on RequestResponse invocations. You should use Event invocation in most cases. Use RequestResponse only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
StopAction (dict) --Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
Scope (string) -- [REQUIRED]The scope to which the Stop action applies. That is, what is being stopped.
TopicArn (string) --The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
AddHeaderAction (dict) --Adds a header to the received email.
HeaderName (string) -- [REQUIRED]The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
HeaderValue (string) -- [REQUIRED]Must be less than 2048 characters, and must not contain newline characters ('r' or 'n').
SNSAction (dict) --Publishes the email content within a notification to Amazon SNS.
TopicArn (string) -- [REQUIRED]The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
Encoding (string) --The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.
ScanEnabled (boolean) --If true , then messages to which this receipt rule applies are scanned for spam and viruses. The default value is false .
:rtype: dict
:return: {}
"""
pass
def create_receipt_rule_set(RuleSetName=None):
"""
Creates an empty receipt rule set.
For information about setting up receipt rule sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example creates an empty receipt rule set:
Expected Output:
:example: response = client.create_receipt_rule_set(
RuleSetName='string'
)
:type RuleSetName: string
:param RuleSetName: [REQUIRED]
The name of the rule set to create. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
:rtype: dict
:return: {}
"""
pass
def delete_configuration_set(ConfigurationSetName=None):
"""
Deletes a configuration set.
Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
:example: response = client.delete_configuration_set(
ConfigurationSetName='string'
)
:type ConfigurationSetName: string
:param ConfigurationSetName: [REQUIRED]
The name of the configuration set to delete.
:rtype: dict
:return: {}
"""
pass
def delete_configuration_set_event_destination(ConfigurationSetName=None, EventDestinationName=None):
"""
Deletes a configuration set event destination.
Configuration set event destinations are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
:example: response = client.delete_configuration_set_event_destination(
ConfigurationSetName='string',
EventDestinationName='string'
)
:type ConfigurationSetName: string
:param ConfigurationSetName: [REQUIRED]
The name of the configuration set from which to delete the event destination.
:type EventDestinationName: string
:param EventDestinationName: [REQUIRED]
The name of the event destination to delete.
:rtype: dict
:return: {}
"""
pass
def delete_identity(Identity=None):
"""
Deletes the specified identity (an email address or a domain) from the list of verified identities.
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example deletes an identity from the list of identities that have been submitted for verification with Amazon SES:
Expected Output:
:example: response = client.delete_identity(
Identity='string'
)
:type Identity: string
:param Identity: [REQUIRED]
The identity to be removed from the list of identities for the AWS Account.
:rtype: dict
:return: {}
"""
pass
def delete_identity_policy(Identity=None, PolicyName=None):
"""
Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example deletes a sending authorization policy for an identity:
Expected Output:
:example: response = client.delete_identity_policy(
Identity='string',
PolicyName='string'
)
:type Identity: string
:param Identity: [REQUIRED]
The identity that is associated with the policy that you want to delete. You can specify the identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com , example.com , arn:aws:ses:us-east-1:123456789012:identity/example.com .
To successfully call this API, you must own the identity.
:type PolicyName: string
:param PolicyName: [REQUIRED]
The name of the policy to be deleted.
:rtype: dict
:return: {}
"""
pass
def delete_receipt_filter(FilterName=None):
"""
Deletes the specified IP address filter.
For information about managing IP address filters, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example deletes an IP address filter:
Expected Output:
:example: response = client.delete_receipt_filter(
FilterName='string'
)
:type FilterName: string
:param FilterName: [REQUIRED]
The name of the IP address filter to delete.
:rtype: dict
:return: {}
"""
pass
def delete_receipt_rule(RuleSetName=None, RuleName=None):
"""
Deletes the specified receipt rule.
For information about managing receipt rules, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example deletes a receipt rule:
Expected Output:
:example: response = client.delete_receipt_rule(
RuleSetName='string',
RuleName='string'
)
:type RuleSetName: string
:param RuleSetName: [REQUIRED]
The name of the receipt rule set that contains the receipt rule to delete.
:type RuleName: string
:param RuleName: [REQUIRED]
The name of the receipt rule to delete.
:rtype: dict
:return: {}
"""
pass
def delete_receipt_rule_set(RuleSetName=None):
"""
Deletes the specified receipt rule set and all of the receipt rules it contains.
For information about managing receipt rule sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example deletes a receipt rule set:
Expected Output:
:example: response = client.delete_receipt_rule_set(
RuleSetName='string'
)
:type RuleSetName: string
:param RuleSetName: [REQUIRED]
The name of the receipt rule set to delete.
:rtype: dict
:return: {}
"""
pass
def delete_verified_email_address(EmailAddress=None):
"""
Deletes the specified email address from the list of verified addresses.
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example deletes an email address from the list of identities that have been submitted for verification with Amazon SES:
Expected Output:
:example: response = client.delete_verified_email_address(
EmailAddress='string'
)
:type EmailAddress: string
:param EmailAddress: [REQUIRED]
An email address to be removed from the list of verified addresses.
:return: response = client.delete_verified_email_address(
EmailAddress='user@example.com',
)
print(response)
"""
pass
def describe_active_receipt_rule_set():
"""
Returns the metadata and receipt rules for the receipt rule set that is currently active.
For information about setting up receipt rule sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example returns the metadata and receipt rules for the receipt rule set that is currently active:
Expected Output:
:example: response = client.describe_active_receipt_rule_set()
:rtype: dict
:return: {
'Metadata': {
'Name': 'string',
'CreatedTimestamp': datetime(2015, 1, 1)
},
'Rules': [
{
'Name': 'string',
'Enabled': True|False,
'TlsPolicy': 'Require'|'Optional',
'Recipients': [
'string',
],
'Actions': [
{
'S3Action': {
'TopicArn': 'string',
'BucketName': 'string',
'ObjectKeyPrefix': 'string',
'KmsKeyArn': 'string'
},
'BounceAction': {
'TopicArn': 'string',
'SmtpReplyCode': 'string',
'StatusCode': 'string',
'Message': 'string',
'Sender': 'string'
},
'WorkmailAction': {
'TopicArn': 'string',
'OrganizationArn': 'string'
},
'LambdaAction': {
'TopicArn': 'string',
'FunctionArn': 'string',
'InvocationType': 'Event'|'RequestResponse'
},
'StopAction': {
'Scope': 'RuleSet',
'TopicArn': 'string'
},
'AddHeaderAction': {
'HeaderName': 'string',
'HeaderValue': 'string'
},
'SNSAction': {
'TopicArn': 'string',
'Encoding': 'UTF-8'|'Base64'
}
},
],
'ScanEnabled': True|False
},
]
}
:returns:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
"""
pass
def describe_configuration_set(ConfigurationSetName=None, ConfigurationSetAttributeNames=None):
"""
Returns the details of the specified configuration set.
Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
:example: response = client.describe_configuration_set(
ConfigurationSetName='string',
ConfigurationSetAttributeNames=[
'eventDestinations',
]
)
:type ConfigurationSetName: string
:param ConfigurationSetName: [REQUIRED]
The name of the configuration set to describe.
:type ConfigurationSetAttributeNames: list
:param ConfigurationSetAttributeNames: A list of configuration set attributes to return.
(string) --
:rtype: dict
:return: {
'ConfigurationSet': {
'Name': 'string'
},
'EventDestinations': [
{
'Name': 'string',
'Enabled': True|False,
'MatchingEventTypes': [
'send'|'reject'|'bounce'|'complaint'|'delivery',
],
'KinesisFirehoseDestination': {
'IAMRoleARN': 'string',
'DeliveryStreamARN': 'string'
},
'CloudWatchDestination': {
'DimensionConfigurations': [
{
'DimensionName': 'string',
'DimensionValueSource': 'messageTag'|'emailHeader',
'DefaultDimensionValue': 'string'
},
]
}
},
]
}
:returns:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 64 characters.
"""
pass
def describe_receipt_rule(RuleSetName=None, RuleName=None):
"""
Returns the details of the specified receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example returns the details of a receipt rule:
Expected Output:
:example: response = client.describe_receipt_rule(
RuleSetName='string',
RuleName='string'
)
:type RuleSetName: string
:param RuleSetName: [REQUIRED]
The name of the receipt rule set to which the receipt rule belongs.
:type RuleName: string
:param RuleName: [REQUIRED]
The name of the receipt rule.
:rtype: dict
:return: {
'Rule': {
'Name': 'string',
'Enabled': True|False,
'TlsPolicy': 'Require'|'Optional',
'Recipients': [
'string',
],
'Actions': [
{
'S3Action': {
'TopicArn': 'string',
'BucketName': 'string',
'ObjectKeyPrefix': 'string',
'KmsKeyArn': 'string'
},
'BounceAction': {
'TopicArn': 'string',
'SmtpReplyCode': 'string',
'StatusCode': 'string',
'Message': 'string',
'Sender': 'string'
},
'WorkmailAction': {
'TopicArn': 'string',
'OrganizationArn': 'string'
},
'LambdaAction': {
'TopicArn': 'string',
'FunctionArn': 'string',
'InvocationType': 'Event'|'RequestResponse'
},
'StopAction': {
'Scope': 'RuleSet',
'TopicArn': 'string'
},
'AddHeaderAction': {
'HeaderName': 'string',
'HeaderValue': 'string'
},
'SNSAction': {
'TopicArn': 'string',
'Encoding': 'UTF-8'|'Base64'
}
},
],
'ScanEnabled': True|False
}
}
:returns:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
"""
pass
def describe_receipt_rule_set(RuleSetName=None):
"""
Returns the details of the specified receipt rule set.
For information about managing receipt rule sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example returns the metadata and receipt rules of a receipt rule set:
Expected Output:
:example: response = client.describe_receipt_rule_set(
RuleSetName='string'
)
:type RuleSetName: string
:param RuleSetName: [REQUIRED]
The name of the receipt rule set to describe.
:rtype: dict
:return: {
'Metadata': {
'Name': 'string',
'CreatedTimestamp': datetime(2015, 1, 1)
},
'Rules': [
{
'Name': 'string',
'Enabled': True|False,
'TlsPolicy': 'Require'|'Optional',
'Recipients': [
'string',
],
'Actions': [
{
'S3Action': {
'TopicArn': 'string',
'BucketName': 'string',
'ObjectKeyPrefix': 'string',
'KmsKeyArn': 'string'
},
'BounceAction': {
'TopicArn': 'string',
'SmtpReplyCode': 'string',
'StatusCode': 'string',
'Message': 'string',
'Sender': 'string'
},
'WorkmailAction': {
'TopicArn': 'string',
'OrganizationArn': 'string'
},
'LambdaAction': {
'TopicArn': 'string',
'FunctionArn': 'string',
'InvocationType': 'Event'|'RequestResponse'
},
'StopAction': {
'Scope': 'RuleSet',
'TopicArn': 'string'
},
'AddHeaderAction': {
'HeaderName': 'string',
'HeaderValue': 'string'
},
'SNSAction': {
'TopicArn': 'string',
'Encoding': 'UTF-8'|'Base64'
}
},
],
'ScanEnabled': True|False
},
]
}
:returns:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
"""
pass
def generate_presigned_url(ClientMethod=None, Params=None, ExpiresIn=None, HttpMethod=None):
"""
Generate a presigned url given a client, its method, and arguments
:type ClientMethod: string
:param ClientMethod: The client method to presign for
:type Params: dict
:param Params: The parameters normally passed to
ClientMethod.
:type ExpiresIn: int
:param ExpiresIn: The number of seconds the presigned url is valid
for. By default it expires in an hour (3600 seconds)
:type HttpMethod: string
:param HttpMethod: The http method to use on the generated url. By
default, the http method is whatever is used in the method's model.
"""
pass
def get_identity_dkim_attributes(Identities=None):
"""
Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.
This action takes a list of identities as input and returns the following information for each:
This action is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time.
For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide .
See also: AWS API Documentation
Examples
The following example retrieves the Amazon SES Easy DKIM attributes for a list of identities:
Expected Output:
:example: response = client.get_identity_dkim_attributes(
Identities=[
'string',
]
)
:type Identities: list
:param Identities: [REQUIRED]
A list of one or more verified identities - email addresses, domains, or both.
(string) --
:rtype: dict
:return: {
'DkimAttributes': {
'string': {
'DkimEnabled': True|False,
'DkimVerificationStatus': 'Pending'|'Success'|'Failed'|'TemporaryFailure'|'NotStarted',
'DkimTokens': [
'string',
]
}
}
}
:returns:
(string) --
"""
pass
def get_identity_mail_from_domain_attributes(Identities=None):
"""
Returns the custom MAIL FROM attributes for a list of identities (email addresses and/or domains).
This action is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100 identities at a time.
See also: AWS API Documentation
Examples
The following example returns the custom MAIL FROM attributes for an identity:
Expected Output:
:example: response = client.get_identity_mail_from_domain_attributes(
Identities=[
'string',
]
)
:type Identities: list
:param Identities: [REQUIRED]
A list of one or more identities.
(string) --
:rtype: dict
:return: {
'MailFromDomainAttributes': {
'string': {
'MailFromDomain': 'string',
'MailFromDomainStatus': 'Pending'|'Success'|'Failed'|'TemporaryFailure',
'BehaviorOnMXFailure': 'UseDefaultValue'|'RejectMessage'
}
}
}
"""
pass
def get_identity_notification_attributes(Identities=None):
"""
Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.
This action is throttled at one request per second and can only get notification attributes for up to 100 identities at a time.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide .
See also: AWS API Documentation
Examples
The following example returns the notification attributes for an identity:
Expected Output:
:example: response = client.get_identity_notification_attributes(
Identities=[
'string',
]
)
:type Identities: list
:param Identities: [REQUIRED]
A list of one or more identities. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com , example.com , arn:aws:ses:us-east-1:123456789012:identity/example.com .
(string) --
:rtype: dict
:return: {
'NotificationAttributes': {
'string': {
'BounceTopic': 'string',
'ComplaintTopic': 'string',
'DeliveryTopic': 'string',
'ForwardingEnabled': True|False,
'HeadersInBounceNotificationsEnabled': True|False,
'HeadersInComplaintNotificationsEnabled': True|False,
'HeadersInDeliveryNotificationsEnabled': True|False
}
}
}
"""
pass
def get_identity_policies(Identity=None, PolicyNames=None):
"""
Returns the requested sending authorization policies for the given identity (an email address or a domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example returns a sending authorization policy for an identity:
Expected Output:
:example: response = client.get_identity_policies(
Identity='string',
PolicyNames=[
'string',
]
)
:type Identity: string
:param Identity: [REQUIRED]
The identity for which the policies will be retrieved. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com , example.com , arn:aws:ses:us-east-1:123456789012:identity/example.com .
To successfully call this API, you must own the identity.
:type PolicyNames: list
:param PolicyNames: [REQUIRED]
A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do not know the names of the policies that are attached to the identity, you can use ListIdentityPolicies .
(string) --
:rtype: dict
:return: {
'Policies': {
'string': 'string'
}
}
:returns:
(string) --
(string) --
"""
pass
def get_identity_verification_attributes(Identities=None):
"""
Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.
This action is throttled at one request per second and can only get verification attributes for up to 100 identities at a time.
See also: AWS API Documentation
Examples
The following example returns the verification status and the verification token for a domain identity:
Expected Output:
:example: response = client.get_identity_verification_attributes(
Identities=[
'string',
]
)
:type Identities: list
:param Identities: [REQUIRED]
A list of identities.
(string) --
:rtype: dict
:return: {
'VerificationAttributes': {
'string': {
'VerificationStatus': 'Pending'|'Success'|'Failed'|'TemporaryFailure'|'NotStarted',
'VerificationToken': 'string'
}
}
}
"""
pass
def get_paginator(operation_name=None):
"""
Create a paginator for an operation.
:type operation_name: string
:param operation_name: The operation name. This is the same name
as the method name on the client. For example, if the
method name is create_foo, and you'd normally invoke the
operation as client.create_foo(**kwargs), if the
create_foo operation can be paginated, you can use the
call client.get_paginator('create_foo').
:rtype: L{botocore.paginate.Paginator}
"""
pass
def get_send_quota():
"""
Returns the user's current sending limits.
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example returns the Amazon SES sending limits for an AWS account:
Expected Output:
:example: response = client.get_send_quota()
:rtype: dict
:return: {
'Max24HourSend': 123.0,
'MaxSendRate': 123.0,
'SentLast24Hours': 123.0
}
"""
pass
def get_send_statistics():
"""
Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.
Each data point in the list contains statistics for a 15-minute interval.
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example returns Amazon SES sending statistics:
Expected Output:
:example: response = client.get_send_statistics()
:rtype: dict
:return: {
'SendDataPoints': [
{
'Timestamp': datetime(2015, 1, 1),
'DeliveryAttempts': 123,
'Bounces': 123,
'Complaints': 123,
'Rejects': 123
},
]
}
"""
pass
def get_waiter():
"""
"""
pass
def list_configuration_sets(NextToken=None, MaxItems=None):
"""
Lists the configuration sets associated with your AWS account.
Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second and can return up to 50 configuration sets at a time.
See also: AWS API Documentation
:example: response = client.list_configuration_sets(
NextToken='string',
MaxItems=123
)
:type NextToken: string
:param NextToken: A token returned from a previous call to ListConfigurationSets to indicate the position of the configuration set in the configuration set list.
:type MaxItems: integer
:param MaxItems: The number of configuration sets to return.
:rtype: dict
:return: {
'ConfigurationSets': [
{
'Name': 'string'
},
],
'NextToken': 'string'
}
:returns:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 64 characters.
"""
pass
def list_identities(IdentityType=None, NextToken=None, MaxItems=None):
"""
Returns a list containing all of the identities (email addresses and domains) for your AWS account, regardless of verification status.
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example lists the email address identities that have been submitted for verification with Amazon SES:
Expected Output:
:example: response = client.list_identities(
IdentityType='EmailAddress'|'Domain',
NextToken='string',
MaxItems=123
)
:type IdentityType: string
:param IdentityType: The type of the identities to list. Possible values are 'EmailAddress' and 'Domain'. If this parameter is omitted, then all identities will be listed.
:type NextToken: string
:param NextToken: The token to use for pagination.
:type MaxItems: integer
:param MaxItems: The maximum number of identities per page. Possible values are 1-1000 inclusive.
:rtype: dict
:return: {
'Identities': [
'string',
],
'NextToken': 'string'
}
:returns:
(string) --
"""
pass
def list_identity_policies(Identity=None):
"""
Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain). This API returns only a list. If you want the actual policy content, you can use GetIdentityPolicies .
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example returns a list of sending authorization policies that are attached to an identity:
Expected Output:
:example: response = client.list_identity_policies(
Identity='string'
)
:type Identity: string
:param Identity: [REQUIRED]
The identity that is associated with the policy for which the policies will be listed. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com , example.com , arn:aws:ses:us-east-1:123456789012:identity/example.com .
To successfully call this API, you must own the identity.
:rtype: dict
:return: {
'PolicyNames': [
'string',
]
}
"""
pass
def list_receipt_filters():
"""
Lists the IP address filters associated with your AWS account.
For information about managing IP address filters, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example lists the IP address filters that are associated with an AWS account:
Expected Output:
:example: response = client.list_receipt_filters()
:rtype: dict
:return: {
'Filters': [
{
'Name': 'string',
'IpFilter': {
'Policy': 'Block'|'Allow',
'Cidr': 'string'
}
},
]
}
"""
pass
def list_receipt_rule_sets(NextToken=None):
"""
Lists the receipt rule sets that exist under your AWS account. If there are additional receipt rule sets to be retrieved, you will receive a NextToken that you can provide to the next call to ListReceiptRuleSets to retrieve the additional entries.
For information about managing receipt rule sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example lists the receipt rule sets that exist under an AWS account:
Expected Output:
:example: response = client.list_receipt_rule_sets(
NextToken='string'
)
:type NextToken: string
:param NextToken: A token returned from a previous call to ListReceiptRuleSets to indicate the position in the receipt rule set list.
:rtype: dict
:return: {
'RuleSets': [
{
'Name': 'string',
'CreatedTimestamp': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
"""
pass
def list_verified_email_addresses():
"""
Returns a list containing all of the email addresses that have been verified.
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example lists all email addresses that have been submitted for verification with Amazon SES:
Expected Output:
:example: response = client.list_verified_email_addresses()
:rtype: dict
:return: {
'VerifiedEmailAddresses': [
'string',
]
}
"""
pass
def put_identity_policy(Identity=None, PolicyName=None, Policy=None):
"""
Adds or updates a sending authorization policy for the specified identity (an email address or a domain).
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example adds a sending authorization policy to an identity:
Expected Output:
:example: response = client.put_identity_policy(
Identity='string',
PolicyName='string',
Policy='string'
)
:type Identity: string
:param Identity: [REQUIRED]
The identity to which the policy will apply. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com , example.com , arn:aws:ses:us-east-1:123456789012:identity/example.com .
To successfully call this API, you must own the identity.
:type PolicyName: string
:param PolicyName: [REQUIRED]
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
:type Policy: string
:param Policy: [REQUIRED]
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide .
:rtype: dict
:return: {}
"""
pass
def reorder_receipt_rule_set(RuleSetName=None, RuleNames=None):
"""
Reorders the receipt rules within a receipt rule set.
For information about managing receipt rule sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example reorders the receipt rules within a receipt rule set:
Expected Output:
:example: response = client.reorder_receipt_rule_set(
RuleSetName='string',
RuleNames=[
'string',
]
)
:type RuleSetName: string
:param RuleSetName: [REQUIRED]
The name of the receipt rule set to reorder.
:type RuleNames: list
:param RuleNames: [REQUIRED]
A list of the specified receipt rule set's receipt rules in the order that you want to put them.
(string) --
:rtype: dict
:return: {}
"""
pass
def send_bounce(OriginalMessageId=None, BounceSender=None, Explanation=None, MessageDsn=None, BouncedRecipientInfoList=None, BounceSenderArn=None):
"""
Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this API on an email up to 24 hours after you receive it.
For information about receiving email through Amazon SES, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
:example: response = client.send_bounce(
OriginalMessageId='string',
BounceSender='string',
Explanation='string',
MessageDsn={
'ReportingMta': 'string',
'ArrivalDate': datetime(2015, 1, 1),
'ExtensionFields': [
{
'Name': 'string',
'Value': 'string'
},
]
},
BouncedRecipientInfoList=[
{
'Recipient': 'string',
'RecipientArn': 'string',
'BounceType': 'DoesNotExist'|'MessageTooLarge'|'ExceededQuota'|'ContentRejected'|'Undefined'|'TemporaryFailure',
'RecipientDsnFields': {
'FinalRecipient': 'string',
'Action': 'failed'|'delayed'|'delivered'|'relayed'|'expanded',
'RemoteMta': 'string',
'Status': 'string',
'DiagnosticCode': 'string',
'LastAttemptDate': datetime(2015, 1, 1),
'ExtensionFields': [
{
'Name': 'string',
'Value': 'string'
},
]
}
},
],
BounceSenderArn='string'
)
:type OriginalMessageId: string
:param OriginalMessageId: [REQUIRED]
The message ID of the message to be bounced.
:type BounceSender: string
:param BounceSender: [REQUIRED]
The address to use in the 'From' header of the bounce message. This must be an identity that you have verified with Amazon SES.
:type Explanation: string
:param Explanation: Human-readable text for the bounce message to explain the failure. If not specified, the text will be auto-generated based on the bounced recipient information.
:type MessageDsn: dict
:param MessageDsn: Message-related DSN fields. If not specified, Amazon SES will choose the values.
ReportingMta (string) -- [REQUIRED]The reporting MTA that attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name ). The default value is dns; inbound-smtp.[region].amazonaws.com .
ArrivalDate (datetime) --When the message was received by the reporting mail transfer agent (MTA), in RFC 822 date-time format.
ExtensionFields (list) --Additional X-headers to include in the DSN.
(dict) --Additional X-headers to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.
For information about receiving email through Amazon SES, see the Amazon SES Developer Guide .
Name (string) -- [REQUIRED]The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
Value (string) -- [REQUIRED]The value of the header to add. Must be less than 2048 characters, and must not contain newline characters ('r' or 'n').
:type BouncedRecipientInfoList: list
:param BouncedRecipientInfoList: [REQUIRED]
A list of recipients of the bounced message, including the information required to create the Delivery Status Notifications (DSNs) for the recipients. You must specify at least one BouncedRecipientInfo in the list.
(dict) --Recipient-related information to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.
For information about receiving email through Amazon SES, see the Amazon SES Developer Guide .
Recipient (string) -- [REQUIRED]The email address of the recipient of the bounced email.
RecipientArn (string) --This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide .
BounceType (string) --The reason for the bounce. You must provide either this parameter or RecipientDsnFields .
RecipientDsnFields (dict) --Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a BounceType . You must provide either this parameter or BounceType .
FinalRecipient (string) --The email address to which the message was ultimately delivered. This corresponds to the Final-Recipient in the DSN. If not specified, FinalRecipient will be set to the Recipient specified in the BouncedRecipientInfo structure. Either FinalRecipient or the recipient in BouncedRecipientInfo must be a recipient of the original bounced message.
Note
Do not prepend the FinalRecipient email address with rfc 822; , as described in RFC 3798 .
Action (string) -- [REQUIRED]The action performed by the reporting mail transfer agent (MTA) as a result of its attempt to deliver the message to the recipient address. This is required by RFC 3464 .
RemoteMta (string) --The MTA to which the remote MTA attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name ). This parameter typically applies only to propagating synchronous bounces.
Status (string) -- [REQUIRED]The status code that indicates what went wrong. This is required by RFC 3464 .
DiagnosticCode (string) --An extended explanation of what went wrong; this is usually an SMTP response. See RFC 3463 for the correct formatting of this parameter.
LastAttemptDate (datetime) --The time the final delivery attempt was made, in RFC 822 date-time format.
ExtensionFields (list) --Additional X-headers to include in the DSN.
(dict) --Additional X-headers to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.
For information about receiving email through Amazon SES, see the Amazon SES Developer Guide .
Name (string) -- [REQUIRED]The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
Value (string) -- [REQUIRED]The value of the header to add. Must be less than 2048 characters, and must not contain newline characters ('r' or 'n').
:type BounceSenderArn: string
:param BounceSenderArn: This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the address in the 'From' header of the bounce. For more information about sending authorization, see the Amazon SES Developer Guide .
:rtype: dict
:return: {
'MessageId': 'string'
}
"""
pass
def send_email(Source=None, Destination=None, Message=None, ReplyToAddresses=None, ReturnPath=None, SourceArn=None, ReturnPathArn=None, Tags=None, ConfigurationSetName=None):
"""
Composes an email message based on input data, and then immediately queues the message for sending.
There are several important points to know about SendEmail :
See also: AWS API Documentation
Examples
The following example sends a formatted email:
Expected Output:
:example: response = client.send_email(
Source='string',
Destination={
'ToAddresses': [
'string',
],
'CcAddresses': [
'string',
],
'BccAddresses': [
'string',
]
},
Message={
'Subject': {
'Data': 'string',
'Charset': 'string'
},
'Body': {
'Text': {
'Data': 'string',
'Charset': 'string'
},
'Html': {
'Data': 'string',
'Charset': 'string'
}
}
},
ReplyToAddresses=[
'string',
],
ReturnPath='string',
SourceArn='string',
ReturnPathArn='string',
Tags=[
{
'Name': 'string',
'Value': 'string'
},
],
ConfigurationSetName='string'
)
:type Source: string
:param Source: [REQUIRED]
The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. For information about verifying identities, see the Amazon SES Developer Guide .
If you are sending on behalf of another user and have been permitted to do so by a sending authorization policy, then you must also specify the SourceArn parameter. For more information about sending authorization, see the Amazon SES Developer Guide .
In all cases, the email address must be 7-bit ASCII. If the text must contain any other characters, then you must use MIME encoded-word syntax (RFC 2047) instead of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?= . For more information, see RFC 2047 .
:type Destination: dict
:param Destination: [REQUIRED]
The destination for this email, composed of To:, CC:, and BCC: fields.
ToAddresses (list) --The To: field(s) of the message.
(string) --
CcAddresses (list) --The CC: field(s) of the message.
(string) --
BccAddresses (list) --The BCC: field(s) of the message.
(string) --
:type Message: dict
:param Message: [REQUIRED]
The message to be sent.
Subject (dict) -- [REQUIRED]The subject of the message: A short summary of the content, which will appear in the recipient's inbox.
Data (string) -- [REQUIRED]The textual data of the content.
Charset (string) --The character set of the content.
Body (dict) -- [REQUIRED]The message body.
Text (dict) --The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).
Data (string) -- [REQUIRED]The textual data of the content.
Charset (string) --The character set of the content.
Html (dict) --The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.
Data (string) -- [REQUIRED]The textual data of the content.
Charset (string) --The character set of the content.
:type ReplyToAddresses: list
:param ReplyToAddresses: The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.
(string) --
:type ReturnPath: string
:param ReturnPath: The email address to which bounces and complaints are to be forwarded when feedback forwarding is enabled. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the ReturnPath parameter. The ReturnPath parameter is never overwritten. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
:type SourceArn: string
:param SourceArn: This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com ) attaches a policy to it that authorizes you to send from user@example.com , then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com , and the Source to be user@example.com .
For more information about sending authorization, see the Amazon SES Developer Guide .
:type ReturnPathArn: string
:param ReturnPathArn: This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com ) attaches a policy to it that authorizes you to use feedback@example.com , then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com , and the ReturnPath to be feedback@example.com .
For more information about sending authorization, see the Amazon SES Developer Guide .
:type Tags: list
:param Tags: A list of tags, in the form of name/value pairs, to apply to an email that you send using SendEmail . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
(dict) --Contains the name and value of a tag that you can provide to SendEmail or SendRawEmail to apply to an email.
Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide .
Name (string) -- [REQUIRED]The name of the tag. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
Value (string) -- [REQUIRED]The value of the tag. The value must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
:type ConfigurationSetName: string
:param ConfigurationSetName: The name of the configuration set to use when you send an email using SendEmail .
:rtype: dict
:return: {
'MessageId': 'string'
}
:returns:
Source (string) -- [REQUIRED]
The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. For information about verifying identities, see the Amazon SES Developer Guide .
If you are sending on behalf of another user and have been permitted to do so by a sending authorization policy, then you must also specify the SourceArn parameter. For more information about sending authorization, see the Amazon SES Developer Guide .
In all cases, the email address must be 7-bit ASCII. If the text must contain any other characters, then you must use MIME encoded-word syntax (RFC 2047) instead of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?= . For more information, see RFC 2047 .
Destination (dict) -- [REQUIRED]
The destination for this email, composed of To:, CC:, and BCC: fields.
ToAddresses (list) --The To: field(s) of the message.
(string) --
CcAddresses (list) --The CC: field(s) of the message.
(string) --
BccAddresses (list) --The BCC: field(s) of the message.
(string) --
Message (dict) -- [REQUIRED]
The message to be sent.
Subject (dict) -- [REQUIRED]The subject of the message: A short summary of the content, which will appear in the recipient's inbox.
Data (string) -- [REQUIRED]The textual data of the content.
Charset (string) --The character set of the content.
Body (dict) -- [REQUIRED]The message body.
Text (dict) --The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).
Data (string) -- [REQUIRED]The textual data of the content.
Charset (string) --The character set of the content.
Html (dict) --The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.
Data (string) -- [REQUIRED]The textual data of the content.
Charset (string) --The character set of the content.
ReplyToAddresses (list) -- The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.
(string) --
ReturnPath (string) -- The email address to which bounces and complaints are to be forwarded when feedback forwarding is enabled. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the ReturnPath parameter. The ReturnPath parameter is never overwritten. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
SourceArn (string) -- This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com ) attaches a policy to it that authorizes you to send from user@example.com , then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com , and the Source to be user@example.com .
For more information about sending authorization, see the Amazon SES Developer Guide .
ReturnPathArn (string) -- This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com ) attaches a policy to it that authorizes you to use feedback@example.com , then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com , and the ReturnPath to be feedback@example.com .
For more information about sending authorization, see the Amazon SES Developer Guide .
Tags (list) -- A list of tags, in the form of name/value pairs, to apply to an email that you send using SendEmail . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
(dict) --Contains the name and value of a tag that you can provide to SendEmail or SendRawEmail to apply to an email.
Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide .
Name (string) -- [REQUIRED]The name of the tag. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
Value (string) -- [REQUIRED]The value of the tag. The value must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
ConfigurationSetName (string) -- The name of the configuration set to use when you send an email using SendEmail .
"""
pass
def send_raw_email(Source=None, Destinations=None, RawMessage=None, FromArn=None, SourceArn=None, ReturnPathArn=None, Tags=None, ConfigurationSetName=None):
"""
Sends an email message, with header and content specified by the client. The SendRawEmail action is useful for sending multipart MIME emails. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent.
There are several important points to know about SendRawEmail :
For the most common sending authorization use case, we recommend that you specify the SourceIdentityArn and do not specify either the FromIdentityArn or ReturnPathIdentityArn . (The same note applies to the corresponding X-headers.) If you only specify the SourceIdentityArn , Amazon SES will simply set the "From" address and the "Return Path" address to the identity specified in SourceIdentityArn . For more information about sending authorization, see the Amazon SES Developer Guide .
See also: AWS API Documentation
Examples
The following example sends an email with an attachment:
Expected Output:
:example: response = client.send_raw_email(
Source='string',
Destinations=[
'string',
],
RawMessage={
'Data': b'bytes'
},
FromArn='string',
SourceArn='string',
ReturnPathArn='string',
Tags=[
{
'Name': 'string',
'Value': 'string'
},
],
ConfigurationSetName='string'
)
:type Source: string
:param Source: The identity's email address. If you do not provide a value for this parameter, you must specify a 'From' address in the raw text of the message. (You can also specify both.)
By default, the string must be 7-bit ASCII. If the text must contain any other characters, then you must use MIME encoded-word syntax (RFC 2047) instead of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?= . For more information, see RFC 2047 .
Note
If you specify the Source parameter and have feedback forwarding enabled, then bounces and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message.
:type Destinations: list
:param Destinations: A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.
(string) --
:type RawMessage: dict
:param RawMessage: [REQUIRED]
The raw text of the message. The client is responsible for ensuring the following:
Message must contain a header and a body, separated by a blank line.
All required header fields must be present.
Each part of a multipart MIME message must be formatted properly.
MIME content types must be among those supported by Amazon SES. For more information, go to the Amazon SES Developer Guide .
Must be base64-encoded.
Data (bytes) -- [REQUIRED]The raw data of the message. The client must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, MIME encoding, and base64 encoding.
The To:, CC:, and BCC: headers in the raw message can contain a group list.
If you are using SendRawEmail with sending authorization, you can include X-headers in the raw message to specify the 'Source,' 'From,' and 'Return-Path' addresses. For more information, see the documentation for SendRawEmail .
Warning
Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email.
For more information, go to the Amazon SES Developer Guide .
:type FromArn: string
:param FromArn: This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular 'From' address in the header of the raw email.
Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter.
Note
For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide .
:type SourceArn: string
:param SourceArn: This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com ) attaches a policy to it that authorizes you to send from user@example.com , then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com , and the Source to be user@example.com .
Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter.
Note
For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide .
:type ReturnPathArn: string
:param ReturnPathArn: This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com ) attaches a policy to it that authorizes you to use feedback@example.com , then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com , and the ReturnPath to be feedback@example.com .
Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter.
Note
For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide .
:type Tags: list
:param Tags: A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
(dict) --Contains the name and value of a tag that you can provide to SendEmail or SendRawEmail to apply to an email.
Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide .
Name (string) -- [REQUIRED]The name of the tag. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
Value (string) -- [REQUIRED]The value of the tag. The value must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
:type ConfigurationSetName: string
:param ConfigurationSetName: The name of the configuration set to use when you send an email using SendRawEmail .
:rtype: dict
:return: {
'MessageId': 'string'
}
:returns:
Source (string) -- The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.)
By default, the string must be 7-bit ASCII. If the text must contain any other characters, then you must use MIME encoded-word syntax (RFC 2047) instead of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?= . For more information, see RFC 2047 .
Note
If you specify the Source parameter and have feedback forwarding enabled, then bounces and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message.
Destinations (list) -- A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.
(string) --
RawMessage (dict) -- [REQUIRED]
The raw text of the message. The client is responsible for ensuring the following:
Message must contain a header and a body, separated by a blank line.
All required header fields must be present.
Each part of a multipart MIME message must be formatted properly.
MIME content types must be among those supported by Amazon SES. For more information, go to the Amazon SES Developer Guide .
Must be base64-encoded.
Data (bytes) -- [REQUIRED]The raw data of the message. The client must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, MIME encoding, and base64 encoding.
The To:, CC:, and BCC: headers in the raw message can contain a group list.
If you are using SendRawEmail with sending authorization, you can include X-headers in the raw message to specify the "Source," "From," and "Return-Path" addresses. For more information, see the documentation for SendRawEmail .
Warning
Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email.
For more information, go to the Amazon SES Developer Guide .
FromArn (string) -- This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular "From" address in the header of the raw email.
Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter.
Note
For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide .
SourceArn (string) -- This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com ) attaches a policy to it that authorizes you to send from user@example.com , then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com , and the Source to be user@example.com .
Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter.
Note
For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide .
ReturnPathArn (string) -- This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com ) attaches a policy to it that authorizes you to use feedback@example.com , then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com , and the ReturnPath to be feedback@example.com .
Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter.
Note
For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide .
Tags (list) -- A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
(dict) --Contains the name and value of a tag that you can provide to SendEmail or SendRawEmail to apply to an email.
Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide .
Name (string) -- [REQUIRED]The name of the tag. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
Value (string) -- [REQUIRED]The value of the tag. The value must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
ConfigurationSetName (string) -- The name of the configuration set to use when you send an email using SendRawEmail .
"""
pass
def set_active_receipt_rule_set(RuleSetName=None):
"""
Sets the specified receipt rule set as the active receipt rule set.
For information about managing receipt rule sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example sets the active receipt rule set:
Expected Output:
:example: response = client.set_active_receipt_rule_set(
RuleSetName='string'
)
:type RuleSetName: string
:param RuleSetName: The name of the receipt rule set to make active. Setting this value to null disables all email receiving.
:rtype: dict
:return: {}
"""
pass
def set_identity_dkim_enabled(Identity=None, DkimEnabled=None):
"""
Enables or disables Easy DKIM signing of email sent from an identity:
For email addresses (e.g., user@example.com ), you can only enable Easy DKIM signing if the corresponding domain (e.g., example.com ) has been set up for Easy DKIM using the AWS Console or the VerifyDomainDkim action.
This action is throttled at one request per second.
For more information about Easy DKIM signing, go to the Amazon SES Developer Guide .
See also: AWS API Documentation
Examples
The following example configures Amazon SES to Easy DKIM-sign the email sent from an identity:
Expected Output:
:example: response = client.set_identity_dkim_enabled(
Identity='string',
DkimEnabled=True|False
)
:type Identity: string
:param Identity: [REQUIRED]
The identity for which DKIM signing should be enabled or disabled.
:type DkimEnabled: boolean
:param DkimEnabled: [REQUIRED]
Sets whether DKIM signing is enabled for an identity. Set to true to enable DKIM signing for this identity; false to disable it.
:rtype: dict
:return: {}
:returns:
Identity (string) -- [REQUIRED]
The identity for which DKIM signing should be enabled or disabled.
DkimEnabled (boolean) -- [REQUIRED]
Sets whether DKIM signing is enabled for an identity. Set to true to enable DKIM signing for this identity; false to disable it.
"""
pass
def set_identity_feedback_forwarding_enabled(Identity=None, ForwardingEnabled=None):
"""
Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.
This action is throttled at one request per second.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide .
See also: AWS API Documentation
Examples
The following example configures Amazon SES to forward an identity's bounces and complaints via email:
Expected Output:
:example: response = client.set_identity_feedback_forwarding_enabled(
Identity='string',
ForwardingEnabled=True|False
)
:type Identity: string
:param Identity: [REQUIRED]
The identity for which to set bounce and complaint notification forwarding. Examples: user@example.com , example.com .
:type ForwardingEnabled: boolean
:param ForwardingEnabled: [REQUIRED]
Sets whether Amazon SES will forward bounce and complaint notifications as email. true specifies that Amazon SES will forward bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. false specifies that Amazon SES will publish bounce and complaint notifications only through Amazon SNS. This value can only be set to false when Amazon SNS topics are set for both Bounce and Complaint notification types.
:rtype: dict
:return: {}
"""
pass
def set_identity_headers_in_notifications_enabled(Identity=None, NotificationType=None, Enabled=None):
"""
Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.
This action is throttled at one request per second.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide .
See also: AWS API Documentation
Examples
The following example configures Amazon SES to include the original email headers in the Amazon SNS bounce notifications for an identity:
Expected Output:
:example: response = client.set_identity_headers_in_notifications_enabled(
Identity='string',
NotificationType='Bounce'|'Complaint'|'Delivery',
Enabled=True|False
)
:type Identity: string
:param Identity: [REQUIRED]
The identity for which to enable or disable headers in notifications. Examples: user@example.com , example.com .
:type NotificationType: string
:param NotificationType: [REQUIRED]
The notification type for which to enable or disable headers in notifications.
:type Enabled: boolean
:param Enabled: [REQUIRED]
Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified notification type. A value of true specifies that Amazon SES will include headers in notifications, and a value of false specifies that Amazon SES will not include headers in notifications.
This value can only be set when NotificationType is already set to use a particular Amazon SNS topic.
:rtype: dict
:return: {}
"""
pass
def set_identity_mail_from_domain(Identity=None, MailFromDomain=None, BehaviorOnMXFailure=None):
"""
Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain).
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example configures Amazon SES to use a custom MAIL FROM domain for an identity:
Expected Output:
:example: response = client.set_identity_mail_from_domain(
Identity='string',
MailFromDomain='string',
BehaviorOnMXFailure='UseDefaultValue'|'RejectMessage'
)
:type Identity: string
:param Identity: [REQUIRED]
The verified identity for which you want to enable or disable the specified custom MAIL FROM domain.
:type MailFromDomain: string
:param MailFromDomain: The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must 1) be a subdomain of the verified identity, 2) not be used in a 'From' address if the MAIL FROM domain is the destination of email feedback forwarding (for more information, see the Amazon SES Developer Guide ), and 3) not be used to receive emails. A value of null disables the custom MAIL FROM setting for the identity.
:type BehaviorOnMXFailure: string
:param BehaviorOnMXFailure: The action that you want Amazon SES to take if it cannot successfully read the required MX record when you send an email. If you choose UseDefaultValue , Amazon SES will use amazonses.com (or a subdomain of that) as the MAIL FROM domain. If you choose RejectMessage , Amazon SES will return a MailFromDomainNotVerified error and not send the email.
The action specified in BehaviorOnMXFailure is taken when the custom MAIL FROM domain setup is in the Pending , Failed , and TemporaryFailure states.
:rtype: dict
:return: {}
"""
pass
def set_identity_notification_topic(Identity=None, NotificationType=None, SnsTopic=None):
"""
Given an identity (an email address or a domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as the Source .
This action is throttled at one request per second.
For more information about feedback notification, see the Amazon SES Developer Guide .
See also: AWS API Documentation
Examples
The following example sets the Amazon SNS topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with the specified identity as the Source:
Expected Output:
:example: response = client.set_identity_notification_topic(
Identity='string',
NotificationType='Bounce'|'Complaint'|'Delivery',
SnsTopic='string'
)
:type Identity: string
:param Identity: [REQUIRED]
The identity for which the Amazon SNS topic will be set. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com , example.com , arn:aws:ses:us-east-1:123456789012:identity/example.com .
:type NotificationType: string
:param NotificationType: [REQUIRED]
The type of notifications that will be published to the specified Amazon SNS topic.
:type SnsTopic: string
:param SnsTopic: The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, SnsTopic is cleared and publishing is disabled.
:rtype: dict
:return: {}
"""
pass
def set_receipt_rule_position(RuleSetName=None, RuleName=None, After=None):
"""
Sets the position of the specified receipt rule in the receipt rule set.
For information about managing receipt rules, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example sets the position of a receipt rule in a receipt rule set:
Expected Output:
:example: response = client.set_receipt_rule_position(
RuleSetName='string',
RuleName='string',
After='string'
)
:type RuleSetName: string
:param RuleSetName: [REQUIRED]
The name of the receipt rule set that contains the receipt rule to reposition.
:type RuleName: string
:param RuleName: [REQUIRED]
The name of the receipt rule to reposition.
:type After: string
:param After: The name of the receipt rule after which to place the specified receipt rule.
:rtype: dict
:return: {}
"""
pass
def update_configuration_set_event_destination(ConfigurationSetName=None, EventDestination=None):
"""
Updates the event destination of a configuration set.
Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch or Amazon Kinesis Firehose. For information about using configuration sets, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
:example: response = client.update_configuration_set_event_destination(
ConfigurationSetName='string',
EventDestination={
'Name': 'string',
'Enabled': True|False,
'MatchingEventTypes': [
'send'|'reject'|'bounce'|'complaint'|'delivery',
],
'KinesisFirehoseDestination': {
'IAMRoleARN': 'string',
'DeliveryStreamARN': 'string'
},
'CloudWatchDestination': {
'DimensionConfigurations': [
{
'DimensionName': 'string',
'DimensionValueSource': 'messageTag'|'emailHeader',
'DefaultDimensionValue': 'string'
},
]
}
}
)
:type ConfigurationSetName: string
:param ConfigurationSetName: [REQUIRED]
The name of the configuration set that you want to update.
:type EventDestination: dict
:param EventDestination: [REQUIRED]
The event destination object that you want to apply to the specified configuration set.
Name (string) -- [REQUIRED]The name of the event destination. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 64 characters.
Enabled (boolean) --Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true to enable publishing to this destination; set to false to prevent publishing to this destination. The default value is false .
MatchingEventTypes (list) -- [REQUIRED]The type of email sending events to publish to the event destination.
(string) --
KinesisFirehoseDestination (dict) --An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
IAMRoleARN (string) -- [REQUIRED]The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream.
DeliveryStreamARN (string) -- [REQUIRED]The ARN of the Amazon Kinesis Firehose stream to which to publish email sending events.
CloudWatchDestination (dict) --An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
DimensionConfigurations (list) -- [REQUIRED]A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.
(dict) --Contains the dimension configuration to use when you publish email sending events to Amazon CloudWatch.
For information about publishing email sending events to Amazon CloudWatch, see the Amazon SES Developer Guide .
DimensionName (string) -- [REQUIRED]The name of an Amazon CloudWatch dimension associated with an email sending metric. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
DimensionValueSource (string) -- [REQUIRED]The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. If you want Amazon SES to use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail /SendRawEmail API, choose messageTag . If you want Amazon SES to use your own email headers, choose emailHeader .
DefaultDimensionValue (string) -- [REQUIRED]The default value of the dimension that is published to Amazon CloudWatch if you do not provide the value of the dimension when you send an email. The default value must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Contain less than 256 characters.
:rtype: dict
:return: {}
"""
pass
def update_receipt_rule(RuleSetName=None, Rule=None):
"""
Updates a receipt rule.
For information about managing receipt rules, see the Amazon SES Developer Guide .
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example updates a receipt rule to use an Amazon S3 action:
Expected Output:
:example: response = client.update_receipt_rule(
RuleSetName='string',
Rule={
'Name': 'string',
'Enabled': True|False,
'TlsPolicy': 'Require'|'Optional',
'Recipients': [
'string',
],
'Actions': [
{
'S3Action': {
'TopicArn': 'string',
'BucketName': 'string',
'ObjectKeyPrefix': 'string',
'KmsKeyArn': 'string'
},
'BounceAction': {
'TopicArn': 'string',
'SmtpReplyCode': 'string',
'StatusCode': 'string',
'Message': 'string',
'Sender': 'string'
},
'WorkmailAction': {
'TopicArn': 'string',
'OrganizationArn': 'string'
},
'LambdaAction': {
'TopicArn': 'string',
'FunctionArn': 'string',
'InvocationType': 'Event'|'RequestResponse'
},
'StopAction': {
'Scope': 'RuleSet',
'TopicArn': 'string'
},
'AddHeaderAction': {
'HeaderName': 'string',
'HeaderValue': 'string'
},
'SNSAction': {
'TopicArn': 'string',
'Encoding': 'UTF-8'|'Base64'
}
},
],
'ScanEnabled': True|False
}
)
:type RuleSetName: string
:param RuleSetName: [REQUIRED]
The name of the receipt rule set to which the receipt rule belongs.
:type Rule: dict
:param Rule: [REQUIRED]
A data structure that contains the updated receipt rule information.
Name (string) -- [REQUIRED]The name of the receipt rule. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
Enabled (boolean) --If true , the receipt rule is active. The default value is false .
TlsPolicy (string) --Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to Require , Amazon SES will bounce emails that are not received over TLS. The default is Optional .
Recipients (list) --The recipient domains and email addresses to which the receipt rule applies. If this field is not specified, this rule will match all recipients under all verified domains.
(string) --
Actions (list) --An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.
(dict) --An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.
For information about setting up receipt rules, see the Amazon SES Developer Guide .
S3Action (dict) --Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
TopicArn (string) --The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
BucketName (string) -- [REQUIRED]The name of the Amazon S3 bucket to which to save the received email.
ObjectKeyPrefix (string) --The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.
KmsKeyArn (string) --The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:
To use the default master key, provide an ARN in the form of arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses . For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be arn:aws:kms:us-west-2:123456789012:alias/aws/ses . If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the Amazon SES Developer Guide .
For more information about key policies, see the AWS KMS Developer Guide . If you do not specify a master key, Amazon SES will not encrypt your emails.
Warning
Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the AWS Java SDK and AWS Ruby SDK only. For more information about client-side encryption using AWS KMS master keys, see the Amazon S3 Developer Guide .
BounceAction (dict) --Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
TopicArn (string) --The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
SmtpReplyCode (string) -- [REQUIRED]The SMTP reply code, as defined by RFC 5321 .
StatusCode (string) --The SMTP enhanced status code, as defined by RFC 3463 .
Message (string) -- [REQUIRED]Human-readable text to include in the bounce message.
Sender (string) -- [REQUIRED]The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.
WorkmailAction (dict) --Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.
TopicArn (string) --The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
OrganizationArn (string) -- [REQUIRED]The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7 . For information about Amazon WorkMail organizations, see the Amazon WorkMail Administrator Guide .
LambdaAction (dict) --Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
TopicArn (string) --The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
FunctionArn (string) -- [REQUIRED]The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is arn:aws:lambda:us-west-2:account-id:function:MyFunction . For more information about AWS Lambda, see the AWS Lambda Developer Guide .
InvocationType (string) --The invocation type of the AWS Lambda function. An invocation type of RequestResponse means that the execution of the function will immediately result in a response, and a value of Event means that the function will be invoked asynchronously. The default value is Event . For information about AWS Lambda invocation types, see the AWS Lambda Developer Guide .
Warning
There is a 30-second timeout on RequestResponse invocations. You should use Event invocation in most cases. Use RequestResponse only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
StopAction (dict) --Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
Scope (string) -- [REQUIRED]The scope to which the Stop action applies. That is, what is being stopped.
TopicArn (string) --The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
AddHeaderAction (dict) --Adds a header to the received email.
HeaderName (string) -- [REQUIRED]The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
HeaderValue (string) -- [REQUIRED]Must be less than 2048 characters, and must not contain newline characters ('r' or 'n').
SNSAction (dict) --Publishes the email content within a notification to Amazon SNS.
TopicArn (string) -- [REQUIRED]The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic . For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
Encoding (string) --The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.
ScanEnabled (boolean) --If true , then messages to which this receipt rule applies are scanned for spam and viruses. The default value is false .
:rtype: dict
:return: {}
"""
pass
def verify_domain_dkim(Domain=None):
"""
Returns a set of DKIM tokens for a domain. DKIM tokens are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain.
This action is throttled at one request per second.
To enable or disable Easy DKIM signing for a domain, use the SetIdentityDkimEnabled action.
For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide .
See also: AWS API Documentation
Examples
The following example generates DKIM tokens for a domain that has been verified with Amazon SES:
Expected Output:
:example: response = client.verify_domain_dkim(
Domain='string'
)
:type Domain: string
:param Domain: [REQUIRED]
The name of the domain to be verified for Easy DKIM signing.
:rtype: dict
:return: {
'DkimTokens': [
'string',
]
}
"""
pass
def verify_domain_identity(Domain=None):
"""
Verifies a domain.
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example starts the domain verification process with Amazon SES:
Expected Output:
:example: response = client.verify_domain_identity(
Domain='string'
)
:type Domain: string
:param Domain: [REQUIRED]
The domain to be verified.
:rtype: dict
:return: {
'VerificationToken': 'string'
}
"""
pass
def verify_email_address(EmailAddress=None):
"""
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example starts the email address verification process with Amazon SES:
Expected Output:
:example: response = client.verify_email_address(
EmailAddress='string'
)
:type EmailAddress: string
:param EmailAddress: [REQUIRED]
The email address to be verified.
:return: response = client.verify_email_address(
EmailAddress='user@example.com',
)
print(response)
"""
pass
def verify_email_identity(EmailAddress=None):
"""
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
This action is throttled at one request per second.
See also: AWS API Documentation
Examples
The following example starts the email address verification process with Amazon SES:
Expected Output:
:example: response = client.verify_email_identity(
EmailAddress='string'
)
:type EmailAddress: string
:param EmailAddress: [REQUIRED]
The email address to be verified.
:rtype: dict
:return: {}
"""
pass
| 47.154663 | 593 | 0.652097 | 15,402 | 124,394 | 5.246721 | 0.060512 | 0.011756 | 0.01188 | 0.018451 | 0.817028 | 0.791598 | 0.768073 | 0.747655 | 0.728635 | 0.712041 | 0 | 0.011118 | 0.284893 | 124,394 | 2,637 | 594 | 47.172545 | 0.897319 | 0.888588 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
f6f9b3cca2e6d440c15eb04c59be322ec49c538d | 13,034 | py | Python | hydroengine_service/dgds_blueprints.py | openearth/hydro-engine-service | 8e7eea489ee241dad2d6d8152d1c30af8a09a8d1 | [
"MIT"
] | 4 | 2019-02-15T13:53:01.000Z | 2021-12-13T09:53:02.000Z | hydroengine_service/dgds_blueprints.py | openearth/hydro-engine-service | 8e7eea489ee241dad2d6d8152d1c30af8a09a8d1 | [
"MIT"
] | 12 | 2018-12-19T08:30:29.000Z | 2021-04-21T12:59:59.000Z | hydroengine_service/dgds_blueprints.py | openearth/hydro-engine-service | 8e7eea489ee241dad2d6d8152d1c30af8a09a8d1 | [
"MIT"
] | 4 | 2018-10-17T23:48:21.000Z | 2020-08-05T18:36:14.000Z | import json
import ee
import logging
import flask_cors
from flask import request, Response
from flask import Blueprint
from hydroengine_service import dgds_functions
from hydroengine_service import error_handler
v1 = Blueprint("dgds-v1", __name__)
v2 = Blueprint("dgds-v2", __name__)
logger = logging.getLogger(__name__)
@v1.route("/get_glossis_data", methods=["POST"])
@flask_cors.cross_origin()
def get_glossis_data():
"""
Get GLOSSIS data. Either currents, wind, or waterlevel dataset must be provided.
If waterlevel dataset is requested, must specify if band water_level_surge, water_level,
or astronomical_tide is requested
:return:
"""
r = request.get_json()
dataset = r.get("dataset", None)
image_id = r.get("imageId", None)
band = r.get("band", None)
function = r.get("function", None)
start_date = r.get("startDate", None)
end_date = r.get("endDate", None)
image_num_limit = r.get("limit", None)
min = r.get("min", None)
max = r.get("max", None)
if not (dataset or image_id):
msg = f"dataset or imageId required."
logger.error(msg)
raise error_handler.InvalidUsage(msg)
if dataset:
source = "projects/dgds-gee/glossis/" + dataset
if image_id:
image_location_parameters = image_id.split("/")
source = ("/").join(image_location_parameters[:-1])
image_info = dgds_functions.get_dgds_data(
source=source,
dataset=dataset,
image_id=image_id,
band=band,
function=function,
start_date=start_date,
end_date=end_date,
image_num_limit=image_num_limit,
min=min,
max=max,
)
if not image_info:
raise error_handler.InvalidUsage("No images returned.")
return Response(json.dumps(image_info), status=200, mimetype="application/json")
@v1.route("/get_gloffis_data", methods=["POST"])
@flask_cors.cross_origin()
def get_gloffis_data():
"""
Get GLOFFIS data. dataset must be provided.
:return:
"""
r = request.get_json()
dataset = r.get("dataset", None)
band = r["band"]
image_id = r.get("imageId", None)
function = r.get("function", None)
start_date = r.get("startDate", None)
end_date = r.get("endDate", None)
image_num_limit = r.get("limit", None)
min = r.get("min", None)
max = r.get("max", None)
source = None
if not (dataset or image_id):
msg = f"dataset or imageId required."
logger.error(msg)
raise error_handler.InvalidUsage(msg)
if dataset:
source = "projects/dgds-gee/gloffis/" + dataset
if image_id:
image_location_parameters = image_id.split("/")
source = ("/").join(image_location_parameters[:-1])
image_info = dgds_functions.get_dgds_data(
source=source,
dataset=dataset,
image_id=image_id,
band=band,
function=function,
start_date=start_date,
end_date=end_date,
image_num_limit=image_num_limit,
min=min,
max=max,
)
if not image_info:
raise error_handler.InvalidUsage("No images returned.")
return Response(json.dumps(image_info), status=200, mimetype="application/json")
@v1.route("/get_metocean_data", methods=["POST"])
@flask_cors.cross_origin()
def get_metocean_data():
"""
Get metocean data. dataset must be provided.
:return:
"""
r = request.get_json()
dataset = r.get("dataset", None)
band = r["band"]
image_id = r.get("imageId", None)
function = r.get("function", None)
start_date = r.get("startDate", None)
end_date = r.get("endDate", None)
image_num_limit = r.get("limit", None)
min = r.get("min", None)
max = r.get("max", None)
if not (dataset or image_id):
msg = f"dataset or imageId required."
logger.error(msg)
raise error_handler.InvalidUsage(msg)
if dataset:
source = "projects/dgds-gee/metocean/waves/" + dataset
if image_id:
source = image_id
image_info = dgds_functions.get_dgds_data(
source=source,
dataset=dataset,
image_id=image_id,
band=band,
function=function,
start_date=start_date,
end_date=end_date,
image_num_limit=image_num_limit,
min=min,
max=max,
)
if not image_info:
raise error_handler.InvalidUsage("No images returned.")
return Response(json.dumps(image_info), status=200, mimetype="application/json")
@v1.route("/get_gebco_data", methods=["GET", "POST"])
@flask_cors.cross_origin()
def get_gebco_data():
r = request.get_json()
dataset = r.get("dataset", "gebco")
band = r.get("band", "elevation")
image_id = r.get("imageId", None)
start_date = r.get("startDate", None)
end_date = r.get("endDate", None)
image_num_limit = r.get("limit", None)
min = r.get("min", None)
max = r.get("max", None)
if dataset:
source = "projects/dgds-gee/bathymetry/" + dataset + "/2019"
if image_id:
source = image_id
image_info = dgds_functions.get_dgds_data(
source=source,
dataset=dataset,
image_id=image_id,
band=band,
start_date=start_date,
end_date=end_date,
image_num_limit=image_num_limit,
min=min,
max=max,
)
if not image_info:
raise error_handler.InvalidUsage("No images returned.")
return Response(json.dumps(image_info), status=200, mimetype="application/json")
@v1.route("/get_gll_dtm_data", methods=["GET", "POST"])
@flask_cors.cross_origin()
def get_gll_dtm_data():
r = request.get_json()
band = r.get("band", "elevation")
imageid = "users/maartenpronk/gll_dtm/gll_dtm_v1"
image_info = dgds_functions.get_dgds_data(
source=None,
image_id=imageid,
band=band,
)
if not image_info:
raise error_handler.InvalidUsage("No images returned.")
return Response(json.dumps(image_info), status=200, mimetype="application/json")
@v1.route("/get_stac_item", methods=["GET", "POST"])
@flask_cors.cross_origin()
def get_stac_item():
# Parse both GET keyword arguments as POST json data
r = {}
r.update(request.args)
postdata = request.get_json()
if postdata:
r.update(postdata)
wms = dgds_functions._get_wms_url(**r)
return wms
@v1.route("/get_elevation_data", methods=["GET", "POST"])
@flask_cors.cross_origin()
def get_elevation_data():
r = request.get_json()
datasets = r.get("datasets", None)
image_id = r.get("imageId", None)
source = None
if datasets:
source = datasets
if image_id:
source = image_id
min = r.get("min", None)
max = r.get("max", None)
image_info = dgds_functions.generate_elevation_map(
dataset_list=source, min=min, max=max
)
return Response(json.dumps(image_info), status=200, mimetype="application/json")
@v1.route("/get_chasm_data", methods=["POST"])
@flask_cors.cross_origin()
def get_chasm_data():
"""
Get metocean data. dataset must be provided.
:return:
"""
r = request.get_json()
dataset = r.get("dataset", None)
band = r["band"]
image_id = r.get("imageId", None)
function = r.get("function", None)
start_date = r.get("startDate", None)
end_date = r.get("endDate", None)
image_num_limit = r.get("limit", None)
min = r.get("min", None)
max = r.get("max", None)
source = None
# Can provide either dataset and/or image_id
if not (dataset or image_id):
msg = f"dataset or imageId required."
logger.error(msg)
raise error_handler.InvalidUsage(msg)
if dataset:
source = "projects/dgds-gee/chasm/" + dataset
elif image_id:
image_location_parameters = image_id.split("/")
source = ("/").join(image_location_parameters[:-1])
image_info = dgds_functions.get_dgds_data(
source=source,
dataset=dataset,
image_id=image_id,
band=band,
function=function,
start_date=start_date,
end_date=end_date,
image_num_limit=image_num_limit,
min=min,
max=max,
)
if not image_info:
raise error_handler.InvalidUsage("No images returned.")
return Response(json.dumps(image_info), status=200, mimetype="application/json")
@v1.route("/get_gtsm_data", methods=["POST"])
@flask_cors.cross_origin()
def get_gtsm_data():
"""
Get GTSM data. Either waterlevel_return_period, or tidal_indicators dataset must be provided.
See datasets_visualization_parameters.json for possible bands to request as band
:return:
"""
r = request.get_json()
dataset = r.get("dataset", None)
image_id = r.get("imageId", None)
band = r.get("band", None)
function = r.get("function", None)
start_date = r.get("startDate", None)
end_date = r.get("endDate", None)
image_num_limit = r.get("limit", None)
min = r.get("min", None)
max = r.get("max", None)
if not band:
msg = f"band is a required parameter"
logger.error(msg)
raise error_handler.InvalidUsage(msg)
if dataset:
source = "projects/dgds-gee/gtsm/" + dataset
elif image_id:
source = image_id
else:
msg = f"dataset or image_id is a required parameter"
logger.error(msg)
raise error_handler.InvalidUsage(msg)
image_info = dgds_functions.get_dgds_data(
source=source,
dataset=dataset,
image_id=image_id,
band=band,
function=function,
start_date=start_date,
end_date=end_date,
image_num_limit=image_num_limit,
min=min,
max=max,
)
if not image_info:
raise error_handler.InvalidUsage("No images returned.")
return Response(json.dumps(image_info), status=200, mimetype="application/json")
@v1.route("/get_crucial_data", methods=["POST"])
@flask_cors.cross_origin()
def get_crucial_data():
"""
Get Crucial data. Either groundwater_declining_trend, or evaporation_deficit dataset must be provided.
See datasets_visualization_parameters.json for possible bands to request as band
:return:
"""
r = request.get_json()
dataset = r.get("dataset", None)
image_id = r.get("imageId", None)
band = r.get("band", None)
function = r.get("function", None)
start_date = r.get("startDate", None)
end_date = r.get("endDate", None)
image_num_limit = r.get("limit", None)
min = r.get("min", None)
max = r.get("max", None)
if not band:
msg = f"band is a required parameter"
logger.error(msg)
raise error_handler.InvalidUsage(msg)
if dataset:
source = "projects/dgds-gee/crucial/" + dataset
elif image_id:
source = image_id
else:
msg = f"dataset or image_id is a required parameter"
logger.error(msg)
raise error_handler.InvalidUsage(msg)
image_info = dgds_functions.get_dgds_data(
source=source,
dataset=dataset,
image_id=image_id,
band=band,
function=function,
start_date=start_date,
end_date=end_date,
image_num_limit=image_num_limit,
min=min,
max=max,
)
if not image_info:
raise error_handler.InvalidUsage("No images returned.")
return Response(json.dumps(image_info), status=200, mimetype="application/json")
@v1.route("/get_msfd_data", methods=["POST"])
@flask_cors.cross_origin()
def get_msfd_data():
"""
Get Crucial data. Either groundwater_declining_trend, or evaporation_deficit dataset must be provided.
See datasets_visualization_parameters.json for possible bands to request as band
:return:
"""
r = request.get_json()
dataset = r.get("dataset", None)
image_id = r.get("imageId", None)
band = r.get("band", None)
function = r.get("function", None)
start_date = r.get("startDate", None)
end_date = r.get("endDate", None)
image_num_limit = r.get("limit", None)
min = r.get("min", None)
max = r.get("max", None)
if not band:
msg = f"band is a required parameter"
logger.error(msg)
raise error_handler.InvalidUsage(msg)
if dataset:
source = "projects/dgds-gee/msfd/" + dataset
elif image_id:
source = image_id
else:
msg = f"dataset or image_id is a required parameter"
logger.error(msg)
raise error_handler.InvalidUsage(msg)
image_info = dgds_functions.get_dgds_data(
source=source,
dataset=dataset,
image_id=image_id,
band=band,
function=function,
start_date=start_date,
end_date=end_date,
image_num_limit=image_num_limit,
min=min,
max=max,
)
if not image_info:
raise error_handler.InvalidUsage("No images returned.")
return Response(json.dumps(image_info), status=200, mimetype="application/json")
| 28.772627 | 106 | 0.640709 | 1,734 | 13,034 | 4.607843 | 0.080738 | 0.036546 | 0.039049 | 0.068961 | 0.860951 | 0.850438 | 0.841927 | 0.838673 | 0.829662 | 0.788736 | 0 | 0.005329 | 0.236919 | 13,034 | 452 | 107 | 28.836283 | 0.798009 | 0.079638 | 0 | 0.809117 | 0 | 0 | 0.137235 | 0.02086 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031339 | false | 0 | 0.022792 | 0 | 0.08547 | 0.008547 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
63dd3edb0e1240cb205191f56ea88aea7f07b6c4 | 1,759 | py | Python | ansible/avd-evpn-l3ls-1/post_validation/translate/ansible_avd/topology/test/yaml_to_yaml.py | ankudinov/netdevops-examples | 48e834d7f64e26fa4624e0eb8b09f01018475416 | [
"Apache-2.0"
] | null | null | null | ansible/avd-evpn-l3ls-1/post_validation/translate/ansible_avd/topology/test/yaml_to_yaml.py | ankudinov/netdevops-examples | 48e834d7f64e26fa4624e0eb8b09f01018475416 | [
"Apache-2.0"
] | null | null | null | ansible/avd-evpn-l3ls-1/post_validation/translate/ansible_avd/topology/test/yaml_to_yaml.py | ankudinov/netdevops-examples | 48e834d7f64e26fa4624e0eb8b09f01018475416 | [
"Apache-2.0"
] | null | null | null | from translate.tools import *
def dut_lldp(src_filename, dst_filename):
# translate test data from YAML with show commands into test topology YAML
dut_show_data = load_yaml(src_filename)
topology_dict = dict()
for hostname, details in dut_show_data['duts'].items():
for peer in details['show lldp neighbors']['lldpNeighbors']:
new_peer_entry = {
peer['port']: {
'neighbor_port_name': peer['neighborPort'],
'neighbor_hostname': peer['neighborDevice']
}
}
if hostname in topology_dict.keys():
topology_dict[hostname].update(new_peer_entry)
else:
topology_dict.update({hostname: new_peer_entry})
write_yaml(dst_filename, topology_dict)
def dut_lldp_no_localhost(src_filename, dst_filename):
# translate test data from YAML with show commands into test topology YAML
dut_show_data = load_yaml(src_filename)
topology_dict = dict()
for hostname, details in dut_show_data['duts'].items():
for peer in details['show lldp neighbors']['lldpNeighbors']:
if 'localhost' not in peer['neighborDevice']: # just for demo, find better way in prod
new_peer_entry = {
peer['port']: {
'neighbor_port_name': peer['neighborPort'],
'neighbor_hostname': peer['neighborDevice']
}
}
if hostname in topology_dict.keys():
topology_dict[hostname].update(new_peer_entry)
else:
topology_dict.update({hostname: new_peer_entry})
write_yaml(dst_filename, topology_dict)
| 37.425532 | 99 | 0.598636 | 194 | 1,759 | 5.159794 | 0.257732 | 0.11988 | 0.071928 | 0.043956 | 0.881119 | 0.881119 | 0.881119 | 0.881119 | 0.881119 | 0.881119 | 0 | 0 | 0.312109 | 1,759 | 46 | 100 | 38.23913 | 0.827273 | 0.104605 | 0 | 0.764706 | 0 | 0 | 0.143221 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.029412 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1265dccbafa5983e99852e1ea36c9a45302eadda | 1,395 | py | Python | tests/test_stanzas.py | nicfit/vexmpp | e67070d2822da8356345976fb15d365935b550a6 | [
"MIT"
] | null | null | null | tests/test_stanzas.py | nicfit/vexmpp | e67070d2822da8356345976fb15d365935b550a6 | [
"MIT"
] | 349 | 2017-02-18T22:48:17.000Z | 2021-12-13T19:50:23.000Z | tests/test_stanzas.py | nicfit/vexmpp | e67070d2822da8356345976fb15d365935b550a6 | [
"MIT"
] | null | null | null | from vexmpp.stanzas import *
def testPresenceOrdering():
assert Presence(priority=5) < Presence(priority=10)
assert Presence(priority=0) < Presence(priority=1)
assert Presence(priority=-1) < Presence(priority=0)
assert Presence(priority=-127) < Presence(priority=126)
assert Presence(priority=5,
show=Presence.SHOW_CHAT) < Presence(priority=10)
assert Presence(priority=10,
show=Presence.SHOW_CHAT) > Presence(priority=10,
show=Presence.SHOW_AWAY)
assert Presence(priority=10, show=Presence.SHOW_CHAT) >\
Presence(priority=10, show=None)
assert Presence(priority=10, show=None) >\
Presence(priority=10, show=Presence.SHOW_AWAY)
assert Presence(priority=10, show=Presence.SHOW_AWAY) >\
Presence(priority=10, show=Presence.SHOW_XA)
assert Presence(priority=10, show=Presence.SHOW_XA) >\
Presence(priority=10, show=Presence.SHOW_DND)
assert not (Presence(priority=5) < Presence(priority=5))
assert not (Presence(priority=5) > Presence(priority=5))
assert not (Presence(priority=10, show=Presence.SHOW_CHAT) <
Presence(priority=10, show=Presence.SHOW_CHAT))
assert not (Presence(priority=10, show=Presence.SHOW_CHAT) >
Presence(priority=10, show=Presence.SHOW_CHAT))
| 46.5 | 80 | 0.660932 | 164 | 1,395 | 5.542683 | 0.134146 | 0.492849 | 0.316832 | 0.338834 | 0.80198 | 0.743674 | 0.662266 | 0.530253 | 0.530253 | 0.530253 | 0 | 0.044362 | 0.224373 | 1,395 | 29 | 81 | 48.103448 | 0.795749 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.56 | 1 | 0.04 | true | 0 | 0.04 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c3bd530669681b8b143a29b2de835ab2ea083214 | 7,561 | py | Python | great_international/migrations/0111_opp_page_remove_streamfield_images_and_replace_with_fixed.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2018-03-20T11:19:07.000Z | 2021-10-05T07:53:11.000Z | great_international/migrations/0111_opp_page_remove_streamfield_images_and_replace_with_fixed.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 802 | 2018-02-05T14:16:13.000Z | 2022-02-10T10:59:21.000Z | great_international/migrations/0111_opp_page_remove_streamfield_images_and_replace_with_fixed.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2019-01-22T13:19:37.000Z | 2019-07-01T10:35:26.000Z | # Generated by Django 2.2.24 on 2021-09-10 12:08
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('wagtailimages', '0022_uploadedimage'),
('great_international', '0110_auto_20210909_1658'),
]
operations = [
migrations.RemoveField(
model_name='investmentopportunitypage',
name='featured_images',
),
migrations.RemoveField(
model_name='investmentopportunitypage',
name='featured_images_ar',
),
migrations.RemoveField(
model_name='investmentopportunitypage',
name='featured_images_de',
),
migrations.RemoveField(
model_name='investmentopportunitypage',
name='featured_images_en_gb',
),
migrations.RemoveField(
model_name='investmentopportunitypage',
name='featured_images_es',
),
migrations.RemoveField(
model_name='investmentopportunitypage',
name='featured_images_fr',
),
migrations.RemoveField(
model_name='investmentopportunitypage',
name='featured_images_ja',
),
migrations.RemoveField(
model_name='investmentopportunitypage',
name='featured_images_pt',
),
migrations.RemoveField(
model_name='investmentopportunitypage',
name='featured_images_zh_hans',
),
migrations.AddField(
model_name='investmentopportunitypage',
name='hero_image',
field=models.ForeignKey(blank=True, help_text='Main page hero image, above the opportunity title', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='hero_image_ar',
field=models.ForeignKey(blank=True, help_text='Main page hero image, above the opportunity title', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='hero_image_de',
field=models.ForeignKey(blank=True, help_text='Main page hero image, above the opportunity title', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='hero_image_en_gb',
field=models.ForeignKey(blank=True, help_text='Main page hero image, above the opportunity title', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='hero_image_es',
field=models.ForeignKey(blank=True, help_text='Main page hero image, above the opportunity title', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='hero_image_fr',
field=models.ForeignKey(blank=True, help_text='Main page hero image, above the opportunity title', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='hero_image_ja',
field=models.ForeignKey(blank=True, help_text='Main page hero image, above the opportunity title', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='hero_image_pt',
field=models.ForeignKey(blank=True, help_text='Main page hero image, above the opportunity title', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='hero_image_zh_hans',
field=models.ForeignKey(blank=True, help_text='Main page hero image, above the opportunity title', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='intro_image',
field=models.ForeignKey(blank=True, help_text='Goes beside the opportunity intro text', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='intro_image_ar',
field=models.ForeignKey(blank=True, help_text='Goes beside the opportunity intro text', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='intro_image_de',
field=models.ForeignKey(blank=True, help_text='Goes beside the opportunity intro text', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='intro_image_en_gb',
field=models.ForeignKey(blank=True, help_text='Goes beside the opportunity intro text', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='intro_image_es',
field=models.ForeignKey(blank=True, help_text='Goes beside the opportunity intro text', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='intro_image_fr',
field=models.ForeignKey(blank=True, help_text='Goes beside the opportunity intro text', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='intro_image_ja',
field=models.ForeignKey(blank=True, help_text='Goes beside the opportunity intro text', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='intro_image_pt',
field=models.ForeignKey(blank=True, help_text='Goes beside the opportunity intro text', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
migrations.AddField(
model_name='investmentopportunitypage',
name='intro_image_zh_hans',
field=models.ForeignKey(blank=True, help_text='Goes beside the opportunity intro text', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
]
| 53.246479 | 212 | 0.66142 | 806 | 7,561 | 6.004963 | 0.085608 | 0.050207 | 0.189669 | 0.211983 | 0.95 | 0.95 | 0.95 | 0.95 | 0.800826 | 0.795868 | 0 | 0.006128 | 0.222986 | 7,561 | 141 | 213 | 53.624113 | 0.817702 | 0.006084 | 0 | 0.733333 | 1 | 0 | 0.3076 | 0.098762 | 0.133333 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014815 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c3d2560a0a34b3bdad69ca64ad2fe97156f6fa02 | 39 | py | Python | gbp/__init__.py | joeaortiz/gbp | 5670a498950bfa948da502b2381899ab46f61021 | [
"MIT"
] | 50 | 2020-03-10T08:49:45.000Z | 2022-03-24T01:50:24.000Z | gbp/__init__.py | joeaortiz/gbp | 5670a498950bfa948da502b2381899ab46f61021 | [
"MIT"
] | 1 | 2022-03-21T02:36:36.000Z | 2022-03-21T03:03:38.000Z | gbp/__init__.py | joeaortiz/gbp | 5670a498950bfa948da502b2381899ab46f61021 | [
"MIT"
] | 11 | 2020-04-24T16:29:48.000Z | 2022-03-09T07:39:30.000Z | from . import gbp
from . import gbp_ba
| 13 | 20 | 0.74359 | 7 | 39 | 4 | 0.571429 | 0.714286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 2 | 21 | 19.5 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
c3dc5bafa64e09fd1b6525756e4a3117644849c7 | 493,644 | py | Python | google/cloud/security/iam/explain/importer/roles.py | joshiumang107/forseti-security | c088e677426ec60daae0e44a5d1acbb337386ddb | [
"Apache-2.0"
] | null | null | null | google/cloud/security/iam/explain/importer/roles.py | joshiumang107/forseti-security | c088e677426ec60daae0e44a5d1acbb337386ddb | [
"Apache-2.0"
] | null | null | null | google/cloud/security/iam/explain/importer/roles.py | joshiumang107/forseti-security | c088e677426ec60daae0e44a5d1acbb337386ddb | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 The Forseti Security Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
""" Curated role definitions. """
# pylint: disable=line-too-long,too-many-lines
CURATED_ROLES_CSV = """Role,Permission,Role-Visible,Permission-Visible,Role-Service,Permission-Service
appengine.appAdmin,appengine.operations.delete,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,resourcemanager.projects.list,True,True,appengine.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.runtimes.actAsAdmin,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,resourcemanager.projects.get,True,True,appengine.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.operations.cancel,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.services.delete,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.versions.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.services.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.instances.update,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.operations.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.services.update,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.versions.create,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.instances.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.instances.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.versions.delete,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.versions.update,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.applications.update,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.applications.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.applications.disable,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.operations.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.services.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.versions.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appAdmin,appengine.instances.delete,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appViewer,resourcemanager.projects.list,True,True,appengine.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
appengine.appViewer,resourcemanager.projects.get,True,True,appengine.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
appengine.appViewer,appengine.versions.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appViewer,appengine.services.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appViewer,appengine.operations.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appViewer,appengine.instances.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appViewer,appengine.instances.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appViewer,appengine.applications.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appViewer,appengine.operations.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appViewer,appengine.services.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.appViewer,appengine.versions.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.codeViewer,resourcemanager.projects.list,True,True,appengine.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
appengine.codeViewer,appengine.versions.getFileContents,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.codeViewer,resourcemanager.projects.get,True,True,appengine.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
appengine.codeViewer,appengine.versions.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.codeViewer,appengine.services.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.codeViewer,appengine.operations.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.codeViewer,appengine.instances.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.codeViewer,appengine.instances.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.codeViewer,appengine.applications.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.codeViewer,appengine.operations.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.codeViewer,appengine.services.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.codeViewer,appengine.versions.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,resourcemanager.projects.list,True,True,appengine.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
appengine.deployer,resourcemanager.projects.get,True,True,appengine.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.versions.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.services.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.operations.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.versions.create,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.instances.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.instances.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.versions.delete,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.services.create,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.applications.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.operations.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.services.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.deployer,appengine.versions.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,resourcemanager.projects.list,True,True,appengine.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,resourcemanager.projects.get,True,True,appengine.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.services.delete,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.versions.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.services.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.operations.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.services.update,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.instances.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.instances.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.versions.delete,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.versions.update,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.applications.get,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.operations.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.services.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.versions.list,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
appengine.serviceAdmin,appengine.instances.delete,True,True,appengine.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.datasets.create,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.savedqueries.delete,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,resourcemanager.projects.list,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.tables.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,resourcemanager.projects.get,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.tables.delete,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.tables.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.tables.getData,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.tables.create,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.tables.update,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.savedqueries.update,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.transfers.update,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.jobs.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.datasets.update,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.datasets.delete,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.datasets.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.datasets.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.jobs.create,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.tables.export,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.config.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.tables.updateData,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.savedqueries.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.jobs.update,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.savedqueries.create,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.savedqueries.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.jobs.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.transfers.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.admin,bigquery.config.update,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,bigquery.datasets.create,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,resourcemanager.projects.list,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,bigquery.tables.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,resourcemanager.projects.get,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,bigquery.tables.delete,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,bigquery.tables.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,bigquery.tables.getData,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,bigquery.tables.create,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,bigquery.tables.update,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,bigquery.datasets.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,bigquery.datasets.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,bigquery.tables.export,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataEditor,bigquery.tables.updateData,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.datasets.create,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,resourcemanager.projects.list,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.tables.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,resourcemanager.projects.get,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.tables.delete,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.tables.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.tables.getData,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.tables.create,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.tables.update,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.datasets.update,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.datasets.delete,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.datasets.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.datasets.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.tables.export,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataOwner,bigquery.tables.updateData,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataViewer,resourcemanager.projects.list,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.dataViewer,bigquery.tables.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataViewer,resourcemanager.projects.get,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.dataViewer,bigquery.tables.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataViewer,bigquery.tables.getData,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataViewer,bigquery.datasets.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataViewer,bigquery.datasets.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.dataViewer,bigquery.tables.export,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.jobUser,resourcemanager.projects.list,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.jobUser,resourcemanager.projects.get,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.jobUser,bigquery.jobs.create,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.tables.list,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.tables.get,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.tables.getData,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.tables.create,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.tables.update,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.jobs.get,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.datasets.list,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.datasets.get,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.tables.export,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.config.get,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.service.actAsSuperuser,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.jobs.update,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.jobs.list,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.superuser,bigquery.config.update,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
bigquery.user,bigquery.datasets.create,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.user,resourcemanager.projects.list,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.user,bigquery.tables.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.user,resourcemanager.projects.get,True,True,bigquery.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
bigquery.user,bigquery.datasets.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.user,bigquery.datasets.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.user,bigquery.jobs.create,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.user,bigquery.config.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.user,bigquery.savedqueries.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.user,bigquery.savedqueries.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.user,bigquery.jobs.list,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
bigquery.user,bigquery.transfers.get,True,True,bigquery.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
billing.accountReader,billing.accounts.get,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.getBillingDetails,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.removeFromOrganization,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.getSpendingInformation,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.updatePaymentInfo,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.subscriptions.create,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.update,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.subscriptions.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.getUsageExportSpec,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.close,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.subscriptions.update,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.getPaymentInfo,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,logging.privateLogEntries.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
billing.admin,billing.subscriptions.get,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.redeemPromotion,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.get,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,resourcemanager.projects.createBillingAssignment,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
billing.admin,billing.budgets.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,logging.logEntries.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
billing.admin,logging.logServiceIndexes.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
billing.admin,billing.budgets.delete,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.setIamPolicy,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.budgets.get,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.manageApproverInvitations,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.reopen,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.updateUsageExportSpec,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.resourceAssociations.create,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.getIamPolicy,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,logging.logs.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
billing.admin,cloudnotifications.activities.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudnotifications.googleapis.com (BETA - INTERNAL)
billing.admin,billing.accounts.move,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.credits.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,resourcemanager.projects.deleteBillingAssignment,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
billing.admin,logging.logServices.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
billing.admin,billing.budgets.update,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.resourceAssociations.delete,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.manageInvitations,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.resourceAssociations.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.budgets.create,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.admin,billing.accounts.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.creator,resourcemanager.organizations.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
billing.creator,billing.accounts.create,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.creditGrantor,billing.accounts.get,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.creditGrantor,billing.credits.list,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.googleAdminBillingReader,billing.accounts.getSpendingInformation,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.googleAdminBillingReader,billing.accounts.getUsageExportSpec,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.googleAdminBillingReader,billing.accounts.getPaymentInfo,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.googleAdminBillingReader,billing.accounts.get,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.googleAdminBillingReader,billing.accounts.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.googleAdminBillingReader,billing.accounts.list,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.projectAccountManager,resourcemanager.projects.createBillingAssignment,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
billing.projectAccountManager,resourcemanager.projects.deleteBillingAssignment,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
billing.projectBillingInfoReader,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
billing.projectManager,resourcemanager.projects.createBillingAssignment,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
billing.projectManager,resourcemanager.projects.deleteBillingAssignment,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
billing.readOnlySubscriptionsSuperuser,billing.subscriptions.list,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readOnlySubscriptionsSuperuser,billing.subscriptions.get,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readOnlySuperuser,billing.accounts.getBillingDetails,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readOnlySuperuser,billing.accounts.getSpendingInformation,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readOnlySuperuser,billing.accounts.getUsageExportSpec,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readOnlySuperuser,billing.accounts.getPaymentInfo,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readOnlySuperuser,billing.accounts.get,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readOnlySuperuser,billing.accounts.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readOnlySuperuser,billing.resourceAssociations.list,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readOnlySuperuser,billing.accounts.list,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteBudgetsSuperuser,billing.budgets.list,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteBudgetsSuperuser,billing.budgets.delete,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteBudgetsSuperuser,billing.budgets.get,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteBudgetsSuperuser,billing.budgets.update,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteBudgetsSuperuser,billing.budgets.create,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSubscriptionsSuperuser,billing.subscriptions.create,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSubscriptionsSuperuser,billing.subscriptions.list,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSubscriptionsSuperuser,billing.subscriptions.update,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSubscriptionsSuperuser,billing.subscriptions.get,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.getBillingDetails,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.removeFromOrganization,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.getSpendingInformation,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.updatePaymentInfo,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.update,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.getUsageExportSpec,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.close,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.getPaymentInfo,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.redeemPromotion,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.get,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,resourcemanager.projects.createBillingAssignment,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.create,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.setIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.manageApproverInvitations,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.reopen,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.updateUsageExportSpec,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.move,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,resourcemanager.projects.deleteBillingAssignment,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.manageInvitations,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.readWriteSuperuser,billing.accounts.list,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
billing.user,billing.accounts.redeemPromotion,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.user,billing.accounts.get,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.user,billing.accounts.manageApproverInvitations,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.user,billing.resourceAssociations.create,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.user,billing.accounts.getIamPolicy,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.user,billing.credits.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.user,billing.accounts.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.accounts.getSpendingInformation,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.subscriptions.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.accounts.getUsageExportSpec,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.accounts.getPaymentInfo,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.subscriptions.get,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.accounts.get,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.budgets.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.budgets.get,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.accounts.getIamPolicy,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.credits.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.resourceAssociations.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
billing.viewer,billing.accounts.list,True,True,cloudbilling.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
browser,resourcemanager.projects.list,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
browser,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
browser,resourcemanager.organizations.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
browser,resourcemanager.folders.list,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
browser,resourcemanager.projectInvites.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
browser,resourcemanager.projects.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
browser,resourcemanager.folders.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
clientauthconfig.brandsReader,clientauthconfig.brands.get,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.brandsReader,clientauthconfig.brands.list,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.clientReviewer,clientauthconfig.brands.get,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.clientReviewer,clientauthconfig.clients.update,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.clientReviewer,clientauthconfig.clients.list,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.clientReviewer,clientauthconfig.brands.list,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.clientReviewer,clientauthconfig.clients.get,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserReaderWithSecrets,clientauthconfig.clients.listWithSecrets,True,True,clientauthconfig.googleapis.com (BETA - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserReaderWithSecrets,clientauthconfig.brands.get,True,True,clientauthconfig.googleapis.com (BETA - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserReaderWithSecrets,clientauthconfig.clients.list,True,True,clientauthconfig.googleapis.com (BETA - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserReaderWithSecrets,clientauthconfig.brands.list,True,True,clientauthconfig.googleapis.com (BETA - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserReaderWithSecrets,clientauthconfig.clients.getWithSecret,True,True,clientauthconfig.googleapis.com (BETA - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserReaderWithSecrets,clientauthconfig.clients.get,True,True,clientauthconfig.googleapis.com (BETA - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserReaderWithoutSecrets,clientauthconfig.brands.get,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserReaderWithoutSecrets,clientauthconfig.clients.list,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserReaderWithoutSecrets,clientauthconfig.brands.list,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserReaderWithoutSecrets,clientauthconfig.clients.get,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.clients.listWithSecrets,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.brands.get,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.clients.undelete,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.clients.update,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.brands.delete,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.brands.update,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.clients.delete,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.clients.list,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.brands.create,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.clients.create,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.brands.list,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.clients.getWithSecret,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.clients.get,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
clientauthconfig.superuserWriter,clientauthconfig.clients.createSecret,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
cloudbuild.builds.builder,resourcemanager.projects.list,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,resourcemanager.projects.get,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,cloudbuild.builds.list,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudbuild.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,storage.objects.get,True,True,cloudbuild.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,storage.objects.update,True,True,cloudbuild.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,pubsub.topics.publish,True,True,cloudbuild.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,logging.logEntries.create,True,True,cloudbuild.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,storage.buckets.list,True,True,cloudbuild.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,cloudbuild.builds.update,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudbuild.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,source.repos.get,True,True,cloudbuild.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,cloudbuild.builds.get,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudbuild.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,storage.objects.delete,True,True,cloudbuild.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,storage.buckets.get,True,True,cloudbuild.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,pubsub.topics.create,True,True,cloudbuild.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,storage.buckets.create,True,True,cloudbuild.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,cloudbuild.builds.create,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudbuild.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,source.repos.list,True,True,cloudbuild.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,storage.objects.create,True,True,cloudbuild.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
cloudbuild.builds.builder,storage.objects.list,True,True,cloudbuild.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
cloudbuild.builds.editor,resourcemanager.projects.list,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudbuild.builds.editor,resourcemanager.projects.get,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudbuild.builds.editor,cloudbuild.builds.list,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudbuild.googleapis.com (GA - PUBLIC)
cloudbuild.builds.editor,cloudbuild.builds.update,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudbuild.googleapis.com (GA - PUBLIC)
cloudbuild.builds.editor,cloudbuild.builds.get,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudbuild.googleapis.com (GA - PUBLIC)
cloudbuild.builds.editor,cloudbuild.builds.create,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudbuild.googleapis.com (GA - PUBLIC)
cloudbuild.builds.viewer,resourcemanager.projects.list,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudbuild.builds.viewer,resourcemanager.projects.get,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudbuild.builds.viewer,cloudbuild.builds.list,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudbuild.googleapis.com (GA - PUBLIC)
cloudbuild.builds.viewer,cloudbuild.builds.get,True,True,cloudbuild.googleapis.com (GA - PUBLIC),cloudbuild.googleapis.com (GA - PUBLIC)
clouddebugger.agent,clouddebugger.debuggees.create,True,True,clouddebugger.googleapis.com (BETA - PUBLIC),clouddebugger.googleapis.com (BETA - PUBLIC)
clouddebugger.agent,clouddebugger.breakpoints.listActive,True,True,clouddebugger.googleapis.com (BETA - PUBLIC),clouddebugger.googleapis.com (BETA - PUBLIC)
clouddebugger.agent,clouddebugger.breakpoints.update,True,True,clouddebugger.googleapis.com (BETA - PUBLIC),clouddebugger.googleapis.com (BETA - PUBLIC)
clouddebugger.agent,clouddebugger.breakpoints.list,True,True,clouddebugger.googleapis.com (BETA - PUBLIC),clouddebugger.googleapis.com (BETA - PUBLIC)
clouddebugger.user,clouddebugger.debuggees.list,True,True,clouddebugger.googleapis.com (BETA - PUBLIC),clouddebugger.googleapis.com (BETA - PUBLIC)
clouddebugger.user,clouddebugger.breakpoints.delete,True,True,clouddebugger.googleapis.com (BETA - PUBLIC),clouddebugger.googleapis.com (BETA - PUBLIC)
clouddebugger.user,clouddebugger.breakpoints.create,True,True,clouddebugger.googleapis.com (BETA - PUBLIC),clouddebugger.googleapis.com (BETA - PUBLIC)
clouddebugger.user,clouddebugger.breakpoints.get,True,True,clouddebugger.googleapis.com (BETA - PUBLIC),clouddebugger.googleapis.com (BETA - PUBLIC)
clouddebugger.user,clouddebugger.breakpoints.list,True,True,clouddebugger.googleapis.com (BETA - PUBLIC),clouddebugger.googleapis.com (BETA - PUBLIC)
cloudiot.admin,cloudiot.registries.delete,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.registries.getIamPolicy,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.registries.create,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.devices.create,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.devices.updateConfig,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.devices.list,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.devices.get,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.registries.list,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.devices.delete,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.registries.get,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.devices.update,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.registries.setIamPolicy,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.admin,cloudiot.registries.update,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.deviceController,cloudiot.devices.updateConfig,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.deviceController,cloudiot.devices.list,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.deviceController,cloudiot.devices.get,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.deviceController,cloudiot.registries.list,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.deviceController,cloudiot.registries.get,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.editor,cloudiot.registries.delete,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.editor,cloudiot.registries.create,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.editor,cloudiot.devices.create,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.editor,cloudiot.devices.updateConfig,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.editor,cloudiot.devices.list,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.editor,cloudiot.devices.get,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.editor,cloudiot.registries.list,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.editor,cloudiot.devices.delete,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.editor,cloudiot.registries.get,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.editor,cloudiot.devices.update,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.editor,cloudiot.registries.update,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.provisioner,cloudiot.devices.create,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.provisioner,cloudiot.devices.updateConfig,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.provisioner,cloudiot.devices.list,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.provisioner,cloudiot.devices.get,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.provisioner,cloudiot.registries.list,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.provisioner,cloudiot.devices.delete,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.provisioner,cloudiot.registries.get,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.provisioner,cloudiot.devices.update,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.viewer,cloudiot.devices.list,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.viewer,cloudiot.devices.get,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.viewer,cloudiot.registries.list,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudiot.viewer,cloudiot.registries.get,True,True,cloudiot.googleapis.com (BETA - INTERNAL),cloudiot.googleapis.com (BETA - INTERNAL)
cloudkms.admin,cloudkms.cryptoKeys.setIamPolicy,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.keyRings.getIamPolicy,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,resourcemanager.projects.get,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.keyRings.create,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeyVersions.getIamPolicy,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.keyRings.get,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeys.update,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.keyRings.list,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeyVersions.update,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeys.create,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeyVersions.setIamPolicy,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeys.getIamPolicy,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeyVersions.create,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.keyRings.update,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeys.list,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeyVersions.get,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeyVersions.list,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.keyRings.setIamPolicy,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeyVersions.destroy,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeyVersions.restore,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.admin,cloudkms.cryptoKeys.get,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.cryptoKeyDecrypter,cloudkms.cryptoKeyVersions.useToDecrypt,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.cryptoKeyDecrypter,resourcemanager.projects.get,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudkms.cryptoKeyEncrypter,resourcemanager.projects.get,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudkms.cryptoKeyEncrypter,cloudkms.cryptoKeyVersions.useToEncrypt,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.cryptoKeyEncrypterDecrypter,cloudkms.cryptoKeyVersions.useToDecrypt,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudkms.cryptoKeyEncrypterDecrypter,resourcemanager.projects.get,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudkms.cryptoKeyEncrypterDecrypter,cloudkms.cryptoKeyVersions.useToEncrypt,True,True,cloudkms.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.update,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.databases.delete,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.databases.getIamPolicy,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,resourcemanager.projects.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.sslCerts.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.resetSslConfig,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,resourcemanager.projects.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.backupRuns.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.startReplica,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.users.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.sslCerts.createEphemeral,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.backupRuns.delete,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.backupRuns.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.users.create,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.users.delete,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.getIamPolicy,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.databases.setIamPolicy,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.restoreBackup,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.databases.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.databases.update,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.clone,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,serviceusage.services.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
cloudsql.admin,cloudsql.instances.create,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.restart,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.sslCerts.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.databases.create,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.import,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,serviceusage.quotas.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
cloudsql.admin,cloudsql.instances.delete,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.failover,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.setIamPolicy,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.databases.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.truncateLog,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.sslCerts.delete,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.backupRuns.create,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.migrate,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.promoteReplica,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.sslCerts.create,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.export,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.instances.stopReplica,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.admin,cloudsql.users.update,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.client,cloudsql.instances.connect,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.client,cloudsql.instances.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.instances.update,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,resourcemanager.projects.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.sslCerts.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,resourcemanager.projects.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.backupRuns.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.users.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.instances.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.backupRuns.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.databases.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.databases.update,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,serviceusage.services.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
cloudsql.editor,cloudsql.instances.restart,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.sslCerts.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.databases.create,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,serviceusage.quotas.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
cloudsql.editor,cloudsql.instances.failover,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.databases.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.instances.truncateLog,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.backupRuns.create,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.instances.migrate,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.instances.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.editor,cloudsql.instances.export,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.viewer,resourcemanager.projects.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudsql.viewer,cloudsql.sslCerts.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.viewer,resourcemanager.projects.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudsql.viewer,cloudsql.backupRuns.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.viewer,cloudsql.users.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.viewer,cloudsql.instances.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.viewer,cloudsql.backupRuns.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.viewer,cloudsql.databases.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.viewer,serviceusage.services.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
cloudsql.viewer,cloudsql.sslCerts.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.viewer,serviceusage.quotas.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
cloudsql.viewer,cloudsql.databases.list,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.viewer,cloudsql.instances.get,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudsql.viewer,cloudsql.instances.export,True,True,cloudsql.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
cloudtrace.admin,resourcemanager.projects.list,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudtrace.admin,resourcemanager.projects.get,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudtrace.admin,cloudtrace.traces.patch,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.admin,cloudtrace.tasks.get,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.admin,cloudtrace.insights.get,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.admin,cloudtrace.tasks.list,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.admin,cloudtrace.stats.get,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.admin,cloudtrace.tasks.create,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.admin,cloudtrace.traces.get,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.admin,cloudtrace.insights.list,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.admin,cloudtrace.traces.list,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.admin,cloudtrace.tasks.delete,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.agent,cloudtrace.traces.patch,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.user,resourcemanager.projects.list,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudtrace.user,resourcemanager.projects.get,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
cloudtrace.user,cloudtrace.tasks.get,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.user,cloudtrace.insights.get,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.user,cloudtrace.tasks.list,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.user,cloudtrace.stats.get,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.user,cloudtrace.tasks.create,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.user,cloudtrace.traces.get,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.user,cloudtrace.insights.list,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.user,cloudtrace.traces.list,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
cloudtrace.user,cloudtrace.tasks.delete,True,True,cloudtrace.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
compute.imageUser,resourcemanager.projects.list,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.imageUser,resourcemanager.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.imageUser,compute.images.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.imageUser,compute.images.useReadOnly,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.imageUser,serviceusage.services.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.imageUser,compute.images.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.imageUser,serviceusage.quotas.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.imageUser,compute.images.getFromFamily,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.subnetworks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.addresses.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.diskTypes.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,resourcemanager.projects.list,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,resourcemanager.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.globalOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.machineTypes.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.disks.createSnapshot,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.licenses.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.licenses.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.networks.useExternalIp,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.networks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.images.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.images.useReadOnly,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.addresses.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.acceleratorTypes.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.subnetworks.useExternalIp,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.disks.delete,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.targetPools.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.zoneOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.regions.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.disks.setLabels,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.images.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.regionOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.disks.update,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.machineTypes.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.acceleratorTypes.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.subnetworks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.disks.resize,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.disks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.disks.useReadOnly,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.zones.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.images.getFromFamily,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.zoneOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.globalAddresses.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.disks.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.addresses.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.networks.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.globalAddresses.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.regions.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.disks.create,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.globalOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.disks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.diskTypes.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.globalAddresses.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.regionOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.networks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.targetPools.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.zones.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin,compute.subnetworks.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.subnetworks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.addresses.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetSslProxies.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.diskTypes.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.healthChecks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetInstances.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,resourcemanager.projects.list,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.backendBuckets.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.firewalls.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.routes.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.httpsHealthChecks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,resourcemanager.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.globalOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.machineTypes.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.routes.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.routers.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.interconnectAttachments.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.networks.useExternalIp,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.forwardingRules.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.networks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetVpnGateways.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.addresses.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.interconnectLocations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.acceleratorTypes.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.subnetworks.useExternalIp,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.interconnectLocations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetPools.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetSslProxies.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,serviceusage.services.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.instanceAdmin.v1,compute.zoneOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.globalForwardingRules.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.regions.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetHttpProxies.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.regionOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.httpHealthChecks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetInstances.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.healthChecks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.machineTypes.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.urlMaps.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetHttpsProxies.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.httpsHealthChecks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.acceleratorTypes.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.subnetworks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,serviceusage.quotas.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.instanceAdmin.v1,compute.firewalls.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.backendServices.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.globalForwardingRules.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.sslCertificates.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.zones.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetHttpProxies.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetHttpsProxies.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.zoneOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.routers.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.globalAddresses.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.addresses.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.networks.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.globalAddresses.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.regions.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.interconnectAttachments.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.vpnTunnels.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.backendBuckets.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.globalOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.sslPolicies.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.sslCertificates.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.forwardingRules.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.diskTypes.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.interconnects.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.globalAddresses.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.vpnTunnels.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.regionOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.urlMaps.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.sslPolicies.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.networks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.backendServices.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetVpnGateways.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.targetPools.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.interconnects.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.zones.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.projects.setCommonInstanceMetadata,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.subnetworks.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.instanceAdmin.v1,compute.httpHealthChecks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instanceTemplates.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.forwardingRules.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.subnetworks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.addresses.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetSslProxies.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.diskTypes.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instanceGroups.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.healthChecks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetInstances.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.backendBuckets.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.snapshots.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.autoscalers.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.firewalls.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetPools.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.routes.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.httpsHealthChecks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.healthChecks.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.routers.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.globalOperations.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetVpnGateways.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.machineTypes.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.routes.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.globalForwardingRules.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.sslPolicies.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instanceGroupManagers.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.routers.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.licenses.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.interconnectAttachments.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.licenses.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.forwardingRules.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.subnetworks.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.networks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instanceGroups.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.interconnectAttachments.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetVpnGateways.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.images.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.urlMaps.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.addresses.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.interconnectLocations.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.acceleratorTypes.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.interconnectLocations.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.disks.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetPools.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetInstances.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.images.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.snapshots.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetSslProxies.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instances.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.zoneOperations.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.vpnTunnels.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.globalForwardingRules.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.regions.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.backendServices.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.snapshots.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.images.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.projects.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetHttpProxies.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.regionOperations.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.httpHealthChecks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetInstances.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.healthChecks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetHttpProxies.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.machineTypes.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.urlMaps.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.httpsHealthChecks.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.routes.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetHttpsProxies.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.httpsHealthChecks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.acceleratorTypes.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.subnetworks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.firewalls.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.backendServices.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.globalForwardingRules.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.addresses.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.disks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.sslCertificates.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.zones.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetHttpProxies.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetHttpsProxies.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instances.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetHttpsProxies.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.zoneOperations.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instanceGroupManagers.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instanceTemplates.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.autoscalers.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.httpHealthChecks.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.routers.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instances.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.globalAddresses.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.regions.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.interconnects.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instanceGroupManagers.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.commitments.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.interconnectAttachments.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.vpnTunnels.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.backendBuckets.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.globalOperations.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instanceGroups.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.sslPolicies.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.sslCertificates.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.disks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.forwardingRules.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.diskTypes.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.regionOperations.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.interconnects.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.globalAddresses.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.vpnTunnels.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.globalOperations.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.regionOperations.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.urlMaps.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.autoscalers.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.sslPolicies.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.zoneOperations.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.networks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.backendServices.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.backendBuckets.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetVpnGateways.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.commitments.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.networks.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.instanceTemplates.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetPools.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.interconnects.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.zones.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.globalAddresses.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.targetSslProxies.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.firewalls.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.httpHealthChecks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalDeprovisioner,compute.sslCertificates.delete,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.internalInstanceViewer,compute.instances.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instanceGroups.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,resourcemanager.projects.list,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.firewalls.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,resourcemanager.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.globalOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instanceGroupManagers.update,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instances.listReferrers,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,serviceusage.services.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.networkAdmin,compute.instances.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instanceGroupManagers.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.zoneOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.regions.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.regionOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instances.getSerialPortOutput,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,serviceusage.quotas.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.networkAdmin,compute.instanceGroups.update,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.firewalls.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.sslCertificates.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.zones.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instances.getGuestAttributes,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.zoneOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instanceGroupManagers.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instances.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.regions.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instanceGroupManagers.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instances.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.globalOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instanceGroups.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.sslCertificates.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.regionOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.zones.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkAdmin,compute.instanceGroups.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.subnetworks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.addresses.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.interconnects.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.networks.listIpOwners,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,resourcemanager.projects.list,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.firewalls.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.routes.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,resourcemanager.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.routes.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.routers.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.interconnectAttachments.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.networks.useExternalIp,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.subnetworks.listIpOwners,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.networks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.targetVpnGateways.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.addresses.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.interconnectLocations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.subnetworks.useExternalIp,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.interconnectLocations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.networks.listUsableSubnets,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,serviceusage.services.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.networkUser,compute.regions.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.subnetworks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,serviceusage.quotas.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.networkUser,compute.firewalls.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.zones.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.routers.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.networks.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.regions.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.interconnectAttachments.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.vpnTunnels.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.interconnects.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.vpnTunnels.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.networks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.targetVpnGateways.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.interconnects.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.zones.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkUser,compute.subnetworks.use,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.subnetworks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.addresses.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetSslProxies.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.instanceGroups.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.healthChecks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.networks.listIpOwners,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetInstances.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,resourcemanager.projects.list,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.backendBuckets.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.firewalls.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.routes.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.httpsHealthChecks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,resourcemanager.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.instances.listReferrers,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.routes.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.routers.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.interconnectAttachments.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.forwardingRules.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.subnetworks.listIpOwners,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.networks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetVpnGateways.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.addresses.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.interconnectLocations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.interconnectLocations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.networks.listUsableSubnets,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetPools.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetSslProxies.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,serviceusage.services.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.networkViewer,compute.instances.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.globalForwardingRules.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.regions.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetHttpProxies.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.instances.getSerialPortOutput,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.httpHealthChecks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetInstances.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.healthChecks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.urlMaps.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetHttpsProxies.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.httpsHealthChecks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.subnetworks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,serviceusage.quotas.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.networkViewer,compute.firewalls.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.backendServices.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.globalForwardingRules.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.sslCertificates.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.zones.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetHttpProxies.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.instances.getGuestAttributes,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetHttpsProxies.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.routers.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.instances.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.globalAddresses.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.regions.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.interconnectAttachments.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.vpnTunnels.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.backendBuckets.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.instanceGroups.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.sslPolicies.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.sslCertificates.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.forwardingRules.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.interconnects.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.globalAddresses.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.vpnTunnels.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.urlMaps.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.sslPolicies.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.networks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.backendServices.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetVpnGateways.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.targetPools.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.interconnects.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.zones.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.networkViewer,compute.httpHealthChecks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.subnetworks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,resourcemanager.projects.list,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.routes.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,resourcemanager.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.globalOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.routes.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.networks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,serviceusage.services.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.securityAdmin,compute.zoneOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.regions.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.regionOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.subnetworks.updatePolicy,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.networks.updatePolicy,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.subnetworks.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,serviceusage.quotas.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.securityAdmin,compute.zones.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.zoneOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.regions.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.globalOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.regionOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.networks.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.securityAdmin,compute.zones.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,compute.diskTypes.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,resourcemanager.projects.list,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.storageAdmin,resourcemanager.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.storageAdmin,compute.globalOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,serviceusage.services.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.storageAdmin,compute.zoneOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,compute.regions.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,compute.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,compute.regionOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,serviceusage.quotas.get,True,True,compute.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
compute.storageAdmin,compute.zones.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,compute.zoneOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,compute.regions.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,compute.globalOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,compute.diskTypes.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,compute.regionOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.storageAdmin,compute.zones.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.xpnAdmin,resourcemanager.projects.list,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.xpnAdmin,resourcemanager.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.xpnAdmin,compute.globalOperations.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.xpnAdmin,resourcemanager.organizations.get,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
compute.xpnAdmin,compute.projects.get,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.xpnAdmin,compute.subnetworks.getIamPolicy,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.xpnAdmin,compute.globalOperations.list,True,True,compute.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
compute.xpnAdmin,resourcemanager.projects.getIamPolicy,True,True,compute.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
container.admin,resourcemanager.projects.list,True,True,container.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
container.admin,resourcemanager.projects.get,True,True,container.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
container.clusterAdmin,resourcemanager.projects.list,True,True,container.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
container.clusterAdmin,resourcemanager.projects.get,True,True,container.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
container.developer,resourcemanager.projects.list,True,True,container.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
container.developer,resourcemanager.projects.get,True,True,container.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
container.viewer,container.thirdPartyObjects.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.resourceQuotas.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.daemonSets.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.services.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.deployments.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.componentStatuses.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.scheduledJobs.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.ingresses.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.namespaces.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.networkPolicies.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.roleBindings.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,resourcemanager.projects.list,True,True,container.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
container.viewer,container.podDisruptionBudgets.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.configMaps.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.petSets.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.thirdPartyObjects.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,resourcemanager.projects.get,True,True,container.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
container.viewer,container.replicationControllers.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.namespaces.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.events.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.statefulSets.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.persistentVolumeClaims.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.podDisruptionBudgets.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.configMaps.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.bindings.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.limitRanges.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.roleBindings.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.statefulSets.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.clusterRoleBindings.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.events.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.storageClasses.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.clusterRoles.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.horizontalPodAutoscalers.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.persistentVolumes.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.nodes.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.roles.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.deployments.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.pods.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.pods.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.services.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.cronJobs.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.nodes.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.horizontalPodAutoscalers.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.daemonSets.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.clusters.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.limitRanges.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.podPresets.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.networkPolicies.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.endpoints.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.jobs.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.certificateSigningRequests.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.thirdPartyResources.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.podTemplates.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.replicaSets.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.replicationControllers.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.resourceQuotas.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.persistentVolumes.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.bindings.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.jobs.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.clusterRoleBindings.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.clusterRoles.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.petSets.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.serviceAccounts.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.podTemplates.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.clusters.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.roles.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.endpoints.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.ingresses.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.storageClasses.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.replicaSets.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.podPresets.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.thirdPartyResources.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.serviceAccounts.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.persistentVolumeClaims.get,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.componentStatuses.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.certificateSigningRequests.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.cronJobs.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
container.viewer,container.scheduledJobs.list,True,True,container.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
containeranalysis.admin,resourcemanager.projects.list,True,True,containeranalysis.googleapis.com (INTERNAL - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
containeranalysis.admin,resourcemanager.projects.get,True,True,containeranalysis.googleapis.com (INTERNAL - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
containeranalysis.notes.editor,resourcemanager.projects.list,True,True,containeranalysis.googleapis.com (INTERNAL - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
containeranalysis.notes.editor,resourcemanager.projects.get,True,True,containeranalysis.googleapis.com (INTERNAL - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
containeranalysis.notes.viewer,resourcemanager.projects.list,True,True,containeranalysis.googleapis.com (INTERNAL - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
containeranalysis.notes.viewer,resourcemanager.projects.get,True,True,containeranalysis.googleapis.com (INTERNAL - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
containeranalysis.occurrences.editor,resourcemanager.projects.list,True,True,containeranalysis.googleapis.com (INTERNAL - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
containeranalysis.occurrences.editor,resourcemanager.projects.get,True,True,containeranalysis.googleapis.com (INTERNAL - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
containeranalysis.occurrences.viewer,resourcemanager.projects.list,True,True,containeranalysis.googleapis.com (INTERNAL - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
containeranalysis.occurrences.viewer,resourcemanager.projects.get,True,True,containeranalysis.googleapis.com (INTERNAL - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dataflow.developer,resourcemanager.projects.list,True,True,dataflow.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dataflow.developer,resourcemanager.projects.get,True,True,dataflow.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dataflow.viewer,resourcemanager.projects.list,True,True,dataflow.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dataflow.viewer,resourcemanager.projects.get,True,True,dataflow.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dataflow.viewer,dataflow.metrics.get,True,True,dataflow.googleapis.com (GA - PUBLIC),dataflow.googleapis.com (GA - PUBLIC)
dataflow.viewer,dataflow.jobs.list,True,True,dataflow.googleapis.com (GA - PUBLIC),dataflow.googleapis.com (GA - PUBLIC)
dataflow.viewer,dataflow.messages.list,True,True,dataflow.googleapis.com (GA - PUBLIC),dataflow.googleapis.com (GA - PUBLIC)
dataflow.viewer,dataflow.jobs.get,True,True,dataflow.googleapis.com (GA - PUBLIC),dataflow.googleapis.com (GA - PUBLIC)
dataflow.worker,dataflow.jobs.get,True,True,dataflow.googleapis.com (GA - PUBLIC),dataflow.googleapis.com (GA - PUBLIC)
dataprep.projects.user,resourcemanager.projects.get,True,True,dataprep.googleapis.com (BETA - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dataprep.projects.user,dataprep.projects.use,True,True,dataprep.googleapis.com (BETA - INTERNAL),dataprep.googleapis.com (BETA - INTERNAL)
dataproc.editor,dataproc.jobs.cancel,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,resourcemanager.projects.list,True,True,dataproc.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dataproc.editor,resourcemanager.projects.get,True,True,dataproc.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.clusters.delete,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,compute.machineTypes.get,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.clusters.create,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,compute.networks.list,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.editor,compute.regions.get,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.editor,compute.projects.get,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.operations.get,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.clusters.use,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,compute.machineTypes.list,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.clusters.get,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,compute.zones.list,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.jobs.list,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.clusters.list,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.jobs.get,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.operations.delete,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,compute.regions.list,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.jobs.update,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.clusters.update,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,compute.networks.get,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.operations.list,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.jobs.delete,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,dataproc.jobs.create,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.editor,compute.zones.get,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.viewer,resourcemanager.projects.list,True,True,dataproc.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dataproc.viewer,resourcemanager.projects.get,True,True,dataproc.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dataproc.viewer,compute.machineTypes.get,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.viewer,compute.regions.get,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.viewer,dataproc.operations.get,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.viewer,dataproc.clusters.get,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.viewer,dataproc.jobs.list,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.viewer,dataproc.clusters.list,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.viewer,dataproc.jobs.get,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.viewer,compute.regions.list,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.viewer,dataproc.operations.list,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.viewer,compute.zones.get,True,True,dataproc.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dataproc.worker,monitoring.monitoredResourceDescriptors.list,True,True,dataproc.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
dataproc.worker,storage.objects.getIamPolicy,True,True,dataproc.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
dataproc.worker,dataproc.agents.create,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.worker,storage.objects.setIamPolicy,True,True,dataproc.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
dataproc.worker,storage.objects.get,True,True,dataproc.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
dataproc.worker,dataproc.tasks.reportStatus,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.worker,dataproc.agents.get,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.worker,dataproc.agents.delete,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.worker,storage.objects.update,True,True,dataproc.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
dataproc.worker,dataproc.tasks.lease,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.worker,monitoring.metricDescriptors.create,True,True,dataproc.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
dataproc.worker,monitoring.metricDescriptors.list,True,True,dataproc.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
dataproc.worker,logging.logEntries.create,True,True,dataproc.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
dataproc.worker,dataproc.tasks.listInvalidatedLeases,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.worker,storage.objects.delete,True,True,dataproc.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
dataproc.worker,storage.buckets.get,True,True,dataproc.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
dataproc.worker,dataproc.agents.update,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.worker,dataproc.agents.list,True,True,dataproc.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
dataproc.worker,monitoring.monitoredResourceDescriptors.get,True,True,dataproc.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
dataproc.worker,monitoring.timeSeries.create,True,True,dataproc.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
dataproc.worker,monitoring.metricDescriptors.get,True,True,dataproc.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
dataproc.worker,storage.objects.create,True,True,dataproc.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
dataproc.worker,storage.objects.list,True,True,dataproc.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,datastore.namespaces.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,resourcemanager.projects.list,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,datastore.statistics.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,servicemanagement.services.get,True,True,service_roles (Unspecified - INTERNAL),servicemanagement.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,datastore.databases.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,logging.sinks.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,datastore.entities.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,appengine.versions.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,datastore.namespaces.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,appengine.services.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,appengine.operations.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,serviceusage.services.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
datastore.googleAdminReader,appengine.applications.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,datastore.indexes.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,appengine.instances.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,logging.logEntries.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,logging.logServiceIndexes.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,appengine.instances.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,servicemanagement.services.list,True,True,service_roles (Unspecified - INTERNAL),servicemanagement.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,serviceusage.quotas.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
datastore.googleAdminReader,datastore.statistics.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,logging.sinks.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,logging.logs.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,appengine.applications.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,serviceusage.services.list,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
datastore.googleAdminReader,datastore.databases.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,appengine.operations.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,appengine.services.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,appengine.versions.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,logging.logServices.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,logging.logMetrics.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,datastore.entities.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,datastore.indexes.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.googleAdminReader,logging.logMetrics.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
datastore.importExportAdmin,resourcemanager.projects.list,True,True,datastore.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.importExportAdmin,datastore.operations.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.importExportAdmin,resourcemanager.projects.get,True,True,datastore.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.importExportAdmin,datastore.databases.import,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.importExportAdmin,datastore.operations.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.importExportAdmin,appengine.applications.get,True,True,datastore.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
datastore.importExportAdmin,datastore.operations.cancel,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.importExportAdmin,datastore.databases.export,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.indexAdmin,datastore.indexes.delete,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.indexAdmin,resourcemanager.projects.list,True,True,datastore.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.indexAdmin,resourcemanager.projects.get,True,True,datastore.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.indexAdmin,datastore.indexes.update,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.indexAdmin,datastore.indexes.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.indexAdmin,datastore.indexes.create,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.indexAdmin,appengine.applications.get,True,True,datastore.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
datastore.indexAdmin,datastore.indexes.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.indexes.delete,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.operations.delete,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.namespaces.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,resourcemanager.projects.list,True,True,datastore.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.databases.delete,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.operations.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,resourcemanager.projects.get,True,True,datastore.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.statistics.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.entities.update,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.databases.import,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.databases.update,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.databases.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.namespaces.setIamPolicy,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.databases.create,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.entities.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.entities.delete,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.entities.allocateIds,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.namespaces.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.databases.setIamPolicy,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.indexes.update,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.indexes.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.entities.create,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.indexes.create,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.databases.getIamPolicy,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.statistics.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.operations.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,appengine.applications.get,True,True,datastore.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.databases.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.operations.cancel,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.namespaces.getIamPolicy,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.entities.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.indexes.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.owner,datastore.databases.export,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserReader,datastore.namespaces.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserReader,datastore.statistics.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserReader,datastore.databases.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserReader,datastore.entities.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserReader,datastore.namespaces.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserReader,datastore.indexes.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserReader,datastore.statistics.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserReader,datastore.databases.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserReader,datastore.entities.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserReader,datastore.indexes.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.indexes.delete,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.operations.delete,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.namespaces.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.databases.delete,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.operations.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.statistics.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.entities.update,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.databases.import,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.databases.update,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.databases.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.namespaces.setIamPolicy,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.databases.create,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.entities.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.entities.delete,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.entities.allocateIds,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.namespaces.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.databases.setIamPolicy,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.indexes.update,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.indexes.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.entities.create,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.indexes.create,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.databases.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.statistics.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.operations.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.databases.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.operations.cancel,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.namespaces.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.entities.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.indexes.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.superuserWriter,datastore.databases.export,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
datastore.user,datastore.namespaces.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.user,resourcemanager.projects.list,True,True,datastore.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.user,resourcemanager.projects.get,True,True,datastore.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.user,datastore.entities.update,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.user,datastore.entities.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.user,datastore.entities.delete,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.user,datastore.entities.allocateIds,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.user,datastore.namespaces.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.user,datastore.entities.create,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.user,appengine.applications.get,True,True,datastore.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
datastore.user,datastore.databases.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.user,datastore.entities.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.user,datastore.indexes.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.viewer,datastore.namespaces.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.viewer,resourcemanager.projects.list,True,True,datastore.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.viewer,resourcemanager.projects.get,True,True,datastore.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
datastore.viewer,datastore.statistics.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.viewer,datastore.databases.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.viewer,datastore.entities.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.viewer,datastore.namespaces.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.viewer,datastore.indexes.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.viewer,datastore.statistics.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.viewer,appengine.applications.get,True,True,datastore.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
datastore.viewer,datastore.databases.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.viewer,datastore.entities.get,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
datastore.viewer,datastore.indexes.list,True,True,datastore.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.deployments.create,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.manifests.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,resourcemanager.projects.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.typeProviders.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,resourcemanager.projects.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.resources.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.types.update,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.deployments.cancelPreview,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.types.create,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.manifests.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.compositeTypes.delete,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.deployments.delete,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.compositeTypes.create,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.typeProviders.getType,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.deployments.stop,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.operations.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.resources.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.typeProviders.listTypes,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.deployments.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.deployments.update,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.compositeTypes.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.typeProviders.delete,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.operations.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.typeProviders.update,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.compositeTypes.update,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.types.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.typeProviders.create,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.compositeTypes.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.deployments.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.types.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.typeProviders.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.editor,deploymentmanager.types.delete,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.typeProviders.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.types.update,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.types.create,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.compositeTypes.delete,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.compositeTypes.create,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.typeProviders.getType,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.typeProviders.listTypes,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.compositeTypes.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.typeProviders.delete,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.typeProviders.update,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.compositeTypes.update,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.types.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.typeProviders.create,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.compositeTypes.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.types.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.typeProviders.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeEditor,deploymentmanager.types.delete,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeViewer,deploymentmanager.typeProviders.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeViewer,deploymentmanager.typeProviders.getType,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeViewer,deploymentmanager.typeProviders.listTypes,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeViewer,deploymentmanager.compositeTypes.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeViewer,deploymentmanager.types.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeViewer,deploymentmanager.compositeTypes.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeViewer,deploymentmanager.types.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.typeViewer,deploymentmanager.typeProviders.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.manifests.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,resourcemanager.projects.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.typeProviders.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,resourcemanager.projects.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.resources.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.manifests.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.typeProviders.getType,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.operations.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.resources.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.typeProviders.listTypes,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.deployments.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.compositeTypes.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.operations.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.types.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.compositeTypes.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.deployments.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.types.get,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
deploymentmanager.viewer,deploymentmanager.typeProviders.list,True,True,deploymentmanager.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
dns.admin,resourcemanager.projects.list,True,True,dns.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dns.admin,resourcemanager.projects.get,True,True,dns.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dns.admin,compute.networks.list,True,True,dns.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dns.admin,compute.networks.get,True,True,dns.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
dns.reader,resourcemanager.projects.list,True,True,dns.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dns.reader,resourcemanager.projects.get,True,True,dns.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
dns.reader,compute.networks.get,True,True,dns.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
errorreporting.admin,errorreporting.groupMetadata.update,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.admin,errorreporting.groups.list,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.admin,errorreporting.errorEvents.create,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.admin,errorreporting.groupMetadata.get,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.admin,errorreporting.applications.list,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.admin,errorreporting.errorEvents.list,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.admin,errorreporting.errorEvents.delete,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.user,errorreporting.groupMetadata.update,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.user,errorreporting.groups.list,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.user,errorreporting.groupMetadata.get,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.user,errorreporting.applications.list,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.user,errorreporting.errorEvents.list,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.user,errorreporting.errorEvents.delete,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.viewer,errorreporting.groups.list,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.viewer,errorreporting.groupMetadata.get,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.viewer,errorreporting.applications.list,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.viewer,errorreporting.errorEvents.list,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
errorreporting.writer,errorreporting.errorEvents.create,True,True,clouderrorreporting.googleapis.com (BETA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
firebase.billingAccountViewer,billing.accounts.getBillingDetails,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
firebase.billingAccountViewer,billing.accounts.get,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
firebase.billingAccountViewer,billing.resourceAssociations.list,True,True,service_roles (Unspecified - INTERNAL),cloudbilling.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,monitoring.monitoredResourceDescriptors.list,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,monitoring.groups.list,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,spanner.databases.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,spanner.databaseOperations.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.manifests.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,resourcemanager.projects.list,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,clientauthconfig.brands.get,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.typeProviders.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,spanner.databases.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,errorreporting.groups.list,True,True,service_roles (Unspecified - INTERNAL),clouderrorreporting.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,servicemanagement.services.get,True,True,service_roles (Unspecified - INTERNAL),servicemanagement.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,pubsub.topics.get,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,spanner.instances.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.resources.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,spanner.instanceOperations.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,iam.serviceAccountKeys.list,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,logging.sinks.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,resourcemanager.organizations.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,appengine.versions.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.manifests.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,pubsub.topics.list,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,spanner.databaseOperations.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,monitoring.groups.get,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,appengine.services.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,appengine.operations.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,serviceusage.apiKeys.list,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
firebase.googleAdminFirebaseProjectReader,serviceusage.services.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
firebase.googleAdminFirebaseProjectReader,errorreporting.groupMetadata.get,True,True,service_roles (Unspecified - INTERNAL),clouderrorreporting.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,monitoring.metricDescriptors.list,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,serviceusage.apiKeys.getProjectForKey,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
firebase.googleAdminFirebaseProjectReader,appengine.applications.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,clientauthconfig.clients.list,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
firebase.googleAdminFirebaseProjectReader,spanner.instances.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,appengine.instances.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,errorreporting.applications.list,True,True,service_roles (Unspecified - INTERNAL),clouderrorreporting.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,serviceusage.apiKeys.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
firebase.googleAdminFirebaseProjectReader,spanner.sessions.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,logging.logEntries.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,logging.logServiceIndexes.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,storage.buckets.list,True,True,service_roles (Unspecified - INTERNAL),storage.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,monitoring.timeSeries.list,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,pubsub.subscriptions.get,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,appengine.instances.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.operations.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,errorreporting.errorEvents.list,True,True,service_roles (Unspecified - INTERNAL),clouderrorreporting.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.resources.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,servicemanagement.services.list,True,True,service_roles (Unspecified - INTERNAL),servicemanagement.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.deployments.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,serviceusage.quotas.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
firebase.googleAdminFirebaseProjectReader,iam.serviceAccounts.get,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.compositeTypes.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,clientauthconfig.brands.list,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
firebase.googleAdminFirebaseProjectReader,resourcemanager.organizations.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.operations.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,logging.sinks.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,logging.logs.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,appengine.applications.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,storage.buckets.get,True,True,service_roles (Unspecified - INTERNAL),storage.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,spanner.instanceOperations.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,cloudnotifications.activities.list,True,True,service_roles (Unspecified - INTERNAL),cloudnotifications.googleapis.com (BETA - INTERNAL)
firebase.googleAdminFirebaseProjectReader,serviceusage.services.list,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.types.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,pubsub.subscriptions.list,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,clientauthconfig.clients.get,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
firebase.googleAdminFirebaseProjectReader,appengine.operations.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,spanner.instanceConfigs.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,resourcemanager.projects.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.compositeTypes.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,appengine.services.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.deployments.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,appengine.versions.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,monitoring.monitoredResourceDescriptors.get,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,logging.logServices.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,logging.logMetrics.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,iam.serviceAccounts.list,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,spanner.sessions.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,monitoring.metricDescriptors.get,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,spanner.instanceConfigs.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.types.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,storage.objects.list,True,True,service_roles (Unspecified - INTERNAL),storage.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,logging.exclusions.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,deploymentmanager.typeProviders.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,logging.logMetrics.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
firebase.googleAdminFirebaseProjectReader,logging.exclusions.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.daemonSets.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.services.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,monitoring.monitoredResourceDescriptors.list,True,True,iam.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
iam.securityReviewer,monitoring.groups.list,True,True,iam.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudiot.registries.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),cloudiot.googleapis.com (BETA - INTERNAL)
iam.securityReviewer,dlp.inspectFindings.list,True,True,iam.googleapis.com (GA - PUBLIC),dlp.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,pubsub.topics.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.namespaces.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,spanner.databases.list,True,True,iam.googleapis.com (GA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,cloudkms.keyRings.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.networkPolicies.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,workflow.processInstances.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),workflow.googleapis.com (GA - INTERNAL)
iam.securityReviewer,compute.instanceGroups.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,runtimeconfig.operations.list,True,True,iam.googleapis.com (GA - PUBLIC),runtimeconfig.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudsql.databases.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
iam.securityReviewer,datastore.namespaces.list,True,True,iam.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.targetInstances.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,spanner.databaseOperations.list,True,True,iam.googleapis.com (GA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,resourcemanager.projects.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.backendBuckets.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,workflow.taskInstanceMetadata.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),workflow.googleapis.com (GA - INTERNAL)
iam.securityReviewer,container.podDisruptionBudgets.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.configMaps.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,bigquery.tables.list,True,True,iam.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
iam.securityReviewer,storage.objects.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
iam.securityReviewer,datastore.operations.list,True,True,iam.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
iam.securityReviewer,serviceusage.operations.list,True,True,iam.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
iam.securityReviewer,compute.routes.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,ml.jobs.list,True,True,iam.googleapis.com (GA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,servicemanagement.consumerSettings.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.thirdPartyObjects.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,ml.versions.list,True,True,iam.googleapis.com (GA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,pubsub.subscriptions.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
iam.securityReviewer,errorreporting.groups.list,True,True,iam.googleapis.com (GA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,container.operations.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.routers.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudsql.users.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
iam.securityReviewer,workflow.projects.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),workflow.googleapis.com (GA - INTERNAL)
iam.securityReviewer,compute.licenses.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,datastore.databases.list,True,True,iam.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.interconnects.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,proximitybeacon.attachments.list,True,True,iam.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
iam.securityReviewer,deploymentmanager.resources.list,True,True,iam.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudsql.instances.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
iam.securityReviewer,proximitybeacon.namespaces.list,True,True,iam.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.forwardingRules.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudbuild.builds.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudbuild.googleapis.com (GA - PUBLIC)
iam.securityReviewer,ml.models.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,cloudsql.backupRuns.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.statefulSets.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,iam.serviceAccountKeys.list,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.securityReviewer,logging.sinks.list,True,True,iam.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.networks.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.persistentVolumeClaims.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,datastore.entities.list,True,True,iam.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.images.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,billing.subscriptions.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
iam.securityReviewer,runtimeconfig.configs.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),runtimeconfig.googleapis.com (GA - PUBLIC)
iam.securityReviewer,genomics.operations.list,True,True,iam.googleapis.com (GA - PUBLIC),genomics.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudiot.devices.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudiot.googleapis.com (BETA - INTERNAL)
iam.securityReviewer,compute.addresses.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,dataflow.jobs.list,True,True,iam.googleapis.com (GA - PUBLIC),dataflow.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.acceleratorTypes.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,proximitybeacon.beacons.list,True,True,iam.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
iam.securityReviewer,iam.serviceAccounts.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudsql.instances.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
iam.securityReviewer,deploymentmanager.manifests.list,True,True,iam.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,runtimeconfig.variables.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),runtimeconfig.googleapis.com (GA - PUBLIC)
iam.securityReviewer,pubsub.topics.list,True,True,iam.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.interconnectLocations.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,logging.privateLogEntries.list,True,True,iam.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.interconnectLocations.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.targetPools.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,ml.pipelines.list,True,True,iam.googleapis.com (GA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,serviceusage.apiKeys.list,True,True,iam.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
iam.securityReviewer,container.roleBindings.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.targetSslProxies.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,clouddebugger.debuggees.list,True,True,iam.googleapis.com (GA - PUBLIC),clouddebugger.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,runtimeconfig.waiters.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),runtimeconfig.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.clusterRoleBindings.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,monitoring.metricDescriptors.list,True,True,iam.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
iam.securityReviewer,ml.operations.list,True,True,iam.googleapis.com (GA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,container.events.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.storageClasses.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.clusterRoles.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.snapshots.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,appengine.applications.list,True,True,iam.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.persistentVolumes.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,clientauthconfig.clients.list,True,True,iam.googleapis.com (GA - PUBLIC),clientauthconfig.googleapis.com (BETA - INTERNAL)
iam.securityReviewer,cloudkms.cryptoKeyVersions.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.regionOperations.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,deploymentmanager.deployments.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,ml.operations.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,container.nodes.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,spanner.instances.list,True,True,iam.googleapis.com (GA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,container.roles.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.deployments.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,dlp.inspectOperations.list,True,True,iam.googleapis.com (GA - PUBLIC),dlp.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,dataproc.clusters.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.pods.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,errorreporting.applications.list,True,True,iam.googleapis.com (GA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,compute.httpHealthChecks.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,servicemanagement.consumerSettings.list,True,True,iam.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudsql.sslCerts.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
iam.securityReviewer,ml.models.list,True,True,iam.googleapis.com (GA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,cloudtrace.tasks.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.healthChecks.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,billing.budgets.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
iam.securityReviewer,spanner.sessions.list,True,True,iam.googleapis.com (GA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,logging.logEntries.list,True,True,iam.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
iam.securityReviewer,logging.logServiceIndexes.list,True,True,iam.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.machineTypes.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,dataproc.jobs.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
iam.securityReviewer,workflow.projectMetadata.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),workflow.googleapis.com (GA - INTERNAL)
iam.securityReviewer,storage.buckets.list,True,True,iam.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
iam.securityReviewer,monitoring.timeSeries.list,True,True,iam.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
iam.securityReviewer,resourcemanager.flexResourceAdmin.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.horizontalPodAutoscalers.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,appengine.instances.list,True,True,iam.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
iam.securityReviewer,resourcemanager.folders.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,errorreporting.errorEvents.list,True,True,iam.googleapis.com (GA - PUBLIC),clouderrorreporting.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,compute.httpsHealthChecks.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,servicemanagement.services.list,True,True,iam.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.subnetworks.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,workflow.processMetadata.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),workflow.googleapis.com (GA - INTERNAL)
iam.securityReviewer,deploymentmanager.deployments.list,True,True,iam.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.clusters.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.limitRanges.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.subnetworks.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,ml.runs.list,True,True,iam.googleapis.com (GA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,cloudiot.registries.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudiot.googleapis.com (BETA - INTERNAL)
iam.securityReviewer,compute.firewalls.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.backendServices.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.podPresets.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.globalForwardingRules.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,iam.serviceAccounts.get,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.securityReviewer,deploymentmanager.compositeTypes.list,True,True,iam.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.endpoints.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudkms.keyRings.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
iam.securityReviewer,clientauthconfig.brands.list,True,True,iam.googleapis.com (GA - PUBLIC),clientauthconfig.googleapis.com (BETA - INTERNAL)
iam.securityReviewer,datastore.databases.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.localSubjectAccessReviews.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.zones.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,dataproc.jobs.list,True,True,iam.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.podTemplates.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.targetHttpProxies.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,proximitybeacon.beacons.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.replicaSets.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,datastore.statistics.list,True,True,iam.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
iam.securityReviewer,spanner.instances.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,runtimeconfig.configs.list,True,True,iam.googleapis.com (GA - PUBLIC),runtimeconfig.googleapis.com (GA - PUBLIC)
iam.securityReviewer,servicemanagement.services.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
iam.securityReviewer,dataproc.clusters.list,True,True,iam.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.targetHttpsProxies.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,runtimeconfig.variables.list,True,True,iam.googleapis.com (GA - PUBLIC),runtimeconfig.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.replicationControllers.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,resourcemanager.organizations.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,workflow.processInstanceMetadata.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),workflow.googleapis.com (GA - INTERNAL)
iam.securityReviewer,deploymentmanager.operations.list,True,True,iam.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.zoneOperations.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.instanceGroupManagers.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,bigquery.datasets.list,True,True,iam.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudsql.databases.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudsql.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudkms.cryptoKeys.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.autoscalers.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.instances.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,source.repos.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
iam.securityReviewer,ml.jobs.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,stackdriver.awsElbLoadBalancer.list,True,True,iam.googleapis.com (GA - PUBLIC),stackdriver.googleapis.com (GA - INTERNAL)
iam.securityReviewer,container.resourceQuotas.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.bindings.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,dataproc.regions.list,True,True,iam.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.globalAddresses.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.jobs.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,runtimeconfig.waiters.list,True,True,iam.googleapis.com (GA - PUBLIC),runtimeconfig.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.regions.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,billing.accounts.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
iam.securityReviewer,logging.logs.list,True,True,iam.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.commitments.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.interconnectAttachments.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.vpnTunnels.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,spanner.instanceOperations.list,True,True,iam.googleapis.com (GA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,cloudnotifications.activities.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudnotifications.googleapis.com (BETA - INTERNAL)
iam.securityReviewer,serviceusage.services.list,True,True,iam.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
iam.securityReviewer,deploymentmanager.types.list,True,True,iam.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,pubsub.subscriptions.list,True,True,iam.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudtrace.insights.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
iam.securityReviewer,genomics.datasets.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),genomics.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.globalOperations.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,appengine.operations.list,True,True,iam.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
iam.securityReviewer,billing.credits.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
iam.securityReviewer,workflow.processDefinitions.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),workflow.googleapis.com (GA - INTERNAL)
iam.securityReviewer,spanner.instanceConfigs.list,True,True,iam.googleapis.com (GA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,compute.sslCertificates.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.secrets.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.disks.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,dataproc.operations.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
iam.securityReviewer,resourcemanager.projects.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudkms.cryptoKeys.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.petSets.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.diskTypes.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,resourcemanager.folders.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,appengine.services.list,True,True,iam.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
iam.securityReviewer,stackdriver.awsEc2Instance.list,True,True,iam.googleapis.com (GA - PUBLIC),stackdriver.googleapis.com (GA - INTERNAL)
iam.securityReviewer,container.serviceAccounts.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.interconnects.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,proximitybeacon.namespaces.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
iam.securityReviewer,appengine.versions.list,True,True,iam.googleapis.com (GA - PUBLIC),appengine.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.subjectAccessReviews.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,bigquery.savedqueries.list,True,True,iam.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
iam.securityReviewer,dataproc.agents.list,True,True,iam.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
iam.securityReviewer,logging.logServices.list,True,True,iam.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
iam.securityReviewer,workflow.taskInstances.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),workflow.googleapis.com (GA - INTERNAL)
iam.securityReviewer,compute.urlMaps.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.ingresses.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.sslPolicies.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudtestservice.matrices.list,True,True,iam.googleapis.com (GA - PUBLIC),testing.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.targetVpnGateways.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,source.repos.list,True,True,iam.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudkms.cryptoKeyVersions.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudkms.googleapis.com (GA - PUBLIC)
iam.securityReviewer,genomics.datasets.list,True,True,iam.googleapis.com (GA - PUBLIC),genomics.googleapis.com (GA - PUBLIC)
iam.securityReviewer,storage.buckets.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
iam.securityReviewer,compute.instanceTemplates.list,True,True,iam.googleapis.com (GA - PUBLIC),compute.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.thirdPartyResources.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,iam.serviceAccounts.list,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.selfSubjectAccessReviews.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,workflow.processes.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),workflow.googleapis.com (GA - INTERNAL)
iam.securityReviewer,datastore.namespaces.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
iam.securityReviewer,dataproc.operations.list,True,True,iam.googleapis.com (GA - PUBLIC),dataproc.googleapis.com (GA - PUBLIC)
iam.securityReviewer,bigquery.jobs.list,True,True,iam.googleapis.com (GA - PUBLIC),bigquery.googleapis.com (GA - PUBLIC)
iam.securityReviewer,cloudtrace.traces.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudtrace.googleapis.com (GA - PUBLIC)
iam.securityReviewer,spanner.databases.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,datastore.indexes.list,True,True,iam.googleapis.com (GA - PUBLIC),datastore.googleapis.com (GA - PUBLIC)
iam.securityReviewer,dataflow.messages.list,True,True,iam.googleapis.com (GA - PUBLIC),dataflow.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.componentStatuses.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,workflow.processDefinitionMetadata.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),workflow.googleapis.com (GA - INTERNAL)
iam.securityReviewer,container.certificateSigningRequests.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,storage.objects.list,True,True,iam.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
iam.securityReviewer,clouddebugger.breakpoints.list,True,True,iam.googleapis.com (GA - PUBLIC),clouddebugger.googleapis.com (BETA - PUBLIC)
iam.securityReviewer,billing.resourceAssociations.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
iam.securityReviewer,deploymentmanager.typeProviders.list,True,True,iam.googleapis.com (GA - PUBLIC),deploymentmanager.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.cronJobs.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.securityReviewer,logging.logMetrics.list,True,True,iam.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
iam.securityReviewer,billing.accounts.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudbilling.googleapis.com (GA - PUBLIC)
iam.securityReviewer,logging.exclusions.list,True,True,iam.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
iam.securityReviewer,container.scheduledJobs.list,True,True,iam.googleapis.com (GA - PUBLIC),container.googleapis.com (GA - PUBLIC)
iam.serviceAccountActor,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.serviceAccountActor,iam.serviceAccounts.signBlob,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountActor,iam.serviceAccounts.actAs,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountActor,iam.serviceAccounts.get,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountActor,iam.serviceAccounts.list,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountActor,iam.serviceAccounts.signJwt,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountActor,iam.serviceAccounts.getAccessToken,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountAdmin,resourcemanager.projects.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.serviceAccountAdmin,resourcemanager.projects.get,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.serviceAccountAdmin,iam.serviceAccounts.getIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountAdmin,iam.serviceAccounts.update,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountAdmin,iam.serviceAccounts.create,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountAdmin,iam.serviceAccounts.setIamPolicy,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountAdmin,iam.serviceAccounts.delete,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountAdmin,iam.serviceAccounts.get,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountAdmin,iam.serviceAccounts.list,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountCreator,iam.serviceAccounts.create,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountCreator,iam.serviceAccounts.get,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountKeyAdmin,resourcemanager.projects.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.serviceAccountKeyAdmin,resourcemanager.projects.get,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.serviceAccountKeyAdmin,iam.serviceAccountKeys.list,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountKeyAdmin,iam.serviceAccounts.get,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountKeyAdmin,iam.serviceAccountKeys.create,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountKeyAdmin,iam.serviceAccountKeys.get,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountKeyAdmin,iam.serviceAccounts.list,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountKeyAdmin,iam.serviceAccountKeys.delete,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountTokenCreator,resourcemanager.projects.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.serviceAccountTokenCreator,resourcemanager.projects.get,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.serviceAccountTokenCreator,iam.serviceAccounts.signBlob,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountTokenCreator,iam.serviceAccounts.get,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountTokenCreator,iam.serviceAccounts.list,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountTokenCreator,iam.serviceAccounts.signJwt,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountTokenCreator,iam.serviceAccounts.getAccessToken,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountUser,resourcemanager.projects.list,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.serviceAccountUser,resourcemanager.projects.get,True,True,iam.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
iam.serviceAccountUser,iam.serviceAccounts.actAs,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountUser,iam.serviceAccounts.get,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iam.serviceAccountUser,iam.serviceAccounts.list,True,True,iam.googleapis.com (GA - PUBLIC),iam.googleapis.com (GA - PUBLIC)
iap.httpsResourceAccessor,appengine.applications.accessViaIAP,True,True,iap.googleapis.com (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
iap.httpsResourceAccessor,compute.backendServices.accessViaIAAP,True,True,iap.googleapis.com (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
logging.admin,logging.exclusions.update,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.sinks.create,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,resourcemanager.projects.list,True,True,logging.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
logging.admin,resourcemanager.projects.get,True,True,logging.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
logging.admin,logging.sinks.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.sinks.delete,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.privateLogEntries.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.logEntries.create,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.logMetrics.update,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.logEntries.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.logServiceIndexes.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.usage.get,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.sinks.get,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.logMetrics.create,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.logMetrics.delete,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.logs.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.sinks.update,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.logs.delete,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.exclusions.create,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.logServices.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.logMetrics.get,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.exclusions.delete,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.exclusions.get,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.logMetrics.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.admin,logging.exclusions.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.exclusions.update,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.sinks.create,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,resourcemanager.projects.list,True,True,logging.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
logging.configWriter,resourcemanager.projects.get,True,True,logging.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.sinks.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.sinks.delete,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.logMetrics.update,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.logServiceIndexes.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.sinks.get,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.logMetrics.create,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.logMetrics.delete,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.logs.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.sinks.update,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.exclusions.create,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.logServices.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.logMetrics.get,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.exclusions.delete,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.exclusions.get,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.logMetrics.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.configWriter,logging.exclusions.list,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.logWriter,logging.logEntries.create,True,True,logging.googleapis.com (GA - PUBLIC),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.sinks.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.privateLogEntries.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.logEntries.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.logServiceIndexes.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.usage.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.sinks.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.logs.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.logServices.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.logMetrics.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.exclusions.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.logMetrics.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.privateLogViewer,logging.exclusions.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.viewer,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
logging.viewer,logging.sinks.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.viewer,logging.logEntries.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.viewer,logging.logServiceIndexes.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.viewer,logging.usage.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.viewer,logging.sinks.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.viewer,logging.logs.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.viewer,logging.logServices.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.viewer,logging.logMetrics.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.viewer,logging.exclusions.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.viewer,logging.logMetrics.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
logging.viewer,logging.exclusions.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
ml.admin,resourcemanager.projects.get,True,True,ml.googleapis.com (BETA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
ml.developer,ml.pipelines.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.jobs.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,resourcemanager.projects.get,True,True,ml.googleapis.com (BETA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
ml.developer,ml.versions.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.models.getIamPolicy,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.models.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.models.create,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.pipelines.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.operations.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.versions.predict,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.operations.getIamPolicy,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.models.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.runs.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.jobs.getIamPolicy,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.operations.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.models.predict,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.runs.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.jobs.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.jobs.create,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.projects.getConfig,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.developer,ml.versions.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.modelUser,ml.versions.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.modelUser,ml.models.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.modelUser,ml.versions.predict,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.modelUser,ml.models.predict,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.modelUser,ml.versions.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.pipelines.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.jobs.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,resourcemanager.projects.get,True,True,ml.googleapis.com (BETA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
ml.viewer,ml.versions.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.models.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.pipelines.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.operations.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.models.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.runs.list,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.operations.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.runs.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.jobs.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.projects.getConfig,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
ml.viewer,ml.versions.get,True,True,ml.googleapis.com (BETA - PUBLIC),ml.googleapis.com (BETA - PUBLIC)
mobilecrashreporting.symbolMappingsAdmin,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.monitoredResourceDescriptors.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.groups.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,resourcemanager.projects.list,True,True,monitoring.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
monitoring.admin,resourcemanager.projects.get,True,True,monitoring.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.groups.get,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.metricDescriptors.create,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.metricDescriptors.delete,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.metricDescriptors.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.groups.update,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.timeSeries.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.monitoredResourceDescriptors.get,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.groups.create,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.timeSeries.create,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.metricDescriptors.get,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.admin,monitoring.groups.delete,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.monitoredResourceDescriptors.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.groups.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,resourcemanager.projects.list,True,True,monitoring.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
monitoring.editor,resourcemanager.projects.get,True,True,monitoring.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.groups.get,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.metricDescriptors.create,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.metricDescriptors.delete,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.metricDescriptors.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.groups.update,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.timeSeries.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.monitoredResourceDescriptors.get,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.groups.create,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.timeSeries.create,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.metricDescriptors.get,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.editor,monitoring.groups.delete,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.metricWriter,monitoring.monitoredResourceDescriptors.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.metricWriter,monitoring.metricDescriptors.create,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.metricWriter,monitoring.metricDescriptors.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.metricWriter,monitoring.monitoredResourceDescriptors.get,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.metricWriter,monitoring.timeSeries.create,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.metricWriter,monitoring.metricDescriptors.get,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.viewer,monitoring.monitoredResourceDescriptors.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.viewer,monitoring.groups.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.viewer,resourcemanager.projects.list,True,True,monitoring.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
monitoring.viewer,resourcemanager.projects.get,True,True,monitoring.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
monitoring.viewer,monitoring.groups.get,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.viewer,monitoring.metricDescriptors.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.viewer,monitoring.timeSeries.list,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.viewer,monitoring.monitoredResourceDescriptors.get,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
monitoring.viewer,monitoring.metricDescriptors.get,True,True,monitoring.googleapis.com (GA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
orgpolicy.policyAdmin,orgpolicy.policy.set,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
orgpolicy.policyViewer,orgpolicy.policy.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentEditor,resourcemanager.projects.list,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentEditor,resourcemanager.projects.get,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentEditor,proximitybeacon.attachments.list,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentEditor,proximitybeacon.namespaces.list,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentEditor,proximitybeacon.attachments.get,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentEditor,proximitybeacon.attachments.delete,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentEditor,proximitybeacon.attachments.create,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentPublisher,resourcemanager.projects.list,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentPublisher,resourcemanager.projects.get,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentPublisher,proximitybeacon.beacons.list,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentPublisher,proximitybeacon.beacons.attach,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentPublisher,proximitybeacon.beacons.get,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentViewer,resourcemanager.projects.list,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentViewer,resourcemanager.projects.get,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentViewer,proximitybeacon.attachments.list,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.attachmentViewer,proximitybeacon.attachments.get,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.beaconEditor,resourcemanager.projects.list,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
proximitybeacon.beaconEditor,resourcemanager.projects.get,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
proximitybeacon.beaconEditor,proximitybeacon.beacons.list,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.beaconEditor,proximitybeacon.beacons.update,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.beaconEditor,proximitybeacon.beacons.create,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
proximitybeacon.beaconEditor,proximitybeacon.beacons.get,True,True,proximitybeacon.googleapis.com (GA - PUBLIC),proximitybeacon.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.topics.getIamPolicy,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.subscriptions.delete,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,resourcemanager.projects.get,True,True,pubsub.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.subscriptions.getIamPolicy,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.topics.get,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.topics.list,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.subscriptions.setIamPolicy,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.topics.delete,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.topics.publish,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.topics.attachSubscription,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.topics.update,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.subscriptions.update,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.subscriptions.get,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.subscriptions.consume,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.topics.create,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.subscriptions.list,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.subscriptions.create,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.admin,pubsub.topics.setIamPolicy,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.subscriptions.delete,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,resourcemanager.projects.get,True,True,pubsub.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.topics.get,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.topics.list,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.topics.delete,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.topics.publish,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.topics.attachSubscription,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.topics.update,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.subscriptions.update,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.subscriptions.get,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.subscriptions.consume,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.topics.create,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.subscriptions.list,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.editor,pubsub.subscriptions.create,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.publisher,pubsub.topics.publish,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.subscriber,pubsub.topics.attachSubscription,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.subscriber,pubsub.subscriptions.consume,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.viewer,resourcemanager.projects.get,True,True,pubsub.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
pubsub.viewer,pubsub.topics.get,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.viewer,pubsub.topics.list,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.viewer,pubsub.subscriptions.get,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
pubsub.viewer,pubsub.subscriptions.list,True,True,pubsub.googleapis.com (GA - PUBLIC),pubsub.googleapis.com (GA - PUBLIC)
reservepartner.portalAdmin,reservepartner.portal.write,True,True,reservepartner.googleapis.com (GA - INTERNAL),reservepartner.googleapis.com (GA - INTERNAL)
reservepartner.portalAdmin,reservepartner.portal.read,True,True,reservepartner.googleapis.com (GA - INTERNAL),reservepartner.googleapis.com (GA - INTERNAL)
reservepartner.portalReader,reservepartner.portal.read,True,True,reservepartner.googleapis.com (GA - INTERNAL),reservepartner.googleapis.com (GA - INTERNAL)
resourcemanager.flexResourceDeleter,resourcemanager.flexResourceAdmin.deleteInstance,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.folders.delete,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.projects.list,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.projects.move,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.projects.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.folders.setIamPolicy,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.folders.update,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,orgpolicy.policy.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.folders.undelete,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.folders.list,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.folders.create,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.folders.getIamPolicy,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.folders.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderAdmin,resourcemanager.folders.move,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderCreator,resourcemanager.projects.list,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderCreator,resourcemanager.projects.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderCreator,orgpolicy.policy.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderCreator,resourcemanager.folders.list,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderCreator,resourcemanager.folders.create,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderCreator,resourcemanager.folders.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderDeleter,resourcemanager.folders.delete,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderEditor,resourcemanager.folders.delete,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderEditor,resourcemanager.projects.list,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderEditor,resourcemanager.projects.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderEditor,resourcemanager.folders.update,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderEditor,orgpolicy.policy.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderEditor,resourcemanager.folders.undelete,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderEditor,resourcemanager.folders.list,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderEditor,resourcemanager.folders.getIamPolicy,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderEditor,resourcemanager.folders.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderIamAdmin,resourcemanager.folders.setIamPolicy,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderIamAdmin,resourcemanager.folders.getIamPolicy,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderMover,resourcemanager.projects.move,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderMover,resourcemanager.folders.move,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderViewer,resourcemanager.projects.list,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderViewer,resourcemanager.projects.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderViewer,orgpolicy.policy.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderViewer,resourcemanager.folders.list,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.folderViewer,resourcemanager.folders.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminOrganizationReader,resourcemanager.projects.list,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminOrganizationReader,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminOrganizationReader,resourcemanager.organizations.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminOrganizationReader,orgpolicy.policy.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminOrganizationReader,resourcemanager.folders.list,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminOrganizationReader,resourcemanager.organizations.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminOrganizationReader,resourcemanager.projects.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminOrganizationReader,resourcemanager.folders.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminOrganizationReader,resourcemanager.folders.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.thirdPartyObjects.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.resourceQuotas.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.daemonSets.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.services.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,monitoring.monitoredResourceDescriptors.list,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.deployments.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.componentStatuses.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.scheduledJobs.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,monitoring.groups.list,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.ingresses.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.subnetworks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.addresses.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.namespaces.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.targetSslProxies.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.diskTypes.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.databases.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudkms.keyRings.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudkms.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.networkPolicies.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.instanceGroups.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.roleBindings.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.healthChecks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,datastore.namespaces.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.targetInstances.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.databaseOperations.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.manifests.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,resourcemanager.projects.list,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.backendBuckets.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudsql.sslCerts.get,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.podDisruptionBudgets.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.configMaps.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.firewalls.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,clientauthconfig.brands.get,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
resourcemanager.googleAdminProjectReader,deploymentmanager.typeProviders.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.pipelines.get,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.databases.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.routes.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.httpsHealthChecks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.petSets.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.jobs.list,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.thirdPartyObjects.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,datastore.statistics.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.globalOperations.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.versions.list,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,errorreporting.groups.list,True,True,service_roles (Unspecified - INTERNAL),clouderrorreporting.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataflow.metrics.get,True,True,service_roles (Unspecified - INTERNAL),dataflow.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,servicemanagement.services.get,True,True,service_roles (Unspecified - INTERNAL),servicemanagement.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.instances.listReferrers,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.machineTypes.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.operations.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudsql.backupRuns.get,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.routes.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,pubsub.topics.get,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.replicationControllers.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.instances.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.routers.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudsql.users.list,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.namespaces.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.licenses.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.interconnectAttachments.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.licenses.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,datastore.databases.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.resources.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudsql.instances.list,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.forwardingRules.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.events.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudsql.backupRuns.list,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.statefulSets.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.instanceOperations.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,iam.serviceAccountKeys.list,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,logging.sinks.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.networks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.persistentVolumeClaims.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.targetVpnGateways.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.images.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.models.get,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.podDisruptionBudgets.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,genomics.operations.list,True,True,service_roles (Unspecified - INTERNAL),genomics.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.configMaps.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.addresses.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataproc.agents.get,True,True,service_roles (Unspecified - INTERNAL),dataproc.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.interconnectLocations.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataflow.jobs.list,True,True,service_roles (Unspecified - INTERNAL),dataflow.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,resourcemanager.organizations.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.acceleratorTypes.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,appengine.versions.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.manifests.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,pubsub.topics.list,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.operations.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,datastore.namespaces.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.interconnectLocations.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.databaseOperations.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,monitoring.groups.get,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudtrace.tasks.get,True,True,service_roles (Unspecified - INTERNAL),cloudtrace.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudsql.databases.get,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,appengine.services.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.bindings.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,appengine.operations.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.limitRanges.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.targetPools.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.pipelines.list,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,serviceusage.apiKeys.list,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
resourcemanager.googleAdminProjectReader,compute.snapshots.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.roleBindings.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.targetSslProxies.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,serviceusage.services.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
resourcemanager.googleAdminProjectReader,errorreporting.groupMetadata.get,True,True,service_roles (Unspecified - INTERNAL),clouderrorreporting.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.statefulSets.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.instances.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.zoneOperations.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.clusterRoleBindings.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,monitoring.metricDescriptors.list,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.globalForwardingRules.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.operations.list,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.events.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.regions.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,serviceusage.apiKeys.getProjectForKey,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
resourcemanager.googleAdminProjectReader,container.storageClasses.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.clusterRoles.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.snapshots.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.horizontalPodAutoscalers.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,appengine.applications.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,datastore.indexes.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.images.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.persistentVolumes.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.projects.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,clientauthconfig.clients.list,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
resourcemanager.googleAdminProjectReader,compute.targetHttpProxies.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudkms.cryptoKeyVersions.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudkms.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.regionOperations.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.nodes.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.instances.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.roles.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.deployments.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudkms.keyRings.get,True,True,service_roles (Unspecified - INTERNAL),cloudkms.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.instances.getSerialPortOutput,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.pods.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,appengine.instances.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.pods.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,errorreporting.applications.list,True,True,service_roles (Unspecified - INTERNAL),clouderrorreporting.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.httpHealthChecks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudtrace.insights.get,True,True,service_roles (Unspecified - INTERNAL),cloudtrace.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataproc.operations.get,True,True,service_roles (Unspecified - INTERNAL),dataproc.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.targetInstances.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.services.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,serviceusage.apiKeys.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
resourcemanager.googleAdminProjectReader,cloudsql.sslCerts.list,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.cronJobs.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.models.list,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.nodes.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudtrace.tasks.list,True,True,service_roles (Unspecified - INTERNAL),cloudtrace.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.healthChecks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.secrets.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.sessions.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,logging.logEntries.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,logging.logServiceIndexes.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudtrace.stats.get,True,True,service_roles (Unspecified - INTERNAL),cloudtrace.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.machineTypes.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.urlMaps.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,storage.buckets.list,True,True,service_roles (Unspecified - INTERNAL),storage.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,monitoring.timeSeries.list,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.horizontalPodAutoscalers.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,pubsub.subscriptions.get,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.targetHttpsProxies.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,appengine.instances.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.operations.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,resourcemanager.folders.list,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,errorreporting.errorEvents.list,True,True,service_roles (Unspecified - INTERNAL),clouderrorreporting.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.httpsHealthChecks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.daemonSets.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.resources.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.acceleratorTypes.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,servicemanagement.services.list,True,True,service_roles (Unspecified - INTERNAL),servicemanagement.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.subnetworks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.deployments.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.clusters.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,serviceusage.quotas.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
resourcemanager.googleAdminProjectReader,container.limitRanges.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.runs.list,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.firewalls.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.backendServices.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.podPresets.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.globalForwardingRules.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,iam.serviceAccounts.get,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.disks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.compositeTypes.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataproc.clusters.get,True,True,service_roles (Unspecified - INTERNAL),dataproc.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.networkPolicies.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.endpoints.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudkms.keyRings.list,True,True,service_roles (Unspecified - INTERNAL),cloudkms.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,clientauthconfig.brands.list,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
resourcemanager.googleAdminProjectReader,cloudtrace.traces.get,True,True,service_roles (Unspecified - INTERNAL),cloudtrace.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.sslCertificates.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.localSubjectAccessReviews.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.jobs.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.certificateSigningRequests.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.zones.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.thirdPartyResources.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataproc.jobs.list,True,True,service_roles (Unspecified - INTERNAL),dataproc.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.podTemplates.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.targetHttpProxies.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.replicaSets.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.instances.getGuestAttributes,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,datastore.statistics.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataproc.clusters.list,True,True,service_roles (Unspecified - INTERNAL),dataproc.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.targetHttpsProxies.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataproc.jobs.get,True,True,service_roles (Unspecified - INTERNAL),dataproc.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.replicationControllers.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,resourcemanager.organizations.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.operations.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.zoneOperations.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.instanceGroupManagers.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.instanceTemplates.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudsql.databases.list,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudkms.cryptoKeys.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudkms.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.autoscalers.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.routers.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,logging.sinks.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.instances.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.operations.get,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.resourceQuotas.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.persistentVolumes.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.bindings.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataproc.regions.list,True,True,service_roles (Unspecified - INTERNAL),dataproc.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.globalAddresses.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.jobs.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.clusterRoleBindings.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.regions.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,iam.serviceAccountKeys.get,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.instanceGroupManagers.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,logging.logs.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,appengine.applications.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,genomics.operations.get,True,True,service_roles (Unspecified - INTERNAL),genomics.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.commitments.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,storage.buckets.get,True,True,service_roles (Unspecified - INTERNAL),storage.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.interconnectAttachments.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.vpnTunnels.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.instanceOperations.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudnotifications.activities.list,True,True,service_roles (Unspecified - INTERNAL),cloudnotifications.googleapis.com (BETA - INTERNAL)
resourcemanager.googleAdminProjectReader,serviceusage.services.list,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
resourcemanager.googleAdminProjectReader,datastore.databases.get,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.types.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,pubsub.subscriptions.list,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,clientauthconfig.clients.get,True,True,service_roles (Unspecified - INTERNAL),clientauthconfig.googleapis.com (BETA - INTERNAL)
resourcemanager.googleAdminProjectReader,compute.backendBuckets.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudtrace.insights.list,True,True,service_roles (Unspecified - INTERNAL),cloudtrace.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.globalOperations.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,appengine.operations.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.instanceGroups.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.instanceConfigs.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.sslPolicies.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.sslCertificates.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.clusterRoles.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.secrets.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.disks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,resourcemanager.projects.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.forwardingRules.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.compositeTypes.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudkms.cryptoKeys.list,True,True,service_roles (Unspecified - INTERNAL),cloudkms.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.petSets.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.diskTypes.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,resourcemanager.folders.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,appengine.services.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.deployments.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.serviceAccounts.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.interconnects.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.globalAddresses.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,resourcemanager.folders.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.vpnTunnels.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,appengine.versions.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.subjectAccessReviews.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.runs.get,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.podTemplates.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataproc.agents.list,True,True,service_roles (Unspecified - INTERNAL),dataproc.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.clusters.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,monitoring.monitoredResourceDescriptors.get,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.roles.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.jobs.get,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,logging.logServices.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.endpoints.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.regionOperations.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.urlMaps.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudkms.cryptoKeyVersions.get,True,True,service_roles (Unspecified - INTERNAL),cloudkms.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.ingresses.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.storageClasses.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.projects.getConfig,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.replicaSets.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,logging.logMetrics.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.autoscalers.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.sslPolicies.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudsql.instances.get,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.networks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.backendServices.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,ml.versions.get,True,True,service_roles (Unspecified - INTERNAL),ml.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.targetVpnGateways.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.podPresets.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.commitments.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudkms.cryptoKeyVersions.list,True,True,service_roles (Unspecified - INTERNAL),cloudkms.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.instanceTemplates.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.thirdPartyResources.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.targetPools.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,iam.serviceAccounts.list,True,True,service_roles (Unspecified - INTERNAL),iam.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.interconnects.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.sessions.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.selfSubjectAccessReviews.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataproc.operations.list,True,True,service_roles (Unspecified - INTERNAL),dataproc.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.serviceAccounts.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,monitoring.metricDescriptors.get,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudtrace.traces.list,True,True,service_roles (Unspecified - INTERNAL),cloudtrace.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,datastore.indexes.list,True,True,service_roles (Unspecified - INTERNAL),datastore.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.persistentVolumeClaims.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,spanner.instanceConfigs.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.zones.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataflow.messages.list,True,True,service_roles (Unspecified - INTERNAL),dataflow.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,dataflow.jobs.get,True,True,service_roles (Unspecified - INTERNAL),dataflow.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.componentStatuses.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.types.get,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.certificateSigningRequests.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,logging.exclusions.get,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,deploymentmanager.typeProviders.list,True,True,service_roles (Unspecified - INTERNAL),deploymentmanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.cronJobs.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,compute.httpHealthChecks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,logging.logMetrics.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,logging.exclusions.list,True,True,service_roles (Unspecified - INTERNAL),logging.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,cloudkms.cryptoKeys.get,True,True,service_roles (Unspecified - INTERNAL),cloudkms.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectReader,container.scheduledJobs.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectWriter,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectWriter,resourcemanager.projects.undelete,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectWriter,resourcemanager.projects.setIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.googleAdminProjectWriter,resourcemanager.projects.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.inceptionProjectPolicyUpdater,resourcemanager.projects.setIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.inceptionProjectPolicyUpdater,resourcemanager.projects.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.internalOrganizationLifecycleManager,resourcemanager.organizations.undelete,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.internalOrganizationLifecycleManager,resourcemanager.organizations.delete,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.lienModifier,resourcemanager.projects.updateLiens,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.projects.list,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.projects.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.organizations.setIamPolicy,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.folders.setIamPolicy,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.organizations.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,orgpolicy.policy.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.projects.setIamPolicy,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.folders.list,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.organizations.getIamPolicy,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.projectInvites.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.projects.getIamPolicy,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.folders.getIamPolicy,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.folders.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationAdmin,resourcemanager.organizations.update,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationReader,resourcemanager.organizations.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.organizationViewer,resourcemanager.organizations.get,True,True,cloudresourcemanager.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.projectCreator,resourcemanager.organizations.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.projectCreator,resourcemanager.projects.create,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.projectDeleter,resourcemanager.projects.delete,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.projectDetailsReader,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.folders.delete,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.list,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.flexResourceAdmin.moveInstance,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.move,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.update,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.organizations.undelete,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.organizations.setIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.folders.setIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.folders.update,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.organizations.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.updateLiens,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.create,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.folders.undelete,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.undelete,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.createBillingAssignment,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.setIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.flexResourceAdmin.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.folders.list,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.flexResourceAdmin.undeleteInstance,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.flexResourceAdmin.setIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.organizations.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.organizations.delete,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projectInvites.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.flexResourceAdmin.deleteInstance,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projectInvites.acceptProjectOwnership,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.folders.create,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.folders.getIamPolicy,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.flexResourceAdmin.getInstance,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.folders.get,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.deleteBillingAssignment,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.organizations.update,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.folders.move,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.flexResourceAdmin.updateInstance,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.flexResourceAdmin.createInstance,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
resourcemanager.superUser,resourcemanager.projects.delete,True,True,service_roles (Unspecified - INTERNAL),cloudresourcemanager.googleapis.com (GA - PUBLIC)
servicemanagement.apiKeysReader,serviceusage.apiKeys.list,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.apiKeysReader,serviceusage.apiKeys.getProjectForKey,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.apiKeysReader,serviceusage.apiKeys.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.projectSettingsReader,serviceusage.services.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.projectSettingsReader,serviceusage.quotas.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.projectSettingsReader,serviceusage.services.list,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.quotaAdmin,resourcemanager.projects.list,True,True,servicemanagement.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
servicemanagement.quotaAdmin,servicemanagement.consumerSettings.getIamPolicy,True,True,servicemanagement.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.quotaAdmin,resourcemanager.projects.get,True,True,servicemanagement.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
servicemanagement.quotaAdmin,servicemanagement.consumerSettings.update,True,True,servicemanagement.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.quotaAdmin,resourcemanager.organizations.get,True,True,servicemanagement.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
servicemanagement.quotaAdmin,serviceusage.services.get,True,True,servicemanagement.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.quotaAdmin,servicemanagement.consumerSettings.list,True,True,servicemanagement.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.quotaAdmin,serviceusage.services.disable,True,True,servicemanagement.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.quotaAdmin,serviceusage.quotas.get,True,True,servicemanagement.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.quotaAdmin,servicemanagement.consumerSettings.setIamPolicy,True,True,servicemanagement.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.quotaAdmin,serviceusage.services.enable,True,True,servicemanagement.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.quotaAdmin,serviceusage.services.list,True,True,servicemanagement.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.quotaAdmin,servicemanagement.consumerSettings.get,True,True,servicemanagement.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.quotaAdmin,serviceusage.quotas.update,True,True,servicemanagement.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.quotaViewer,servicemanagement.consumerSettings.getIamPolicy,True,True,servicemanagement.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.quotaViewer,serviceusage.services.get,True,True,servicemanagement.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.quotaViewer,servicemanagement.consumerSettings.list,True,True,servicemanagement.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.quotaViewer,serviceusage.quotas.get,True,True,servicemanagement.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.quotaViewer,serviceusage.services.list,True,True,servicemanagement.googleapis.com (GA - PUBLIC),serviceusage.googleapis.com (BETA - INTERNAL)
servicemanagement.quotaViewer,servicemanagement.consumerSettings.get,True,True,servicemanagement.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.rootServiceReader,servicemanagement.services.get,True,True,service_roles (Unspecified - INTERNAL),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.rootServiceReader,servicemanagement.services.list,True,True,service_roles (Unspecified - INTERNAL),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.serviceConsumer,servicemanagement.services.bind,True,True,servicemanagement.googleapis.com (GA - PUBLIC),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.serviceController,servicemanagement.services.get,True,True,service_roles (Unspecified - INTERNAL),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.serviceController,servicemanagement.services.report,True,True,service_roles (Unspecified - INTERNAL),servicemanagement.googleapis.com (GA - PUBLIC)
servicemanagement.serviceController,servicemanagement.services.check,True,True,service_roles (Unspecified - INTERNAL),servicemanagement.googleapis.com (GA - PUBLIC)
serviceusage.apiKeysReader,serviceusage.apiKeys.list,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
serviceusage.apiKeysReader,serviceusage.apiKeys.getProjectForKey,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
serviceusage.apiKeysReader,serviceusage.apiKeys.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
serviceusage.enablementReader,serviceusage.services.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
serviceusage.enablementReader,serviceusage.services.list,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
serviceusage.quotaReader,serviceusage.quotas.get,True,True,service_roles (Unspecified - INTERNAL),serviceusage.googleapis.com (BETA - INTERNAL)
source.admin,source.repos.delete,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
source.admin,source.repos.create,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
source.admin,source.repos.setIamPolicy,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
source.admin,source.repos.get,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
source.admin,source.repos.getIamPolicy,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
source.admin,source.repos.list,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
source.admin,source.repos.update,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
source.reader,source.repos.get,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
source.reader,source.repos.list,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
source.writer,source.repos.get,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
source.writer,source.repos.list,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
source.writer,source.repos.update,True,True,sourcerepo.googleapis.com (GA - PUBLIC),sourcerepo.googleapis.com (GA - PUBLIC)
spanner.admin,spanner.databases.updateDdl,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.read,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.create,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databaseOperations.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,resourcemanager.projects.list,True,True,spanner.googleapis.com (BETA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
spanner.admin,spanner.instanceOperations.delete,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,resourcemanager.projects.get,True,True,spanner.googleapis.com (BETA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
spanner.admin,spanner.instances.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.instances.delete,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.instanceOperations.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databaseOperations.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.select,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.setIamPolicy,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.write,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.beginReadOnlyTransaction,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.sessions.delete,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.instances.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.update,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.sessions.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.instanceOperations.cancel,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,monitoring.timeSeries.list,True,True,spanner.googleapis.com (BETA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
spanner.admin,spanner.instances.getIamPolicy,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.instances.create,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databaseOperations.cancel,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.getDdl,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.instances.setIamPolicy,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.instanceOperations.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.sessions.create,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.instanceConfigs.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databaseOperations.delete,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.drop,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.beginOrRollbackReadWriteTransaction,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.sessions.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.databases.getIamPolicy,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.instanceConfigs.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.admin,spanner.instances.update,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.updateDdl,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.read,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.create,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databaseOperations.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,resourcemanager.projects.list,True,True,spanner.googleapis.com (BETA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
spanner.databaseAdmin,spanner.databases.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,resourcemanager.projects.get,True,True,spanner.googleapis.com (BETA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
spanner.databaseAdmin,spanner.instances.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databaseOperations.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.select,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.setIamPolicy,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.write,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.beginReadOnlyTransaction,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.sessions.delete,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.instances.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.update,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.sessions.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,monitoring.timeSeries.list,True,True,spanner.googleapis.com (BETA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
spanner.databaseAdmin,spanner.instances.getIamPolicy,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databaseOperations.cancel,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.getDdl,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.sessions.create,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databaseOperations.delete,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.drop,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.beginOrRollbackReadWriteTransaction,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.sessions.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseAdmin,spanner.databases.getIamPolicy,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseReader,spanner.databases.read,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseReader,spanner.databases.select,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseReader,spanner.databases.beginReadOnlyTransaction,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseReader,spanner.sessions.delete,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseReader,spanner.sessions.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseReader,spanner.databases.getDdl,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseReader,spanner.sessions.create,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseReader,spanner.sessions.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.databases.updateDdl,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.databases.read,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.databaseOperations.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.databaseOperations.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.databases.select,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.databases.write,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.databases.beginReadOnlyTransaction,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.sessions.delete,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.sessions.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.databaseOperations.cancel,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.databases.getDdl,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.sessions.create,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.databaseOperations.delete,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.databases.beginOrRollbackReadWriteTransaction,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.databaseUser,spanner.sessions.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.viewer,spanner.databases.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.viewer,resourcemanager.projects.list,True,True,spanner.googleapis.com (BETA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
spanner.viewer,resourcemanager.projects.get,True,True,spanner.googleapis.com (BETA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
spanner.viewer,spanner.instances.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.viewer,spanner.instances.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.viewer,monitoring.timeSeries.list,True,True,spanner.googleapis.com (BETA - PUBLIC),monitoring.googleapis.com (GA - PUBLIC)
spanner.viewer,spanner.instanceConfigs.list,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
spanner.viewer,spanner.instanceConfigs.get,True,True,spanner.googleapis.com (BETA - PUBLIC),spanner.googleapis.com (BETA - PUBLIC)
stackdriver.monitoringDataAccess,container.services.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,monitoring.monitoredResourceDescriptors.list,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.subnetworks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.addresses.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,container.namespaces.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.targetSslProxies.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.diskTypes.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,spanner.databases.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
stackdriver.monitoringDataAccess,compute.instanceGroups.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.healthChecks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.targetInstances.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.backendBuckets.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,bigquery.tables.list,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.firewalls.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,spanner.databases.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
stackdriver.monitoringDataAccess,compute.routes.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.httpsHealthChecks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.globalOperations.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.machineTypes.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.routes.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,pubsub.topics.get,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,spanner.instances.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
stackdriver.monitoringDataAccess,compute.routers.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,container.namespaces.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.licenses.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.licenses.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,cloudsql.instances.list,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.forwardingRules.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,container.events.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.networks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.targetVpnGateways.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,bigquery.tables.get,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.images.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.addresses.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,dataflow.jobs.list,True,True,service_roles (Unspecified - INTERNAL),dataflow.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,appengine.versions.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,pubsub.topics.list,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,cloudsql.databases.get,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,appengine.services.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,appengine.operations.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.targetPools.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.snapshots.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.targetSslProxies.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.instances.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.zoneOperations.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,monitoring.metricDescriptors.list,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.globalForwardingRules.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,container.events.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.regions.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.snapshots.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,appengine.applications.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.images.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.projects.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.targetHttpProxies.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.regionOperations.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,container.nodes.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,spanner.instances.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
stackdriver.monitoringDataAccess,container.pods.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,appengine.instances.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,container.pods.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.httpHealthChecks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.targetInstances.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,container.services.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,container.nodes.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.healthChecks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.machineTypes.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.urlMaps.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,storage.buckets.list,True,True,service_roles (Unspecified - INTERNAL),storage.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,monitoring.timeSeries.list,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,pubsub.subscriptions.get,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.targetHttpsProxies.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,appengine.instances.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.httpsHealthChecks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.subnetworks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,container.clusters.list,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,stackdriver.awsElbLoadBalancer.get,True,True,service_roles (Unspecified - INTERNAL),stackdriver.googleapis.com (GA - INTERNAL)
stackdriver.monitoringDataAccess,compute.firewalls.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.backendServices.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,bigquery.jobs.get,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.globalForwardingRules.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.disks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.sslCertificates.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.zones.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.targetHttpProxies.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.targetHttpsProxies.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.zoneOperations.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.instanceTemplates.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,bigquery.datasets.list,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,cloudsql.databases.list,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.autoscalers.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.routers.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.instances.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,stackdriver.projects.get,True,True,service_roles (Unspecified - INTERNAL),stackdriver.googleapis.com (GA - INTERNAL)
stackdriver.monitoringDataAccess,stackdriver.awsElbLoadBalancer.list,True,True,service_roles (Unspecified - INTERNAL),stackdriver.googleapis.com (GA - INTERNAL)
stackdriver.monitoringDataAccess,bigquery.datasets.get,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.globalAddresses.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.regions.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.instanceGroupManagers.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,appengine.applications.get,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.vpnTunnels.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,cloudnotifications.activities.list,True,True,service_roles (Unspecified - INTERNAL),cloudnotifications.googleapis.com (BETA - INTERNAL)
stackdriver.monitoringDataAccess,pubsub.subscriptions.list,True,True,service_roles (Unspecified - INTERNAL),pubsub.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.backendBuckets.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.globalOperations.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,appengine.operations.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.instanceGroups.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,spanner.instanceConfigs.list,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
stackdriver.monitoringDataAccess,compute.sslCertificates.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.disks.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.forwardingRules.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.diskTypes.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,appengine.services.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,stackdriver.awsEc2Instance.list,True,True,service_roles (Unspecified - INTERNAL),stackdriver.googleapis.com (GA - INTERNAL)
stackdriver.monitoringDataAccess,compute.globalAddresses.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.vpnTunnels.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,appengine.versions.list,True,True,service_roles (Unspecified - INTERNAL),appengine.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,container.clusters.get,True,True,service_roles (Unspecified - INTERNAL),container.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,monitoring.monitoredResourceDescriptors.get,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.regionOperations.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.urlMaps.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.autoscalers.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,cloudsql.instances.get,True,True,service_roles (Unspecified - INTERNAL),cloudsql.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.networks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.backendServices.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.targetVpnGateways.list,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,stackdriver.awsEc2Instance.get,True,True,service_roles (Unspecified - INTERNAL),stackdriver.googleapis.com (GA - INTERNAL)
stackdriver.monitoringDataAccess,compute.targetPools.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,bigquery.jobs.list,True,True,service_roles (Unspecified - INTERNAL),bigquery.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,monitoring.metricDescriptors.get,True,True,service_roles (Unspecified - INTERNAL),monitoring.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,spanner.instanceConfigs.get,True,True,service_roles (Unspecified - INTERNAL),spanner.googleapis.com (BETA - PUBLIC)
stackdriver.monitoringDataAccess,compute.zones.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,dataflow.jobs.get,True,True,service_roles (Unspecified - INTERNAL),dataflow.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,storage.objects.list,True,True,service_roles (Unspecified - INTERNAL),storage.googleapis.com (GA - PUBLIC)
stackdriver.monitoringDataAccess,compute.httpHealthChecks.get,True,True,service_roles (Unspecified - INTERNAL),compute.googleapis.com (GA - PUBLIC)
storage.admin,resourcemanager.projects.list,True,True,storage.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
storage.admin,storage.objects.getIamPolicy,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,resourcemanager.projects.get,True,True,storage.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
storage.admin,storage.objects.setIamPolicy,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.objects.get,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.buckets.setIamPolicy,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.objects.update,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.buckets.list,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.objects.delete,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.buckets.get,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.buckets.create,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.buckets.getIamPolicy,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.buckets.update,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.objects.create,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.objects.list,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.admin,storage.buckets.delete,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.bucketMetadataReader,storage.buckets.get,True,True,service_roles (Unspecified - INTERNAL),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketOwner,storage.buckets.setIamPolicy,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketOwner,storage.objects.delete,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketOwner,storage.buckets.get,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketOwner,storage.buckets.getIamPolicy,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketOwner,storage.buckets.update,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketOwner,storage.objects.create,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketOwner,storage.objects.list,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketReader,storage.buckets.get,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketReader,storage.objects.list,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketWriter,storage.objects.delete,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketWriter,storage.buckets.get,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketWriter,storage.objects.create,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyBucketWriter,storage.objects.list,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyObjectOwner,storage.objects.getIamPolicy,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyObjectOwner,storage.objects.setIamPolicy,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyObjectOwner,storage.objects.get,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyObjectOwner,storage.objects.update,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.legacyObjectReader,storage.objects.get,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.objectAdmin,resourcemanager.projects.list,True,True,storage.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
storage.objectAdmin,resourcemanager.projects.get,True,True,storage.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
storage.objectCreator,resourcemanager.projects.list,True,True,storage.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
storage.objectCreator,resourcemanager.projects.get,True,True,storage.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
storage.objectCreator,storage.objects.create,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.objectViewer,resourcemanager.projects.list,True,True,storage.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
storage.objectViewer,resourcemanager.projects.get,True,True,storage.googleapis.com (GA - PUBLIC),cloudresourcemanager.googleapis.com (GA - PUBLIC)
storage.objectViewer,storage.objects.get,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
storage.objectViewer,storage.objects.list,True,True,storage.googleapis.com (GA - PUBLIC),storage.googleapis.com (GA - PUBLIC)
workflow.performer,workflow.taskInstances.complete,True,True,workflow.googleapis.com (GA - INTERNAL),workflow.googleapis.com (GA - INTERNAL)
workflow.performer,workflow.taskInstances.get,True,True,workflow.googleapis.com (GA - INTERNAL),workflow.googleapis.com (GA - INTERNAL)
workflow.performer,workflow.taskInstances.update,True,True,workflow.googleapis.com (GA - INTERNAL),workflow.googleapis.com (GA - INTERNAL)
editor,appengine.applications.update,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
editor,appengine.instances.delete,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
editor,appengine.instances.update,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
editor,appengine.services.delete,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
editor,appengine.services.create,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
editor,appengine.services.update,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
editor,appengine.operations.cancel,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
editor,appengine.operations.delete,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
editor,appengine.versions.delete,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
editor,appengine.versions.create,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
editor,appengine.versions.update,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
editor,bigquery.datasets.create,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
editor,bigquery.savedqueries.create,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
editor,bigquery.savedqueries.delete,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
editor,bigquery.savedqueries.update,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
editor,bigquery.transfers.update,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
editor,clientauthconfig.brands.create,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
editor,clientauthconfig.brands.delete,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
editor,clientauthconfig.brands.update,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
editor,clientauthconfig.clients.create,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
editor,clientauthconfig.clients.createSecret,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
editor,clientauthconfig.clients.delete,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
editor,clientauthconfig.clients.getWithSecret,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
editor,clientauthconfig.clients.listWithSecrets,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
editor,clientauthconfig.clients.undelete,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
editor,clientauthconfig.clients.update,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
editor,cloudbuild.builds.create,True,True,N/A,cloudbuild.googleapis.com (GA - PUBLIC)
editor,cloudbuild.builds.update,True,True,N/A,cloudbuild.googleapis.com (GA - PUBLIC)
editor,clouddebugger.debuggees.create,True,True,N/A,clouddebugger.googleapis.com (BETA - PUBLIC)
editor,clouddebugger.debuggees.list,True,True,N/A,clouddebugger.googleapis.com (BETA - PUBLIC)
editor,clouddebugger.breakpoints.create,True,True,N/A,clouddebugger.googleapis.com (BETA - PUBLIC)
editor,clouddebugger.breakpoints.delete,True,True,N/A,clouddebugger.googleapis.com (BETA - PUBLIC)
editor,clouddebugger.breakpoints.get,True,True,N/A,clouddebugger.googleapis.com (BETA - PUBLIC)
editor,clouddebugger.breakpoints.list,True,True,N/A,clouddebugger.googleapis.com (BETA - PUBLIC)
editor,clouddebugger.breakpoints.listActive,True,True,N/A,clouddebugger.googleapis.com (BETA - PUBLIC)
editor,clouddebugger.breakpoints.update,True,True,N/A,clouddebugger.googleapis.com (BETA - PUBLIC)
editor,cloudiot.registries.delete,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
editor,cloudiot.registries.create,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
editor,cloudiot.registries.update,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
editor,cloudiot.devices.delete,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
editor,cloudiot.devices.create,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
editor,cloudiot.devices.update,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
editor,cloudiot.devices.updateConfig,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
editor,cloudkms.keyRings.create,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
editor,cloudkms.keyRings.update,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
editor,cloudkms.cryptoKeys.create,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
editor,cloudkms.cryptoKeys.update,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
editor,cloudkms.cryptoKeyVersions.create,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
editor,cloudkms.cryptoKeyVersions.update,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
editor,cloudsql.backupRuns.create,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.backupRuns.delete,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.databases.create,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.databases.delete,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.databases.update,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.clone,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.connect,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.create,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.delete,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.failover,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.import,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.migrate,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.promoteReplica,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.resetSslConfig,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.restart,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.restoreBackup,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.startReplica,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.stopReplica,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.truncateLog,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.instances.update,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.sslCerts.create,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.sslCerts.delete,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.sslCerts.createEphemeral,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.users.create,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.users.delete,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudsql.users.update,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
editor,cloudtestservice.matrices.create,True,True,N/A,testing.googleapis.com (GA - PUBLIC)
editor,cloudtestservice.matrices.delete,True,True,N/A,testing.googleapis.com (GA - PUBLIC)
editor,cloudtestservice.matrices.update,True,True,N/A,testing.googleapis.com (GA - PUBLIC)
editor,cloudtrace.traces.patch,True,True,N/A,cloudtrace.googleapis.com (GA - PUBLIC)
editor,cloudtrace.tasks.delete,True,True,N/A,cloudtrace.googleapis.com (GA - PUBLIC)
editor,compute.addresses.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.addresses.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.addresses.setLabels,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.addresses.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.addresses.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.globalAddresses.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.globalAddresses.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.globalAddresses.setLabels,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.globalAddresses.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.globalAddresses.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.autoscalers.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.autoscalers.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.autoscalers.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.backendBuckets.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.backendBuckets.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.backendBuckets.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.backendBuckets.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.backendServices.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.backendServices.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.backendServices.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.backendServices.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.commitments.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.disks.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.disks.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.disks.resize,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.disks.setLabels,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.disks.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.disks.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.firewalls.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.firewalls.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.firewalls.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.forwardingRules.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.forwardingRules.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.forwardingRules.setLabels,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.forwardingRules.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.globalForwardingRules.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.globalForwardingRules.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.globalForwardingRules.setLabels,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.globalForwardingRules.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.healthChecks.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.healthChecks.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.healthChecks.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.healthChecks.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.httpHealthChecks.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.httpHealthChecks.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.httpHealthChecks.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.httpHealthChecks.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.httpsHealthChecks.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.httpsHealthChecks.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.httpsHealthChecks.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.httpsHealthChecks.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.images.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.images.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.images.deprecate,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.images.setLabels,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.addAccessConfig,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.attachDisk,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.deleteAccessConfig,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.detachDisk,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.reset,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.setDiskAutoDelete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.setLabels,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.setMachineType,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.setMetadata,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.setScheduling,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.setTags,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.start,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.startWithEncryptionKey,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.stop,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instances.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instanceGroups.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instanceGroups.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instanceGroups.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instanceGroups.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instanceGroupManagers.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instanceGroupManagers.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instanceGroupManagers.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instanceGroupManagers.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instanceTemplates.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.instanceTemplates.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.interconnectAttachments.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.interconnectAttachments.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.interconnectAttachments.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.interconnectAttachments.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.interconnects.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.interconnects.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.interconnects.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.interconnects.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.licenses.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.networks.addPeering,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.networks.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.networks.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.networks.removePeering,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.networks.setCrossVmEncryption,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.networks.setLoadBalancerVmEncryption,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.networks.switchToCustomMode,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.networks.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.networks.updatePolicy,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.networks.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.networks.useExternalIp,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.globalOperations.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.regionOperations.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.zoneOperations.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.projects.setCommonInstanceMetadata,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.projects.setUsageExportBucket,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.projects.setDefaultServiceAccount,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.routes.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.routes.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.snapshots.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.snapshots.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.snapshots.setLabels,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.sslCertificates.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.sslCertificates.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.sslPolicies.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.sslPolicies.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.sslPolicies.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.sslPolicies.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.subnetworks.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.subnetworks.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.subnetworks.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.subnetworks.updatePolicy,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.subnetworks.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.subnetworks.useExternalIp,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetHttpProxies.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetHttpProxies.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetHttpProxies.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetHttpProxies.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetHttpsProxies.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetHttpsProxies.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetHttpsProxies.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetHttpsProxies.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetInstances.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetInstances.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetInstances.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetPools.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetPools.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetPools.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetPools.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetSslProxies.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetSslProxies.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetSslProxies.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetSslProxies.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetVpnGateways.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetVpnGateways.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.targetVpnGateways.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.urlMaps.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.urlMaps.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.urlMaps.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.urlMaps.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.vpnTunnels.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.vpnTunnels.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.vpnTunnels.setLabels,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.vpnTunnels.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.routers.create,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.routers.delete,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.routers.update,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,compute.routers.use,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
editor,container.clusters.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.clusters.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.clusters.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.clusters.getCredentials,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.namespaces.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.namespaces.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.namespaces.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.namespaces.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.bindings.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.bindings.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.bindings.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.certificateSigningRequests.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.certificateSigningRequests.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.certificateSigningRequests.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.certificateSigningRequests.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.configMaps.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.configMaps.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.configMaps.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.cronJobs.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.cronJobs.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.cronJobs.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.cronJobs.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.daemonSets.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.daemonSets.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.daemonSets.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.daemonSets.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.deployments.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.deployments.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.deployments.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.deployments.rollback,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.deployments.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.endpoints.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.endpoints.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.endpoints.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.events.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.events.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.events.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.horizontalPodAutoscalers.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.horizontalPodAutoscalers.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.horizontalPodAutoscalers.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.horizontalPodAutoscalers.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.ingresses.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.ingresses.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.ingresses.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.ingresses.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.jobs.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.jobs.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.jobs.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.jobs.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.limitRanges.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.limitRanges.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.limitRanges.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.networkPolicies.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.networkPolicies.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.networkPolicies.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.nodes.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.nodes.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.nodes.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.nodes.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.nodes.proxy,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.persistentVolumeClaims.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.persistentVolumeClaims.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.persistentVolumeClaims.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.persistentVolumeClaims.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.persistentVolumes.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.persistentVolumes.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.persistentVolumes.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.persistentVolumes.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.petSets.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.petSets.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.petSets.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.petSets.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.podDisruptionBudgets.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.podDisruptionBudgets.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.podDisruptionBudgets.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.podDisruptionBudgets.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.pods.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.pods.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.pods.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.pods.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.pods.attach,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.pods.exec,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.pods.portForward,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.pods.proxy,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.pods.evict,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.podPresets.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.podPresets.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.podPresets.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.podTemplates.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.podTemplates.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.podTemplates.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.replicaSets.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.replicaSets.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.replicaSets.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.replicaSets.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.replicationControllers.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.replicationControllers.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.replicationControllers.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.replicationControllers.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.resourceQuotas.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.resourceQuotas.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.resourceQuotas.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.resourceQuotas.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.scheduledJobs.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.scheduledJobs.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.scheduledJobs.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.scheduledJobs.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.secrets.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.secrets.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.secrets.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.secrets.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.secrets.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.serviceAccounts.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.serviceAccounts.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.serviceAccounts.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.services.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.services.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.services.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.services.proxy,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.statefulSets.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.statefulSets.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.statefulSets.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.statefulSets.updateStatus,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.storageClasses.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.storageClasses.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.storageClasses.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.thirdPartyResources.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.thirdPartyResources.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.thirdPartyResources.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.thirdPartyObjects.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.thirdPartyObjects.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,container.thirdPartyObjects.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
editor,dataflow.jobs.create,True,True,N/A,dataflow.googleapis.com (GA - PUBLIC)
editor,dataflow.jobs.cancel,True,True,N/A,dataflow.googleapis.com (GA - PUBLIC)
editor,dataflow.jobs.pause,True,True,N/A,dataflow.googleapis.com (GA - PUBLIC)
editor,dataflow.jobs.resume,True,True,N/A,dataflow.googleapis.com (GA - PUBLIC)
editor,dataflow.jobs.updateContents,True,True,N/A,dataflow.googleapis.com (GA - PUBLIC)
editor,dataprep.projects.use,True,True,N/A,dataprep.googleapis.com (BETA - INTERNAL)
editor,dataproc.clusters.create,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.clusters.delete,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.clusters.update,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.clusters.use,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.agents.create,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.agents.update,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.agents.delete,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.tasks.lease,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.tasks.reportStatus,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.jobs.create,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.jobs.delete,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.jobs.update,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.jobs.cancel,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.operations.delete,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,dataproc.operations.cancel,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
editor,datastore.databases.update,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
editor,datastore.entities.delete,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
editor,datastore.entities.create,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
editor,datastore.entities.allocateIds,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
editor,datastore.entities.update,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
editor,datastore.indexes.delete,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
editor,datastore.indexes.create,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
editor,datastore.indexes.update,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.deployments.cancelPreview,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.deployments.create,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.deployments.delete,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.deployments.stop,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.deployments.update,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.types.create,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.types.delete,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.types.update,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.typeProviders.create,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.typeProviders.delete,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.typeProviders.update,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.compositeTypes.create,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.compositeTypes.delete,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,deploymentmanager.compositeTypes.update,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
editor,dlp.inspectOperations.cancel,True,True,N/A,dlp.googleapis.com (BETA - PUBLIC)
editor,dlp.inspectOperations.create,True,True,N/A,dlp.googleapis.com (BETA - PUBLIC)
editor,errorreporting.errorEvents.create,True,True,N/A,clouderrorreporting.googleapis.com (BETA - PUBLIC)
editor,errorreporting.errorEvents.delete,True,True,N/A,clouderrorreporting.googleapis.com (BETA - PUBLIC)
editor,errorreporting.groupMetadata.update,True,True,N/A,clouderrorreporting.googleapis.com (BETA - PUBLIC)
editor,genomics.datasets.create,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
editor,genomics.datasets.delete,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
editor,genomics.datasets.update,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
editor,genomics.operations.cancel,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
editor,genomics.operations.create,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
editor,genomics.operations.delete,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
editor,iam.serviceAccountKeys.delete,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
editor,iam.serviceAccountKeys.create,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
editor,iam.serviceAccounts.actAs,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
editor,iam.serviceAccounts.delete,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
editor,iam.serviceAccounts.create,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
editor,iam.serviceAccounts.update,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
editor,logging.logEntries.create,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
editor,logging.logMetrics.create,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
editor,logging.logMetrics.update,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
editor,logging.logMetrics.delete,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
editor,logging.logs.delete,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
editor,ml.jobs.create,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.jobs.cancel,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.operations.cancel,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.models.create,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.models.delete,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.models.update,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.versions.create,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.versions.delete,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.versions.update,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.pipelines.create,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.pipelines.cancel,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.pipelines.update,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.pipelines.pause,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,ml.pipelines.resume,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
editor,monitoring.metricDescriptors.create,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
editor,monitoring.metricDescriptors.delete,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
editor,monitoring.timeSeries.create,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
editor,monitoring.groups.create,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
editor,monitoring.groups.delete,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
editor,monitoring.groups.update,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
editor,proximitybeacon.attachments.create,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
editor,proximitybeacon.attachments.delete,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
editor,proximitybeacon.beacons.create,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
editor,proximitybeacon.beacons.update,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
editor,proximitybeacon.beacons.attach,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
editor,proximitybeacon.namespaces.create,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
editor,proximitybeacon.namespaces.delete,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
editor,proximitybeacon.namespaces.update,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
editor,pubsub.subscriptions.create,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
editor,pubsub.subscriptions.delete,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
editor,pubsub.subscriptions.consume,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
editor,pubsub.subscriptions.update,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
editor,pubsub.topics.create,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
editor,pubsub.topics.delete,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
editor,pubsub.topics.attachSubscription,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
editor,pubsub.topics.publish,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
editor,pubsub.topics.update,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
editor,resourcemanager.projects.update,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
editor,resourcemanager.projects.move,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
editor,resourcemanager.flexResourceAdmin.deleteInstance,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
editor,resourcemanager.flexResourceAdmin.undeleteInstance,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
editor,resourcemanager.flexResourceAdmin.createInstance,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
editor,resourcemanager.flexResourceAdmin.updateInstance,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
editor,resourcemanager.flexResourceAdmin.moveInstance,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
editor,runtimeconfig.configs.create,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
editor,runtimeconfig.configs.update,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
editor,runtimeconfig.configs.delete,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
editor,runtimeconfig.variables.create,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
editor,runtimeconfig.variables.update,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
editor,runtimeconfig.variables.delete,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
editor,runtimeconfig.waiters.create,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
editor,runtimeconfig.waiters.update,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
editor,runtimeconfig.waiters.delete,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
editor,servicemanagement.consumerSettings.update,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
editor,servicemanagement.services.delete,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
editor,servicemanagement.services.create,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
editor,servicemanagement.services.update,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
editor,servicemanagement.services.use,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
editor,servicemanagement.services.bind,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
editor,servicemanagement.services.check,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
editor,servicemanagement.services.report,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
editor,serviceusage.services.enable,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
editor,serviceusage.services.disable,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
editor,serviceusage.services.use,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
editor,serviceusage.quotas.update,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
editor,serviceusage.operations.delete,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
editor,serviceusage.apiKeys.create,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
editor,serviceusage.apiKeys.update,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
editor,serviceusage.apiKeys.delete,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
editor,serviceusage.apiKeys.regenerate,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
editor,serviceusage.apiKeys.revert,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
editor,source.repos.update,True,True,N/A,sourcerepo.googleapis.com (GA - PUBLIC)
editor,spanner.instances.create,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.instances.update,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.instances.delete,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.instanceOperations.cancel,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.instanceOperations.delete,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.databases.create,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.databases.update,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.databases.updateDdl,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.databases.beginOrRollbackReadWriteTransaction,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.databases.write,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.databases.drop,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.databaseOperations.cancel,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,spanner.databaseOperations.delete,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
editor,stackdriver.awsEc2Instance.create,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
editor,stackdriver.awsEc2Instance.delete,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
editor,stackdriver.awsEc2Instance.update,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
editor,stackdriver.awsElbLoadBalancer.create,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
editor,stackdriver.awsElbLoadBalancer.delete,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
editor,stackdriver.awsElbLoadBalancer.update,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
editor,storage.buckets.delete,True,True,N/A,storage.googleapis.com (GA - PUBLIC)
editor,storage.buckets.create,True,True,N/A,storage.googleapis.com (GA - PUBLIC)
editor,workflow.projects.update,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.projectMetadata.create,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.projectMetadata.update,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.projectMetadata.delete,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processes.create,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processes.update,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processMetadata.create,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processMetadata.update,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processMetadata.delete,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processDefinitions.create,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processDefinitions.update,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processDefinitionMetadata.create,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processDefinitionMetadata.update,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processDefinitionMetadata.delete,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processInstances.create,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processInstances.message,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processInstances.update,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processInstanceMetadata.create,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processInstanceMetadata.update,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.processInstanceMetadata.delete,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.taskInstances.complete,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.taskInstances.fail,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.taskInstances.update,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.taskInstanceMetadata.create,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.taskInstanceMetadata.update,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
editor,workflow.taskInstanceMetadata.delete,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
owner,appengine.applications.disable,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
owner,appengine.applications.create,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
owner,appengine.versions.getFileContents,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
owner,bigquery.jobs.update,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
owner,bigquery.datasets.delete,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
owner,bigquery.datasets.update,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
owner,bigquery.config.update,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
owner,cloudiot.registries.setIamPolicy,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
owner,cloudkms.keyRings.setIamPolicy,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
owner,cloudkms.cryptoKeys.setIamPolicy,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
owner,cloudkms.cryptoKeyVersions.setIamPolicy,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
owner,cloudkms.cryptoKeyVersions.useToEncrypt,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
owner,cloudkms.cryptoKeyVersions.useToDecrypt,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
owner,cloudkms.cryptoKeyVersions.destroy,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
owner,cloudkms.cryptoKeyVersions.restore,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
owner,cloudsql.databases.getIamPolicy,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
owner,cloudsql.databases.setIamPolicy,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
owner,cloudsql.instances.getIamPolicy,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
owner,cloudsql.instances.setIamPolicy,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
owner,compute.interconnectLocations.setIamPolicy,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
owner,compute.interconnects.getIamPolicy,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
owner,compute.interconnects.setIamPolicy,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
owner,compute.subnetworks.getIamPolicy,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
owner,compute.subnetworks.setIamPolicy,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
owner,container.certificateSigningRequests.approve,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.clusterRoleBindings.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.clusterRoleBindings.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.clusterRoleBindings.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.clusterRoles.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.clusterRoles.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.clusterRoles.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.clusterRoles.bind,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.localSubjectAccessReviews.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.roleBindings.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.roleBindings.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.roleBindings.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.roles.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.roles.delete,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.roles.update,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.roles.bind,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,container.subjectAccessReviews.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
owner,dataproc.clusters.setIamPolicy,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
owner,dataproc.clusters.getIamPolicy,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
owner,dataproc.jobs.setIamPolicy,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
owner,dataproc.jobs.getIamPolicy,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
owner,dataproc.operations.setIamPolicy,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
owner,dataproc.operations.getIamPolicy,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
owner,datastore.databases.delete,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.databases.getIamPolicy,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.databases.create,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.databases.setIamPolicy,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.databases.export,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.databases.import,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.operations.get,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.operations.list,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.operations.cancel,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.operations.delete,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.operations.get,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.operations.list,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.operations.cancel,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.operations.delete,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.namespaces.getIamPolicy,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,datastore.namespaces.setIamPolicy,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
owner,deploymentmanager.deployments.getIamPolicy,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
owner,deploymentmanager.deployments.setIamPolicy,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
owner,dlp.inspectFindings.list,True,True,N/A,dlp.googleapis.com (BETA - PUBLIC)
owner,genomics.datasets.getIamPolicy,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
owner,genomics.datasets.setIamPolicy,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
owner,iam.serviceAccounts.setIamPolicy,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
owner,logging.privateLogEntries.list,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
owner,logging.sinks.create,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
owner,logging.sinks.update,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
owner,logging.sinks.delete,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
owner,logging.exclusions.create,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
owner,logging.exclusions.update,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
owner,logging.exclusions.delete,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
owner,ml.jobs.setIamPolicy,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
owner,ml.operations.setIamPolicy,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
owner,ml.models.setIamPolicy,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
owner,proximitybeacon.beacons.setIamPolicy,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
owner,proximitybeacon.beacons.getIamPolicy,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
owner,proximitybeacon.namespaces.setIamPolicy,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
owner,proximitybeacon.namespaces.getIamPolicy,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
owner,pubsub.subscriptions.getIamPolicy,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
owner,pubsub.subscriptions.setIamPolicy,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
owner,pubsub.topics.getIamPolicy,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
owner,pubsub.topics.setIamPolicy,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
owner,reservepartner.portal.write,True,True,N/A,reservepartner.googleapis.com (GA - INTERNAL)
owner,resourcemanager.projects.delete,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
owner,resourcemanager.projects.setIamPolicy,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
owner,resourcemanager.projects.undelete,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
owner,resourcemanager.projects.createBillingAssignment,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
owner,resourcemanager.projects.deleteBillingAssignment,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
owner,resourcemanager.projects.updateLiens,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
owner,resourcemanager.flexResourceAdmin.setIamPolicy,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
owner,runtimeconfig.configs.setIamPolicy,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
owner,runtimeconfig.configs.getIamPolicy,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
owner,runtimeconfig.variables.setIamPolicy,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
owner,runtimeconfig.variables.getIamPolicy,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
owner,runtimeconfig.waiters.setIamPolicy,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
owner,runtimeconfig.waiters.getIamPolicy,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
owner,servicemanagement.consumerSettings.setIamPolicy,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
owner,servicemanagement.consumerSettings.getIamPolicy,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
owner,servicemanagement.services.setIamPolicy,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
owner,servicemanagement.services.getIamPolicy,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
owner,source.repos.create,True,True,N/A,sourcerepo.googleapis.com (GA - PUBLIC)
owner,source.repos.delete,True,True,N/A,sourcerepo.googleapis.com (GA - PUBLIC)
owner,source.repos.setIamPolicy,True,True,N/A,sourcerepo.googleapis.com (GA - PUBLIC)
owner,source.repos.getIamPolicy,True,True,N/A,sourcerepo.googleapis.com (GA - PUBLIC)
owner,spanner.instances.setIamPolicy,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
owner,spanner.databases.setIamPolicy,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
owner,stackdriver.projects.edit,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
owner,workflow.projects.setIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
owner,workflow.projectMetadata.setIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
owner,workflow.processes.setIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
owner,workflow.processMetadata.setIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
owner,workflow.processDefinitions.setIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
owner,workflow.processDefinitionMetadata.setIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
owner,workflow.processInstances.setIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
owner,workflow.processInstanceMetadata.setIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
owner,workflow.taskInstances.setIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
owner,workflow.taskInstanceMetadata.setIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,appengine.applications.get,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
viewer,appengine.applications.list,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
viewer,appengine.instances.get,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
viewer,appengine.instances.list,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
viewer,appengine.services.get,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
viewer,appengine.services.list,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
viewer,appengine.operations.get,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
viewer,appengine.operations.list,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
viewer,appengine.runtimes.actAsAdmin,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
viewer,appengine.versions.get,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
viewer,appengine.versions.list,True,True,N/A,appengine.googleapis.com (GA - PUBLIC)
viewer,bigquery.jobs.create,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
viewer,bigquery.jobs.list,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
viewer,bigquery.jobs.get,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
viewer,bigquery.datasets.list,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
viewer,bigquery.datasets.get,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
viewer,bigquery.config.get,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
viewer,bigquery.savedqueries.list,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
viewer,bigquery.savedqueries.get,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
viewer,bigquery.transfers.get,True,True,N/A,bigquery.googleapis.com (GA - PUBLIC)
viewer,clientauthconfig.brands.get,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
viewer,clientauthconfig.brands.list,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
viewer,clientauthconfig.clients.get,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
viewer,clientauthconfig.clients.list,True,True,N/A,clientauthconfig.googleapis.com (BETA - INTERNAL)
viewer,cloudbuild.builds.get,True,True,N/A,cloudbuild.googleapis.com (GA - PUBLIC)
viewer,cloudbuild.builds.list,True,True,N/A,cloudbuild.googleapis.com (GA - PUBLIC)
viewer,cloudiot.registries.get,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
viewer,cloudiot.registries.list,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
viewer,cloudiot.registries.getIamPolicy,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
viewer,cloudiot.devices.get,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
viewer,cloudiot.devices.list,True,True,N/A,cloudiot.googleapis.com (BETA - INTERNAL)
viewer,cloudkms.keyRings.list,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
viewer,cloudkms.keyRings.get,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
viewer,cloudkms.keyRings.getIamPolicy,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
viewer,cloudkms.cryptoKeys.list,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
viewer,cloudkms.cryptoKeys.get,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
viewer,cloudkms.cryptoKeys.getIamPolicy,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
viewer,cloudkms.cryptoKeyVersions.list,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
viewer,cloudkms.cryptoKeyVersions.get,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
viewer,cloudkms.cryptoKeyVersions.getIamPolicy,True,True,N/A,cloudkms.googleapis.com (GA - PUBLIC)
viewer,cloudnotifications.activities.list,True,True,N/A,cloudnotifications.googleapis.com (BETA - INTERNAL)
viewer,cloudsql.backupRuns.get,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
viewer,cloudsql.backupRuns.list,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
viewer,cloudsql.databases.get,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
viewer,cloudsql.databases.list,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
viewer,cloudsql.instances.export,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
viewer,cloudsql.instances.get,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
viewer,cloudsql.instances.list,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
viewer,cloudsql.sslCerts.get,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
viewer,cloudsql.sslCerts.list,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
viewer,cloudsql.users.list,True,True,N/A,cloudsql.googleapis.com (GA - PUBLIC)
viewer,cloudtestservice.matrices.list,True,True,N/A,testing.googleapis.com (GA - PUBLIC)
viewer,cloudtestservice.matrices.get,True,True,N/A,testing.googleapis.com (GA - PUBLIC)
viewer,cloudtestservice.environmentcatalog.get,True,True,N/A,testing.googleapis.com (GA - PUBLIC)
viewer,cloudtrace.traces.get,True,True,N/A,cloudtrace.googleapis.com (GA - PUBLIC)
viewer,cloudtrace.traces.list,True,True,N/A,cloudtrace.googleapis.com (GA - PUBLIC)
viewer,cloudtrace.tasks.get,True,True,N/A,cloudtrace.googleapis.com (GA - PUBLIC)
viewer,cloudtrace.tasks.list,True,True,N/A,cloudtrace.googleapis.com (GA - PUBLIC)
viewer,cloudtrace.tasks.create,True,True,N/A,cloudtrace.googleapis.com (GA - PUBLIC)
viewer,cloudtrace.insights.get,True,True,N/A,cloudtrace.googleapis.com (GA - PUBLIC)
viewer,cloudtrace.insights.list,True,True,N/A,cloudtrace.googleapis.com (GA - PUBLIC)
viewer,cloudtrace.stats.get,True,True,N/A,cloudtrace.googleapis.com (GA - PUBLIC)
viewer,compute.acceleratorTypes.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.acceleratorTypes.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.addresses.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.addresses.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.globalAddresses.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.globalAddresses.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.autoscalers.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.autoscalers.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.backendBuckets.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.backendBuckets.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.backendServices.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.backendServices.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.commitments.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.commitments.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.disks.createSnapshot,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.disks.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.disks.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.disks.useReadOnly,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.diskTypes.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.diskTypes.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.firewalls.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.firewalls.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.forwardingRules.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.forwardingRules.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.globalForwardingRules.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.globalForwardingRules.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.healthChecks.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.healthChecks.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.healthChecks.useReadOnly,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.httpHealthChecks.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.httpHealthChecks.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.httpHealthChecks.useReadOnly,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.httpsHealthChecks.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.httpsHealthChecks.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.httpsHealthChecks.useReadOnly,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.images.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.images.getFromFamily,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.images.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.images.useReadOnly,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instances.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instances.getGuestAttributes,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instances.getSerialPortOutput,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instances.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instances.listReferrers,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instanceGroups.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instanceGroups.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instanceGroupManagers.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instanceGroupManagers.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instanceTemplates.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instanceTemplates.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.instanceTemplates.useReadOnly,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.interconnectAttachments.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.interconnectAttachments.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.interconnectLocations.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.interconnectLocations.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.interconnectLocations.getIamPolicy,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.interconnects.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.interconnects.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.licenses.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.licenses.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.machineTypes.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.machineTypes.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.networks.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.networks.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.networks.listIpOwners,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.networks.listUsableSubnets,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.globalOperations.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.globalOperations.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.regionOperations.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.regionOperations.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.zoneOperations.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.zoneOperations.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.projects.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.regions.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.regions.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.routes.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.routes.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.snapshots.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.snapshots.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.snapshots.useReadOnly,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.sslCertificates.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.sslCertificates.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.sslPolicies.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.sslPolicies.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.subnetworks.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.subnetworks.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.subnetworks.listIpOwners,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetHttpProxies.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetHttpProxies.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetHttpsProxies.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetHttpsProxies.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetInstances.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetInstances.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetPools.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetPools.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetSslProxies.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetSslProxies.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetVpnGateways.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.targetVpnGateways.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.urlMaps.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.urlMaps.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.vpnTunnels.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.vpnTunnels.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.routers.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.routers.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.zones.get,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,compute.zones.list,True,True,N/A,compute.googleapis.com (GA - PUBLIC)
viewer,container.clusters.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.clusters.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.operations.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.operations.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.namespaces.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.namespaces.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.bindings.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.bindings.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.certificateSigningRequests.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.certificateSigningRequests.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.clusterRoleBindings.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.clusterRoleBindings.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.clusterRoles.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.clusterRoles.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.componentStatuses.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.componentStatuses.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.configMaps.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.configMaps.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.cronJobs.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.cronJobs.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.daemonSets.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.daemonSets.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.deployments.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.deployments.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.endpoints.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.endpoints.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.events.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.events.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.horizontalPodAutoscalers.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.horizontalPodAutoscalers.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.ingresses.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.ingresses.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.jobs.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.jobs.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.limitRanges.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.limitRanges.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.localSubjectAccessReviews.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.networkPolicies.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.networkPolicies.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.nodes.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.nodes.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.persistentVolumeClaims.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.persistentVolumeClaims.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.persistentVolumes.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.persistentVolumes.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.petSets.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.petSets.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.podDisruptionBudgets.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.podDisruptionBudgets.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.pods.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.pods.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.pods.getLogs,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.podPresets.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.podPresets.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.podTemplates.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.podTemplates.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.replicaSets.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.replicaSets.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.replicationControllers.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.replicationControllers.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.resourceQuotas.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.resourceQuotas.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.roleBindings.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.roleBindings.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.roles.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.roles.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.scheduledJobs.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.scheduledJobs.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.selfSubjectAccessReviews.create,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.selfSubjectAccessReviews.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.serviceAccounts.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.serviceAccounts.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.services.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.services.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.statefulSets.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.statefulSets.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.storageClasses.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.storageClasses.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.subjectAccessReviews.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.thirdPartyResources.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.thirdPartyResources.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.thirdPartyObjects.get,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,container.thirdPartyObjects.list,True,True,N/A,container.googleapis.com (GA - PUBLIC)
viewer,dataflow.jobs.list,True,True,N/A,dataflow.googleapis.com (GA - PUBLIC)
viewer,dataflow.jobs.get,True,True,N/A,dataflow.googleapis.com (GA - PUBLIC)
viewer,dataflow.messages.list,True,True,N/A,dataflow.googleapis.com (GA - PUBLIC)
viewer,dataflow.metrics.get,True,True,N/A,dataflow.googleapis.com (GA - PUBLIC)
viewer,dataproc.regions.list,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
viewer,dataproc.clusters.get,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
viewer,dataproc.clusters.list,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
viewer,dataproc.agents.get,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
viewer,dataproc.agents.list,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
viewer,dataproc.tasks.listInvalidatedLeases,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
viewer,dataproc.jobs.get,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
viewer,dataproc.jobs.list,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
viewer,dataproc.operations.get,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
viewer,dataproc.operations.list,True,True,N/A,dataproc.googleapis.com (GA - PUBLIC)
viewer,datastore.databases.get,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
viewer,datastore.databases.list,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
viewer,datastore.entities.get,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
viewer,datastore.entities.list,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
viewer,datastore.indexes.get,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
viewer,datastore.indexes.list,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
viewer,datastore.namespaces.get,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
viewer,datastore.namespaces.list,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
viewer,datastore.statistics.get,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
viewer,datastore.statistics.list,True,True,N/A,datastore.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.deployments.get,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.deployments.list,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.manifests.get,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.manifests.list,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.operations.get,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.operations.list,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.resources.get,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.resources.list,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.types.get,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.types.list,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.typeProviders.get,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.typeProviders.list,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.typeProviders.getType,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.typeProviders.listTypes,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.compositeTypes.get,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,deploymentmanager.compositeTypes.list,True,True,N/A,deploymentmanager.googleapis.com (GA - PUBLIC)
viewer,dlp.inspectOperations.get,True,True,N/A,dlp.googleapis.com (BETA - PUBLIC)
viewer,dlp.inspectOperations.list,True,True,N/A,dlp.googleapis.com (BETA - PUBLIC)
viewer,errorreporting.applications.list,True,True,N/A,clouderrorreporting.googleapis.com (BETA - PUBLIC)
viewer,errorreporting.groups.list,True,True,N/A,clouderrorreporting.googleapis.com (BETA - PUBLIC)
viewer,errorreporting.errorEvents.list,True,True,N/A,clouderrorreporting.googleapis.com (BETA - PUBLIC)
viewer,errorreporting.groupMetadata.get,True,True,N/A,clouderrorreporting.googleapis.com (BETA - PUBLIC)
viewer,genomics.datasets.get,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
viewer,genomics.datasets.list,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
viewer,genomics.operations.get,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
viewer,genomics.operations.list,True,True,N/A,genomics.googleapis.com (GA - PUBLIC)
viewer,iam.serviceAccountKeys.list,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
viewer,iam.serviceAccountKeys.get,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
viewer,iam.serviceAccounts.get,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
viewer,iam.serviceAccounts.getIamPolicy,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
viewer,iam.serviceAccounts.list,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
viewer,iam.projectSettings.get,True,True,N/A,iam.googleapis.com (GA - PUBLIC)
viewer,logging.logEntries.list,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
viewer,logging.logMetrics.list,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
viewer,logging.logMetrics.get,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
viewer,logging.logs.list,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
viewer,logging.logServiceIndexes.list,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
viewer,logging.logServices.list,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
viewer,logging.sinks.list,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
viewer,logging.sinks.get,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
viewer,logging.exclusions.list,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
viewer,logging.exclusions.get,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
viewer,logging.usage.get,True,True,N/A,logging.googleapis.com (GA - PUBLIC)
viewer,ml.projects.getConfig,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.jobs.list,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.jobs.get,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.jobs.getIamPolicy,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.operations.list,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.operations.get,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.operations.getIamPolicy,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.models.list,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.models.get,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.models.predict,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.models.getIamPolicy,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.versions.list,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.versions.get,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.versions.predict,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.pipelines.list,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.pipelines.get,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.runs.list,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,ml.runs.get,True,True,N/A,ml.googleapis.com (BETA - PUBLIC)
viewer,monitoring.metricDescriptors.list,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
viewer,monitoring.metricDescriptors.get,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
viewer,monitoring.monitoredResourceDescriptors.list,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
viewer,monitoring.monitoredResourceDescriptors.get,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
viewer,monitoring.timeSeries.list,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
viewer,monitoring.groups.list,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
viewer,monitoring.groups.get,True,True,N/A,monitoring.googleapis.com (GA - PUBLIC)
viewer,proximitybeacon.attachments.get,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
viewer,proximitybeacon.attachments.list,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
viewer,proximitybeacon.beacons.get,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
viewer,proximitybeacon.beacons.list,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
viewer,proximitybeacon.namespaces.list,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
viewer,proximitybeacon.namespaces.get,True,True,N/A,proximitybeacon.googleapis.com (GA - PUBLIC)
viewer,pubsub.subscriptions.list,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
viewer,pubsub.subscriptions.get,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
viewer,pubsub.topics.list,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
viewer,pubsub.topics.get,True,True,N/A,pubsub.googleapis.com (GA - PUBLIC)
viewer,reservepartner.portal.read,True,True,N/A,reservepartner.googleapis.com (GA - INTERNAL)
viewer,resourcemanager.projects.get,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
viewer,resourcemanager.projects.getIamPolicy,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
viewer,resourcemanager.projects.list,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
viewer,orgpolicy.policy.get,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
viewer,resourcemanager.flexResourceAdmin.getInstance,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
viewer,resourcemanager.flexResourceAdmin.getIamPolicy,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
viewer,resourcemanager.projectInvites.get,True,True,N/A,cloudresourcemanager.googleapis.com (GA - PUBLIC)
viewer,runtimeconfig.configs.list,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
viewer,runtimeconfig.configs.get,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
viewer,runtimeconfig.variables.list,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
viewer,runtimeconfig.variables.watch,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
viewer,runtimeconfig.variables.get,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
viewer,runtimeconfig.waiters.list,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
viewer,runtimeconfig.waiters.get,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
viewer,runtimeconfig.operations.get,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
viewer,runtimeconfig.operations.list,True,True,N/A,runtimeconfig.googleapis.com (GA - PUBLIC)
viewer,servicemanagement.consumerSettings.get,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
viewer,servicemanagement.consumerSettings.list,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
viewer,servicemanagement.services.get,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
viewer,servicemanagement.services.list,True,True,N/A,servicemanagement.googleapis.com (GA - PUBLIC)
viewer,serviceusage.services.get,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
viewer,serviceusage.services.list,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
viewer,serviceusage.quotas.get,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
viewer,serviceusage.operations.get,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
viewer,serviceusage.operations.list,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
viewer,serviceusage.apiKeys.get,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
viewer,serviceusage.apiKeys.getProjectForKey,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
viewer,serviceusage.apiKeys.list,True,True,N/A,serviceusage.googleapis.com (BETA - INTERNAL)
viewer,source.repos.get,True,True,N/A,sourcerepo.googleapis.com (GA - PUBLIC)
viewer,source.repos.list,True,True,N/A,sourcerepo.googleapis.com (GA - PUBLIC)
viewer,spanner.instanceConfigs.list,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.instanceConfigs.get,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.instances.list,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.instances.get,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.instances.getIamPolicy,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.instanceOperations.list,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.instanceOperations.get,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.databases.list,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.databases.get,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.databases.getDdl,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.databases.getIamPolicy,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.databases.beginReadOnlyTransaction,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.databases.read,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.databases.select,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.databaseOperations.list,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.databaseOperations.get,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.sessions.create,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.sessions.list,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.sessions.get,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,spanner.sessions.delete,True,True,N/A,spanner.googleapis.com (BETA - PUBLIC)
viewer,stackdriver.projects.get,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
viewer,stackdriver.awsEc2Instance.get,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
viewer,stackdriver.awsEc2Instance.list,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
viewer,stackdriver.awsElbLoadBalancer.get,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
viewer,stackdriver.awsElbLoadBalancer.list,True,True,N/A,stackdriver.googleapis.com (GA - INTERNAL)
viewer,storage.buckets.list,True,True,N/A,storage.googleapis.com (GA - PUBLIC)
viewer,workflow.projects.get,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.projects.getIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.projectMetadata.get,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.projectMetadata.getIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processes.get,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processes.getIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processMetadata.get,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processMetadata.getIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processDefinitions.get,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processDefinitions.getIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processDefinitionMetadata.get,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processDefinitionMetadata.getIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processInstances.get,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processInstances.getIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processInstanceMetadata.get,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.processInstanceMetadata.getIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.taskInstances.get,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.taskInstances.getIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.taskInstanceMetadata.get,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)
viewer,workflow.taskInstanceMetadata.getIamPolicy,True,True,N/A,workflow.googleapis.com (GA - INTERNAL)"""
| 126.348605 | 194 | 0.824412 | 60,913 | 493,644 | 6.665195 | 0.009981 | 0.182482 | 0.183179 | 0.251329 | 0.994645 | 0.979372 | 0.97585 | 0.970433 | 0.963505 | 0.959746 | 0 | 0.000209 | 0.048622 | 493,644 | 3,906 | 195 | 126.380952 | 0.864273 | 0.001335 | 0 | 0.002058 | 0 | 0.999743 | 0.999909 | 0.820227 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003344 | 0 | 0.003344 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
4eeebdb30f0f6336b848477fc926e2eab4fba4d4 | 182 | py | Python | output/models/ms_data/wildcards/wild_g002_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/wildcards/wild_g002_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/wildcards/wild_g002_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.ms_data.wildcards.wild_g002_xsd.wild_g002 import Foo
from output.models.ms_data.wildcards.wild_g002_xsd.wild_g002a import Bar
__all__ = [
"Foo",
"Bar",
]
| 22.75 | 72 | 0.769231 | 29 | 182 | 4.413793 | 0.482759 | 0.1875 | 0.25 | 0.28125 | 0.71875 | 0.71875 | 0.71875 | 0.71875 | 0.71875 | 0.71875 | 0 | 0.075472 | 0.126374 | 182 | 7 | 73 | 26 | 0.72956 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
f6086928c439285733eb97c4d96e7ca914b72dda | 8,042 | py | Python | fable/fable_sources/libtbx/tst_python_code_parsing.py | hickerson/bbn | 17ef63ad1717553ab2abb50592f8de79228c8523 | [
"MIT"
] | 4 | 2016-09-30T15:03:39.000Z | 2021-03-25T13:27:08.000Z | fable/fable_sources/libtbx/tst_python_code_parsing.py | hickerson/bbn | 17ef63ad1717553ab2abb50592f8de79228c8523 | [
"MIT"
] | 1 | 2018-04-18T14:41:18.000Z | 2018-04-20T19:33:52.000Z | fable/fable_sources/libtbx/tst_python_code_parsing.py | hickerson/bbn | 17ef63ad1717553ab2abb50592f8de79228c8523 | [
"MIT"
] | 3 | 2016-04-19T18:20:30.000Z | 2019-04-03T14:54:29.000Z | from __future__ import division
def exercise_unused_imports():
from libtbx.python_code_parsing import unused_imports, imported_name
unused = unused_imports(unused_imports_test_case_1_1)
assert unused.names == set((
'foo', 'far', 'close', 'baz', 'barbar', 'bozboz' ))
unused = unused_imports(unused_imports_test_case_1_2)
assert unused.names == set((
'far', 'close', 'baz', 'barbar', 'bozboz' ))
unused = unused_imports(unused_imports_test_case_1_3)
assert unused.names == set((
'foo', 'far', 'close', 'barbar', 'bozboz' ))
unused = unused_imports(unused_imports_test_case_1_4)
assert unused.names == set((
'far', 'close', 'barbar', 'bozboz' ))
unused = unused_imports(unused_imports_test_case_1_5)
assert unused.names == set((
'far', 'close', 'baz', 'barbar', 'bozboz' ))
unused = unused_imports(unused_imports_test_case_2)
assert not unused
unused = unused_imports(unused_imports_test_case_3)
assert set(unused) == set(( imported_name('foo', lineno=1), ))
unused = unused_imports(unused_imports_test_case_4)
assert set(unused) == set(( imported_name('foo', lineno=4), ))
unused = unused_imports(unused_imports_test_case_5)
assert set(unused) == set(( imported_name('foo', lineno=4), ))
unused = unused_imports(unused_imports_test_case_6)
assert set(unused) == set(( imported_name('bar', lineno=1), ))
unused = unused_imports(unused_imports_test_case_7)
assert set(unused) == set(( imported_name('bar', lineno=1),
imported_name('foo', lineno=6), ))
unused = unused_imports(unused_imports_test_case_7_bis)
assert set(unused) == set(( imported_name('bar', lineno=1), ))
unused = unused_imports(unused_imports_test_case_8)
assert set(unused) == set(( imported_name('foo', lineno=1), ))
unused = unused_imports(unused_imports_test_case_9)
assert not unused
unused = unused_imports(unused_imports_test_case_10)
assert set(unused) == set(( imported_name('foo', lineno=10), ))
unused = unused_imports(unused_imports_test_case_11)
assert unused
unused = unused_imports(unused_imports_test_case_11,
ignored_imports=('libtbx.load_env',))
assert not unused
unused = unused_imports(unused_imports_test_case_12)
assert not unused
unused = unused_imports(unused_imports_test_case_13)
assert set(unused) == set(( imported_name('bar', lineno=1), ))
unused = unused_imports(unused_imports_test_case_14)
assert set(unused) == set(( imported_name('bar', lineno=1), ))
unused = unused_imports(unused_imports_test_case_15)
assert set(unused) == set(( imported_name('bar', lineno=1), ))
unused = unused_imports(unused_imports_test_case_16)
assert not unused
unused = unused_imports(unused_imports_test_case_17)
assert not unused
unused = unused_imports(unused_imports_test_case_18)
assert not unused
unused = unused_imports(unused_imports_test_case_19)
assert not unused
unused = unused_imports(unused_imports_test_case_20)
assert not unused
unused = unused_imports(unused_imports_test_case_21)
assert not unused
unused = unused_imports(unused_imports_test_case_22)
assert not unused
unused = unused_imports(unused_imports_test_case_23)
assert unused
unused = unused_imports(
unused_imports_test_case_23,
ignore_imports_flagged_by_comments=('# import dependency',))
assert not unused
unused = unused_imports(unused_imports_test_case_24)
assert not unused
unused = unused_imports(unused_imports_test_case_25)
assert not unused
unused = unused_imports(unused_imports_test_case_26)
assert not unused
unused_imports_test_case_1_header = """\
import foo
import far, near as close
from bar import baz
from foobar import barbar, bazbaz as bozboz
from buz import *
"""
unused_imports_test_case_1_1 = """\
%s
""" % unused_imports_test_case_1_header
unused_imports_test_case_1_2 = """\
%s
print foo.z
""" % unused_imports_test_case_1_header
unused_imports_test_case_1_3 = """\
%s
print baz.x
""" % unused_imports_test_case_1_header
unused_imports_test_case_1_4 = """\
%s
print foo.z
print baz.x
""" % unused_imports_test_case_1_header
unused_imports_test_case_1_5 = """\
%s
print foo.baz
""" % unused_imports_test_case_1_header
unused_imports_test_case_2 = """\
import foo
def f():
print foo.z
"""
unused_imports_test_case_3 = """\
import foo
def f():
print bar.foo.z
"""
unused_imports_test_case_4 = """\
import bar
def f():
import foo
print bar.foo.z
"""
unused_imports_test_case_5 = """\
import bar
def f():
import foo
def g():
print bar.foo.z
return g
"""
unused_imports_test_case_6 = """\
import bar
def f():
import foo
def g():
print foo.z
return g
"""
unused_imports_test_case_7 = """\
import bar
def f():
def g():
print foo.z
import foo
return g
"""
unused_imports_test_case_7_bis = """\
import bar
def f():
def g():
print foo.z
import foo
def h():
print foo.y
return g, h
"""
unused_imports_test_case_8 = """\
import foo, bar
class klass(object):
def f(self):
self.x = bar.z
"""
unused_imports_test_case_9 = """\
import foo, bar
class klass(object):
attr = foo.x
def f(self):
self.x = bar.z
"""
unused_imports_test_case_10 = """\
import bar
class klass(object):
attr = foo.x
def f(self):
self.x = bar.z
import foo
"""
unused_imports_test_case_11 = """\
import libtbx.load_env
def run():
libtbx.env.build_options.report()
"""
unused_imports_test_case_12 = """\
import foo.bar
print foo.bar.x
"""
unused_imports_test_case_13 = """\
import foo, bar
print foo.moo.maz
"""
unused_imports_test_case_14 = """\
import foo, bar
print foo.moo().moz
"""
unused_imports_test_case_15 = """\
import foo, bar
print foo.moo[5].moz
"""
unused_imports_test_case_16 = """\
from foo import bobar
print bobar
"""
unused_imports_test_case_17 = """\
import foobar
print '.'.join(foobar.z)
"""
unused_imports_test_case_18 = """\
import foz
def faaz(arg=foz.x.yyy):
pass
"""
unused_imports_test_case_19 = """\
import foo.barr
hasattr(foo.barr, 'bok')
"""
unused_imports_test_case_20 = """\
import foo.barr
class bokka(kool, foo.barr.klass):
pass
"""
unused_imports_test_case_21 = """\
from foo.bar import bakar
import foo.bar.bakar.baaz
print bakar.baaz
"""
unused_imports_test_case_22 = """\
from foo.bar import boz
def f():
print g( boz(q) ).k
"""
unused_imports_test_case_23 = """\
from scitbx.array_family import flex # import dependency
"""
unused_imports_test_case_24 = """\
from foo.bar import boz
import baz.buz
def f():
boz.x = 1
baz.buz.y = 2
"""
unused_imports_test_case_25 = """\
from foo.bar import boz
def f():
return g(a=boz.h()).x
"""
unused_imports_test_case_26 = """\
from foo.bar import boz
import fooo.baz
def f():
return g[boz.h()].x
def h():
return g[fooo.baz.x:1000]
"""
def exercise_old_style_classes():
from libtbx.python_code_parsing import find_old_style_classes, old_style_class
old_style = find_old_style_classes(old_style_class_test_case_1)
assert old_style.names == set(('foo',))
old_style = find_old_style_classes(old_style_class_test_case_2)
assert old_style.names == set()
old_style = find_old_style_classes(old_style_class_test_case_3)
assert old_style.names == set(('bar',))
old_style = find_old_style_classes(old_style_class_test_case_4)
assert set(old_style) == set((old_style_class(name='foo', lineno=4),
old_style_class(name='bar', lineno=1)))
old_style = find_old_style_classes(old_style_class_test_case_5)
assert old_style.names == set(('foo',))
old_style_class_test_case_1 = """\
class foo:
pass
"""
old_style_class_test_case_2 = """\
class foo(object):
pass
"""
old_style_class_test_case_3 = """\
class bar:
pass
class foo(bar):
pass
"""
old_style_class_test_case_4 = """\
class bar:
pass
class foo():
pass
"""
old_style_class_test_case_5 = """\
def bar():
class foo:
pass
"""
def run():
exercise_unused_imports()
exercise_old_style_classes()
print 'OK'
if __name__ == '__main__':
run()
| 22.093407 | 80 | 0.719473 | 1,220 | 8,042 | 4.362295 | 0.09918 | 0.258925 | 0.2236 | 0.276212 | 0.822247 | 0.712702 | 0.636979 | 0.600714 | 0.521796 | 0.482337 | 0 | 0.021778 | 0.154937 | 8,042 | 363 | 81 | 22.15427 | 0.76133 | 0 | 0 | 0.540541 | 0 | 0 | 0.272818 | 0.004103 | 0 | 0 | 0 | 0 | 0.128378 | 0 | null | null | 0.030405 | 0.439189 | null | null | 0.074324 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
f624c53799b27a4812e3f21588e8839a9596c61e | 293 | py | Python | lib/vpm/config.py | aligholami/kepler | a272ac427e09892cd44ade70e910272c4f69c638 | [
"Unlicense"
] | null | null | null | lib/vpm/config.py | aligholami/kepler | a272ac427e09892cd44ade70e910272c4f69c638 | [
"Unlicense"
] | null | null | null | lib/vpm/config.py | aligholami/kepler | a272ac427e09892cd44ade70e910272c4f69c638 | [
"Unlicense"
] | null | null | null | QUATERNIONS_TRAIN = '/local-scratch/code/sra/scanrefer++/ScanRefer/data/ScanRefer_filtered_train.json'
QUATERNIONS_VAL = '/local-scratch/code/sra/scanrefer++/ScanRefer/data/ScanRefer_filtered_val.json'
QUATERNIONS = '/local-scratch/code/sra/scanrefer++/ScanRefer/data/ScanRefer_filtered.json'
| 73.25 | 102 | 0.825939 | 37 | 293 | 6.351351 | 0.297297 | 0.153191 | 0.204255 | 0.242553 | 0.740426 | 0.740426 | 0.740426 | 0.740426 | 0.740426 | 0 | 0 | 0 | 0.030717 | 293 | 3 | 103 | 97.666667 | 0.827465 | 0 | 0 | 0 | 0 | 0 | 0.791809 | 0.791809 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f64fd15aea3175b905310e8edf67e17ba8c74df0 | 10,466 | py | Python | MachineLearning/semseg_wrappers.py | cristi161/eecvf | 519c488bd47f697ef51e88823f7a751a52677b88 | [
"MIT"
] | 1 | 2021-04-02T15:33:12.000Z | 2021-04-02T15:33:12.000Z | MachineLearning/semseg_wrappers.py | cristi161/eecvf | 519c488bd47f697ef51e88823f7a751a52677b88 | [
"MIT"
] | null | null | null | MachineLearning/semseg_wrappers.py | cristi161/eecvf | 519c488bd47f697ef51e88823f7a751a52677b88 | [
"MIT"
] | 1 | 2021-08-14T09:07:22.000Z | 2021-08-14T09:07:22.000Z | from MachineLearning.external.image_segmentation_keras.keras_segmentation.train import train
from MachineLearning.Config.create_ml_job import set_output_checkpoint_location
import config_main as CONFIG
import os
from Utils.log_handler import log_error_to_console
"""
Module for training details of semseg models
"""
def do_semseg_base(model: str, input_height=None, input_width=None, n_classes=None, epochs=5, verify_dataset=True,
steps_per_epoch=512, val_steps_per_epoch=512, batch_size=2, optimizer_name='adam') -> None:
"""
TODO detail this
This uses the external repo: https://github.com/divamgupta/image-segmentation-keras
:param model: model to use for training
["fcn_8", "fcn_32", "fcn_8_vgg", "fcn_32_vgg", "fcn_8_resnet50", "fcn_32_resnet50", "fcn_8_mobilenet",
"fcn_32_mobilenet", "pspnet", "vgg_pspnet", "resnet50_pspnet", "vgg_pspnet", "resnet50_pspnet", "pspnet_50",
"pspnet_101", "unet_mini", "unet", "vgg_unet", "resnet50_unet", "mobilenet_unet", "segnet", "vgg_segnet",
"resnet50_segnet", "mobilenet_segnet" ]
:param verify_dataset: if we want to validate the input data
:param input_height: height of input training images
:param input_width: width of input training images
:param n_classes: number of classes
:param epochs: epochs to use in training
:param batch_size: determines the number of samples in each mini batch.
:param steps_per_epoch: the number of batch iterations before a training epoch is considered finished.
:param val_steps_per_epoch: similar to steps_per_epoch but on the validation data set instead on the training data.
:param optimizer_name: name of the optimizer
:return: None
"""
model_list = ["fcn_8", "fcn_32", "fcn_8_vgg", "fcn_32_vgg", "fcn_8_resnet50", "fcn_32_resnet50", "fcn_8_mobilenet", "fcn_32_mobilenet",
"pspnet", "vgg_pspnet", "resnet50_pspnet", "vgg_pspnet", "resnet50_pspnet", "pspnet_50", "pspnet_101", "unet_mini",
"unet", "vgg_unet", "resnet50_unet", "mobilenet_unet", "segnet", "vgg_segnet", "resnet50_segnet", "mobilenet_segnet"]
model_name = None
if model in model_list:
model_name = model
set_output_checkpoint_location(os.path.join('MachineLearning/model_weights', model_name))
if not os.path.exists(CONFIG.ML_WEIGHT_OUTPUT_LOCATION):
os.makedirs(CONFIG.ML_WEIGHT_OUTPUT_LOCATION)
try:
# TODO add all fields
train(model=model_name,
train_images=CONFIG.ML_TRAIN_IMG_LOCATION,
train_annotations=CONFIG.ML_LABEL_IMG_LOCATION, validate=True,
val_images=CONFIG.ML_VALIDATE_IMG_LOCATION, val_annotations=CONFIG.ML_LABEL_VALIDATE_LOCATION,
# val_images=None, val_annotations=None,
epochs=epochs, n_classes=n_classes, input_height=input_height, input_width=input_width, batch_size=batch_size,
verify_dataset=verify_dataset, steps_per_epoch=steps_per_epoch, val_steps_per_epoch=val_steps_per_epoch,
checkpoints_path=CONFIG.ML_WEIGHT_OUTPUT_LOCATION + '/' + model_name,
# checkpoints_path=CONFIG.ML_WEIGHT_OUTPUT_LOCATION,
optimizer_name=optimizer_name,
auto_resume_checkpoint=True,
gen_use_multiprocessing=False)
except BaseException as error:
log_error_to_console("SEMSEG " + model_name.upper() + " TRAIN JOB NOK: ", str(error))
return
def do_vgg_unet_training(input_height=None, input_width=None, n_classes=None, epochs=5, verify_dataset=True, batch_size=2,
steps_per_epoch=512, val_steps_per_epoch=512, optimizer_name='adam', ):
"""
TODO detail this
This uses the external repo: https://github.com/divamgupta/image-segmentation-keras
Paper: https://arxiv.org/abs/1411.4038
:param verify_dataset: if we want to validate the input data
:param input_height: height of input training images
:param input_width: width of input training images
:param n_classes: number of classes
:param epochs: epochs to use in training
:param batch_size: determines the number of samples in each mini batch.
:param steps_per_epoch: the number of batch iterations before a training epoch is considered finished.
:param val_steps_per_epoch: similar to steps_per_epoch but on the validation data set instead on the training data.
:param optimizer_name: name of the optimizer
:return: None
"""
do_semseg_base(model="vgg_unet", input_height=input_height, input_width=input_width, n_classes=n_classes, epochs=epochs,
verify_dataset=verify_dataset, steps_per_epoch=steps_per_epoch, val_steps_per_epoch=val_steps_per_epoch,
optimizer_name=optimizer_name, batch_size=batch_size)
def do_unet_training(input_height=None, input_width=None, n_classes=None, epochs=5, verify_dataset=True, batch_size=2,
steps_per_epoch=512, val_steps_per_epoch=512, optimizer_name='adam', ):
"""
TODO detail this
This uses the external repo: https://github.com/divamgupta/image-segmentation-keras
Paper: https://arxiv.org/abs/1505.04597
:param verify_dataset: if we want to validate the input data
:param input_height: height of input training images
:param input_width: width of input training images
:param n_classes: number of classes
:param epochs: epochs to use in training
:param batch_size: determines the number of samples in each mini batch.
:param steps_per_epoch: the number of batch iterations before a training epoch is considered finished.
:param val_steps_per_epoch: similar to steps_per_epoch but on the validation data set instead on the training data.
:param optimizer_name: name of the optimizer
:return: None
"""
do_semseg_base(model="unet", input_height=input_height, input_width=input_width, n_classes=n_classes, epochs=epochs,
verify_dataset=verify_dataset, steps_per_epoch=steps_per_epoch, val_steps_per_epoch=val_steps_per_epoch,
optimizer_name=optimizer_name, batch_size=batch_size)
def do_resnet50_unet_training(input_height=None, input_width=None, n_classes=None, epochs=5, verify_dataset=True, batch_size=2,
steps_per_epoch=512, val_steps_per_epoch=512, optimizer_name='adam', ):
"""
TODO detail this
This uses the external repo: https://github.com/divamgupta/image-segmentation-keras
Paper: TODO add paper
:param verify_dataset: if we want to validate the input data
:param input_height: height of input training images
:param input_width: width of input training images
:param n_classes: number of classes
:param epochs: epochs to use in training
:param batch_size: determines the number of samples in each mini batch.
:param steps_per_epoch: the number of batch iterations before a training epoch is considered finished.
:param val_steps_per_epoch: similar to steps_per_epoch but on the validation data set instead on the training data.
:param optimizer_name: name of the optimizer
:return: None
"""
do_semseg_base(model="resnet50_unet", input_height=input_height, input_width=input_width, n_classes=n_classes, epochs=epochs,
verify_dataset=verify_dataset, steps_per_epoch=steps_per_epoch, val_steps_per_epoch=val_steps_per_epoch,
optimizer_name=optimizer_name, batch_size=batch_size)
def do_mobilenet_unet_training(n_classes=None, epochs=5, verify_dataset=True, batch_size=2,
steps_per_epoch=512, val_steps_per_epoch=512, optimizer_name='adam', ):
"""
TODO detail this
Mobile net works only on 224 x 224
This uses the external repo: https://github.com/divamgupta/image-segmentation-keras
Paper: TODO add paper
:param verify_dataset: if we want to validate the input data
:param input_height: height of input training images
:param input_width: width of input training images
:param n_classes: number of classes
:param epochs: epochs to use in training
:param batch_size: determines the number of samples in each mini batch.
:param steps_per_epoch: the number of batch iterations before a training epoch is considered finished.
:param val_steps_per_epoch: similar to steps_per_epoch but on the validation data set instead on the training data.
:param optimizer_name: name of the optimizer
:return: None
"""
do_semseg_base(model="mobilenet_unet", input_height=224, input_width=224, n_classes=n_classes, epochs=epochs,
verify_dataset=verify_dataset, steps_per_epoch=steps_per_epoch, val_steps_per_epoch=val_steps_per_epoch,
optimizer_name=optimizer_name, batch_size=batch_size)
def do_unet_mini_training(input_height=None, input_width=None, n_classes=None, epochs=5, verify_dataset=True, batch_size=2,
steps_per_epoch=512, val_steps_per_epoch=512, optimizer_name='adam', ):
"""
TODO detail this
This uses the external repo: https://github.com/divamgupta/image-segmentation-keras
Paper: TODO add paper
:param verify_dataset: if we want to validate the input data
:param input_height: height of input training images
:param input_width: width of input training images
:param n_classes: number of classes
:param epochs: epochs to use in training
:param batch_size: determines the number of samples in each mini batch.
:param steps_per_epoch: the number of batch iterations before a training epoch is considered finished.
:param val_steps_per_epoch: similar to steps_per_epoch but on the validation data set instead on the training data.
:param optimizer_name: name of the optimizer
:return: None
"""
do_semseg_base(model="unet_mini", input_height=input_height, input_width=input_width, n_classes=n_classes, epochs=epochs,
verify_dataset=verify_dataset, steps_per_epoch=steps_per_epoch, val_steps_per_epoch=val_steps_per_epoch,
optimizer_name=optimizer_name, batch_size=batch_size)
if __name__ == "__main__":
pass
| 55.084211 | 140 | 0.717753 | 1,465 | 10,466 | 4.835495 | 0.099659 | 0.060983 | 0.099097 | 0.054207 | 0.843309 | 0.835404 | 0.835404 | 0.823264 | 0.817335 | 0.812394 | 0 | 0.016798 | 0.209345 | 10,466 | 189 | 141 | 55.375661 | 0.839275 | 0.471813 | 0 | 0.280702 | 0 | 0 | 0.080434 | 0.005935 | 0 | 0 | 0 | 0.05291 | 0 | 1 | 0.105263 | false | 0.017544 | 0.087719 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f65c53abd76ffacc2937b990afc6fc18ec60fd1e | 227 | py | Python | RecoVertex/BeamSpotProducer/python/BeamSpotNominalCollision_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoVertex/BeamSpotProducer/python/BeamSpotNominalCollision_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoVertex/BeamSpotProducer/python/BeamSpotNominalCollision_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from RecoVertex.BeamSpotProducer.BeamSpotNominalCollision_cfi import *
BeamSpotNominal.connect = 'frontier://FrontierProd/CMS_COND_20X_BEAMSPOT' ##FrontierProd/CMS_COND_20X_BEAMSPOT"
| 32.428571 | 111 | 0.859031 | 25 | 227 | 7.52 | 0.72 | 0.159574 | 0.202128 | 0.234043 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.066079 | 227 | 6 | 112 | 37.833333 | 0.867925 | 0.154185 | 0 | 0 | 0 | 0 | 0.239362 | 0.239362 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f6739ca74abeff3776bdb0ec605fb39dea50fc0d | 25,683 | py | Python | CPFrontend/materials/views.py | Conpancol/PyHeroku | 16b157a23c77cd794d246a56cf8575766e48689c | [
"MIT"
] | null | null | null | CPFrontend/materials/views.py | Conpancol/PyHeroku | 16b157a23c77cd794d246a56cf8575766e48689c | [
"MIT"
] | null | null | null | CPFrontend/materials/views.py | Conpancol/PyHeroku | 16b157a23c77cd794d246a56cf8575766e48689c | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect
from django.core.files.storage import FileSystemStorage
from django.utils.datastructures import MultiValueDictKeyError
from django.contrib.auth.decorators import login_required
from requests.exceptions import ConnectionError
from .services.MaterialCreator import MaterialCreator
import requests
import json
import os
from common.BackendMessage import BackendMessage
from common.MachineConfig import MachineConfigurator
from common.Instructions import Instructions
from common.FrontendTexts import FrontendTexts
from .forms import xcheckForm
from .forms import SelectorForm
from .forms import MaterialForm
from .forms import WeightCalculatorForm
from .choices import *
view_texts = FrontendTexts('materials')
def cleanup(filename):
try:
os.remove('.' + filename)
print("removed file: " + filename)
except Exception as error:
print(error)
@login_required(login_url='/auth/login')
def simple_upload(request):
menu_texts = FrontendTexts('menu')
instructions = Instructions('materials', 'upload')
uploaded_file_url = ''
try:
if request.method == 'POST' and request.FILES['myfile']:
myfile = request.FILES['myfile']
fs = FileSystemStorage()
filename = fs.save(myfile.name, myfile)
uploaded_file_url = fs.url(filename)
# ... do here the magic
creator = MaterialCreator()
result = creator.createMaterialfromCSV('.' + uploaded_file_url)
result_json = []
for material in result:
result_json.append(json.dumps(material))
backend_host = MachineConfigurator().getBackend()
r = requests.post(backend_host + '/auth/materials/', json=result)
backend_message = BackendMessage(json.loads(r.text))
backend_result = json.loads(backend_message.getValue())
cleanup(uploaded_file_url)
return render(request, 'materials/simple_upload.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'uploaded_materials': backend_result } )
return render(request, 'materials/simple_upload.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()})
except MultiValueDictKeyError as exception:
print("No file selected")
print(exception)
return render(request, 'materials/simple_upload.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'No file selected',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except UnicodeDecodeError as exception:
print("There is a problem with the input file - unicode decoding error")
print(exception)
cleanup(uploaded_file_url)
return render(request, 'materials/simple_upload.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'Cannot read file correctly',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except ValueError as exception:
print("There is a problem with the backend return value")
print(exception)
cleanup(uploaded_file_url)
return render(request, 'materials/simple_upload.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'Backend problem',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except ConnectionError as exception:
cleanup(uploaded_file_url)
print("Backend connection problem")
print(exception)
return render(request, 'materials/simple_upload.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'Backend connection problem',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except Exception as exception:
print(exception)
cleanup(uploaded_file_url)
return render(request, 'materials/simple_upload.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'System error',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
@login_required(login_url='/auth/login')
def singlexcheck(request):
menu_texts = FrontendTexts('menu')
instructions = Instructions('materials', 'singlexcheck')
try:
if request.method == 'POST':
form = xcheckForm(request.POST)
if form.is_valid():
itemcode = form.cleaned_data['itemcode']
backend_host = MachineConfigurator().getBackend()
r = requests.post(backend_host + '/auth/materials/xcheck/' + itemcode)
backend_message = BackendMessage(json.loads(r.text))
backend_result = json.loads(backend_message.getValue())
return render(request, 'materials/singlexcheck.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'uploaded_materials': backend_result})
else:
form = xcheckForm()
return render(request, 'materials/singlexcheck.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'xform': form,
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()})
except ValueError as exception:
print("There is a problem with the backend return value")
print(exception)
return render(request, 'materials/singlexcheck.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'Backend problem',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except ConnectionError as exception:
print("Backend connection problem")
print(exception)
return render(request, 'materials/singlexcheck.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'Backend connection problem',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except Exception as exception:
print(exception)
return render(request, 'materials/singlexcheck.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'System error',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
@login_required(login_url='/auth/login')
def multiplexcheck(request):
menu_texts = FrontendTexts('menu')
instructions = Instructions('materials', 'multiplexcheck')
uploaded_file_url = ''
try:
if request.method == 'POST' and request.FILES['myfile']:
myfile = request.FILES['myfile']
fs = FileSystemStorage()
filename = fs.save(myfile.name, myfile)
uploaded_file_url = fs.url(filename)
creator = MaterialCreator()
result = creator.createMaterial('.' + uploaded_file_url)
result_json = []
for material in result:
result_json.append(json.dumps(material))
backend_host = MachineConfigurator().getBackend()
r = requests.post(backend_host + '/auth/materials/xcheck', json=result)
backend_message = BackendMessage(json.loads(r.text))
backend_result = json.loads(backend_message.getValue())
cleanup(uploaded_file_url)
return render(request, 'materials/multiplexcheck.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'uploaded_materials': backend_result})
return render(request, 'materials/multiplexcheck.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()})
except MultiValueDictKeyError as exception:
print("No file selected")
print(exception)
return render(request, 'materials/multiplexcheck.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'No file selected',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except ValueError as exception:
print("There is a problem with the backend return value")
print(exception)
cleanup(uploaded_file_url)
return render(request, 'materials/multiplexcheck.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'Backend problem',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except ConnectionError as exception:
cleanup(uploaded_file_url)
print("Backend connection problem")
print(exception)
return render(request, 'materials/multiplexcheck.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'Backend connection problem',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except Exception as exception:
print(exception)
cleanup(uploaded_file_url)
return render(request, 'materials/multiplexcheck.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'System error',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
@login_required(login_url='/auth/login')
def material_manager(request):
menu_texts = FrontendTexts('menu')
instructions = Instructions('materials', 'manage')
try:
if request.method == 'POST':
selector_form = SelectorForm(request.POST)
if selector_form.is_valid():
code = selector_form.cleaned_data['code']
action = selector_form.cleaned_data['action']
if action == '1':
return redirect('edit/' + code)
elif action == '2':
return redirect('weight/' + code)
else:
selector_form = SelectorForm()
return render(request, 'materials/material_selector.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'selector_form': selector_form,
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()})
except ValueError as exception:
print("There is a problem with the backend return value")
print(exception)
return render(request, 'materials/material_selector.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'Backend problem',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except ConnectionError as exception:
print("Backend connection problem")
print(exception)
return render(request, 'materials/material_selector.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'Backend connection problem',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except Exception as exception:
print(exception)
return render(request, 'materials/material_selector.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'System error',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
@login_required(login_url='/auth/login')
def material_editor(request, code):
menu_texts = FrontendTexts('menu')
instructions = Instructions('materials', 'edit')
try:
backend_host = MachineConfigurator().getBackend()
r = requests.post(backend_host + '/auth/materials/' + code)
backend_message = BackendMessage(json.loads(r.text))
backend_result = json.loads(backend_message.getValue())
print(backend_result)
material_form = MaterialForm(initial=backend_result)
if request.method == 'POST':
material_form = MaterialForm(request.POST)
if material_form.is_valid():
# ... update current material with the data provided
print(code)
creator = MaterialCreator()
result = creator.editMaterial(material_form)
result_json = []
print(result)
for material in result:
result_json.append(json.dumps(material))
r = requests.put(backend_host + '/auth/materials/' + code, json=result)
backend_message = BackendMessage(json.loads(r.text))
backend_result = json.loads(backend_message.getValue())
return render(request, 'materials/material_editor.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'updated_materials': backend_result})
return render(request, 'materials/material_editor.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'material_form': material_form,
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()})
except ValueError as exception:
print("There is a problem with the backend return value")
print(exception)
return render(request, 'materials/material_editor.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'No such material exists in the DB: '
+ code,
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except ConnectionError as exception:
print("Backend connection problem")
print(exception)
return render(request, 'materials/material_editor.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'Backend connection problem',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except Exception as exception:
print(exception)
return render(request, 'materials/material_editor.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'System error',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
@login_required(login_url='/auth/login')
def material_weight(request, code):
menu_texts = FrontendTexts('menu')
instructions = Instructions('materials', 'weightcalc')
try:
backend_host = MachineConfigurator().getBackend()
quantity_form = WeightCalculatorForm(request.POST)
if request.method == 'POST':
if quantity_form.is_valid():
# ... update current material with the data provided
value = quantity_form.cleaned_data['value']
units = UNIT_CHOICES[int(quantity_form.cleaned_data['units'])-1][1]
result = {'quantity': value, 'units': units}
r = requests.post(backend_host + '/auth/materials/weights/' + code, json=result)
backend_message = BackendMessage(json.loads(r.text))
backend_result = json.loads(backend_message.getValue())
return render(request, 'materials/material_weight.html', {'menu_text': menu_texts.getComponent(),
'weight_materials': backend_result})
return render(request, 'materials/material_weight.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'quantity_form': quantity_form,
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()})
except ConnectionError as exception:
print("Backend connection problem")
print(exception)
return render(request, 'materials/material_weight.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'Backend connection problem',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
except Exception as exception:
print(exception)
return render(request, 'materials/material_weight.html', {'menu_text': menu_texts.getComponent(),
'view_texts': view_texts.getComponent(),
'error_message': 'System error',
'instructions_title': instructions.getTitle(),
'instructions_steps': instructions.getSteps()
})
| 55.711497 | 120 | 0.46155 | 1,739 | 25,683 | 6.618746 | 0.085681 | 0.047698 | 0.051173 | 0.075413 | 0.836664 | 0.826412 | 0.826412 | 0.82033 | 0.793571 | 0.778106 | 0 | 0.000288 | 0.45937 | 25,683 | 460 | 121 | 55.832609 | 0.828664 | 0.004789 | 0 | 0.778393 | 0 | 0 | 0.161332 | 0.038034 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019391 | false | 0 | 0.049862 | 0 | 0.160665 | 0.108033 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f67546d06e841abb16fbd43ee6505f83977047d9 | 29,625 | py | Python | testing/strategy/Stock_Example.py | pchaos/quanttesting | 98331670547e8a45ba93b49f3e9c660495645114 | [
"MIT"
] | 5 | 2020-04-08T14:14:05.000Z | 2021-06-29T03:42:01.000Z | testing/strategy/Stock_Example.py | pchaos/quanttesting | 98331670547e8a45ba93b49f3e9c660495645114 | [
"MIT"
] | null | null | null | testing/strategy/Stock_Example.py | pchaos/quanttesting | 98331670547e8a45ba93b49f3e9c660495645114 | [
"MIT"
] | 7 | 2020-04-15T15:07:39.000Z | 2022-03-23T05:44:02.000Z | # -*- coding: utf-8 -*- #
"""画图函数 self.plot(name, data, format)
获取当前code self.get_code()
self.ind2str(ind, ind_type)
获取品种所在的交易所 self.get_exchange(code)
获取品种持仓 self.get_positions(code)
获取当前现金 self.get_cash()
获取某个品种的marketdata self.get_code_marketdata(code)
获取当前的maretdata切片 self.get_current_marketdata()
订阅数据 (实时模拟用/ 回测不需要) self.subscribe_data(code, frequence, data_host, data_port, data_user, data_password, model='py')
用当日tick数据进行回测(期货) self.debug_currenttick(freq)
用历史tick数据进行回测(期货) self.debug_histick(freq)
使用t0模式进行回测 self.debug_t0()
回测(不存储账户数据的模式) self.debug()
回测(存储账户数据的模式) self.run_backtest()
实时模拟(阻塞形式 不能同时多开很多个) self.run_sim()
实时模拟(非阻塞模式 可以同时开很多个) self.debug_sim()
Account
你需要注意的是, self.acc 在不同的模式下是不一样的
在回测模式: self.acc是一个实例化的 QUANTAXIS.QAAccountPro 类
在模拟模式: self.acc是一个实例化的 qifiaccount 账户
实时的账户的历史成交 self.acc.trade 回测的账户的历史成交 self.acc.history_table
QAPosition
如果你需要查询当前的仓位: positions.cur_vol / positions.hold_detail
如果你需要查询仓位的全部信息: self.positons.static_message
如果你需要知道详细的基于当前价格的动态信息: self.position.realtime_message
positions.volume_long #当前持的多单
positions.volume_short #当前持仓的空单数量
positions.volume_long_today #今日多单数量
positions.volume_long_his #今日多单数量
positions.volume_short_today #今日空单数量
positions.volume_short_his #今日空单数量
positions.position_price_long # 基于结算价计算的多头成本价
positions.position_cost_long # 基于结算价计算的多头总成本(总市值)
positions.position_price_short # 基于结算价计算的空头开仓均价
positions.position_cost_short # 基于结算价计算的空头成本
positions.open_price_long # 基于开仓价计算的多头开仓价
positions.open_cost_long # 基于开仓价计算的多头开仓价
positions.open_price_short # 基于开仓价计算的多头开仓价空头开仓价
positions.open_cost_short # 基于开仓价计算的多头开仓价空头成本
"""
import QUANTAXIS as QA
from QAStrategy.qastockbase import QAStrategyStockBase
from QUANTAXIS.QAARP import QA_Risk, QA_User
from QUANTAXIS.QAEngine.QAThreadEngine import QA_Thread
from QUANTAXIS.QAUtil.QAParameter import MARKET_TYPE, RUNNING_ENVIRONMENT, ORDER_DIRECTION
from QAPUBSUB.consumer import subscriber_topic, subscriber_routing
from QAPUBSUB.producer import publisher_routing
from QAStrategy.qactabase import QAStrategyCTABase
from QIFIAccount import QIFI_Account
from qaenv import (eventmq_ip, eventmq_password, eventmq_port,
eventmq_username, mongo_ip)
class strategy(QAStrategyStockBase):
def __init__(self, code=['000001'], frequence='1min', strategy_id='QA_STRATEGY', risk_check_gap=1,
portfolio='default',
start='2019-01-01', end='2019-10-21', send_wx=False, market_type='stock_cn',
data_host=eventmq_ip, data_port=eventmq_port, data_user=eventmq_username,
data_password=eventmq_password,
trade_host=eventmq_ip, trade_port=eventmq_port, trade_user=eventmq_username,
trade_password=eventmq_password,
taskid=None, mongo_ip=mongo_ip):
super().__init__(code=code, frequence=frequence, strategy_id=strategy_id, risk_check_gap=risk_check_gap,
portfolio=portfolio,
start=start, end=end, send_wx=send_wx, market_type=market_type,
data_host=eventmq_ip, data_port=eventmq_port, data_user=eventmq_username,
data_password=eventmq_password,
trade_host=eventmq_ip, trade_port=eventmq_port, trade_user=eventmq_username,
trade_password=eventmq_password,
taskid=taskid, mongo_ip=mongo_ip)
self.cutsCount = 10
def on_bar(self, data):
# print(data)
print(self.get_positions('000001'))
# print(self.market_data)
code = data.name[1]
# print('---------------under is 当前全市场的market_data --------------')
#
# print(self.get_current_marketdata())
# print('---------------under is 当前品种的market_data --------------')
# print(self.get_code_marketdata(code))
# print(code)
# print(self.running_time)
# input()
res = self.cci()
# print(res.iloc[-1])
# self.positions = self.acc.get_position(self.code)
if res.CCI[-1] < -70:
# 买
# if self.acc.get_position(code).volume_long == 0:
self.send_order('BUY', 'OPEN', code=code, price=data['close'], volume=self.getPerVolume(data.close))
print("buy:{} {} {}".format(code, data['close'], res.CCI[-1]))
elif res.CCI[-1] > 60:
# 卖
if self.acc.get_position(code).volume_long > 0:
self.send_order('SELL', 'CLOSE', code=code, price=data['close'], volume=self.getPerVolume(data.close))
print("sell:{} {} {}".format(code, data['close'], res.CCI[-1]))
else:
# print(res.CCI[-1], end=';')
pass
def cci(self, ):
return QA.QA_indicator_CCI(self.market_data, 14)
def getPerVolume(self, price):
return round(self.acc.cash[0] / self.cutsCount / price, -2)
if __name__ == '__main__':
s = strategy(code=['000001', '000002'], frequence='day', start='2019-05-01', end='2020-02-10', strategy_id='x')
s.debug()
"""
portfolio with user_cookie USER_QoZ8TDrF already exist!!
< QA_AccountPRO x market: stock_cn>
stock_cn
backtest: Settle!
open 9.390000e+00
high 9.420000e+00
low 9.160000e+00
close 9.190000e+00
volume 5.393860e+05
amount 4.986951e+08
Name: (2019-01-02 00:00:00, 000001), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 498695104.0
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 498695104.0
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 498695104.0
000001
open 2.383000e+01
high 2.409000e+01
low 2.367000e+01
close 2.390000e+01
volume 2.470100e+05
amount 5.893846e+08
Name: (2019-01-02 00:00:00, 000002), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 498695104.0
000002 23.83 24.09 23.67 23.90 247010.0 589384576.0
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 498695104.0
000002 23.83 24.09 23.67 23.90 247010.0 589384576.0
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000002 23.83 24.09 23.67 23.9 247010.0 589384576.0
000002
backtest: Settle!
open 9.180000e+00
high 9.330000e+00
low 9.150000e+00
close 9.280000e+00
volume 4.155370e+05
amount 3.844577e+08
Name: (2019-01-03 00:00:00, 000001), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 498695104.0
000002 23.83 24.09 23.67 23.90 247010.0 589384576.0
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 384457696.0
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 384457696.0
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 498695104.0
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 384457696.0
000001
open 2.379000e+01
high 2.450000e+01
low 2.371000e+01
close 2.407000e+01
volume 2.223530e+05
amount 5.363333e+08
Name: (2019-01-03 00:00:00, 000002), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 498695104.0
000002 23.83 24.09 23.67 23.90 247010.0 589384576.0
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 384457696.0
000002 23.79 24.50 23.71 24.07 222353.0 536333280.0
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 384457696.0
000002 23.79 24.50 23.71 24.07 222353.0 536333280.0
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000002 23.83 24.09 23.67 23.90 247010.0 589384576.0
2019-01-03 000002 23.79 24.50 23.71 24.07 222353.0 536333280.0
000002
backtest: Settle!
open 9.240000e+00
high 9.820000e+00
low 9.220000e+00
close 9.750000e+00
volume 1.481159e+06
amount 1.422150e+09
Name: (2019-01-04 00:00:00, 000001), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000001
open 2.391000e+01
high 2.500000e+01
low 2.385000e+01
close 2.493000e+01
volume 3.777270e+05
amount 9.270117e+08
Name: (2019-01-04 00:00:00, 000002), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000002 23.83 24.09 23.67 23.90 247010.0 589384576.0
2019-01-03 000002 23.79 24.50 23.71 24.07 222353.0 536333280.0
2019-01-04 000002 23.91 25.00 23.85 24.93 377727.0 927011712.0
000002
backtest: Settle!
open 9.840000e+00
high 9.850000e+00
low 9.630000e+00
close 9.740000e+00
volume 8.656870e+05
amount 8.411664e+08
Name: (2019-01-07 00:00:00, 000001), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 841166400.0
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
000001
open 2.529000e+01
high 2.553000e+01
low 2.499000e+01
close 2.505000e+01
volume 4.271540e+05
amount 1.077909e+09
Name: (2019-01-07 00:00:00, 000002), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
000002
backtest: Settle!
open 9.730000e+00
high 9.740000e+00
low 9.620000e+00
close 9.660000e+00
volume 4.023880e+05
amount 3.892478e+08
Name: (2019-01-08 00:00:00, 000001), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 3.892478e+08
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 389247808.0
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 3.892478e+08
000001
open 2.505000e+01
high 2.520000e+01
low 2.463000e+01
close 2.500000e+01
volume 2.143820e+05
amount 5.336044e+08
Name: (2019-01-08 00:00:00, 000002), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 3.892478e+08
000002 25.05 25.20 24.63 25.00 214382.0 5.336044e+08
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 389247808.0
000002 25.05 25.20 24.63 25.00 214382.0 533604352.0
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
2019-01-08 000002 25.05 25.20 24.63 25.00 214382.0 5.336044e+08
000002
backtest: Settle!
open 9.740000e+00
high 1.008000e+01
low 9.700000e+00
close 9.940000e+00
volume 1.233486e+06
amount 1.229465e+09
Name: (2019-01-09 00:00:00, 000001), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 3.892478e+08
000002 25.05 25.20 24.63 25.00 214382.0 5.336044e+08
2019-01-09 000001 9.74 10.08 9.70 9.94 1233486.0 1.229465e+09
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-09 000001 9.74 10.08 9.7 9.94 1233486.0 1.229465e+09
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 3.892478e+08
2019-01-09 000001 9.74 10.08 9.70 9.94 1233486.0 1.229465e+09
000001
open 2.540000e+01
high 2.588000e+01
low 2.511000e+01
close 2.533000e+01
volume 3.401400e+05
amount 8.670814e+08
Name: (2019-01-09 00:00:00, 000002), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 3.892478e+08
000002 25.05 25.20 24.63 25.00 214382.0 5.336044e+08
2019-01-09 000001 9.74 10.08 9.70 9.94 1233486.0 1.229465e+09
000002 25.40 25.88 25.11 25.33 340140.0 8.670814e+08
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-09 000001 9.74 10.08 9.70 9.94 1233486.0 1.229465e+09
000002 25.40 25.88 25.11 25.33 340140.0 8.670814e+08
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
2019-01-08 000002 25.05 25.20 24.63 25.00 214382.0 5.336044e+08
2019-01-09 000002 25.40 25.88 25.11 25.33 340140.0 8.670814e+08
000002
backtest: Settle!
open 9.870000e+00
high 1.020000e+01
low 9.860000e+00
close 1.010000e+01
volume 1.071817e+06
amount 1.079711e+09
Name: (2019-01-10 00:00:00, 000001), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 3.892478e+08
000002 25.05 25.20 24.63 25.00 214382.0 5.336044e+08
2019-01-09 000001 9.74 10.08 9.70 9.94 1233486.0 1.229465e+09
000002 25.40 25.88 25.11 25.33 340140.0 8.670814e+08
2019-01-10 000001 9.87 10.20 9.86 10.10 1071817.0 1.079711e+09
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-10 000001 9.87 10.2 9.86 10.1 1071817.0 1.079711e+09
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 3.892478e+08
2019-01-09 000001 9.74 10.08 9.70 9.94 1233486.0 1.229465e+09
2019-01-10 000001 9.87 10.20 9.86 10.10 1071817.0 1.079711e+09
000001
open 2.522000e+01
high 2.556000e+01
low 2.503000e+01
close 2.511000e+01
volume 2.246490e+05
amount 5.689526e+08
Name: (2019-01-10 00:00:00, 000002), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 3.892478e+08
000002 25.05 25.20 24.63 25.00 214382.0 5.336044e+08
2019-01-09 000001 9.74 10.08 9.70 9.94 1233486.0 1.229465e+09
000002 25.40 25.88 25.11 25.33 340140.0 8.670814e+08
2019-01-10 000001 9.87 10.20 9.86 10.10 1071817.0 1.079711e+09
000002 25.22 25.56 25.03 25.11 224649.0 5.689526e+08
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-10 000001 9.87 10.20 9.86 10.10 1071817.0 1.079711e+09
000002 25.22 25.56 25.03 25.11 224649.0 5.689526e+08
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
2019-01-08 000002 25.05 25.20 24.63 25.00 214382.0 5.336044e+08
2019-01-09 000002 25.40 25.88 25.11 25.33 340140.0 8.670814e+08
2019-01-10 000002 25.22 25.56 25.03 25.11 224649.0 5.689526e+08
000002
backtest: Settle!
open 1.011000e+01
high 1.022000e+01
low 1.005000e+01
close 1.020000e+01
volume 6.963640e+05
amount 7.080018e+08
Name: (2019-01-11 00:00:00, 000001), dtype: float64
< QAPOSITION 000001 amount 0/0 >
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
000002 23.83 24.09 23.67 23.90 247010.0 5.893846e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
000002 23.79 24.50 23.71 24.07 222353.0 5.363333e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
000002 23.91 25.00 23.85 24.93 377727.0 9.270117e+08
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
000002 25.29 25.53 24.99 25.05 427154.0 1.077909e+09
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 3.892478e+08
000002 25.05 25.20 24.63 25.00 214382.0 5.336044e+08
2019-01-09 000001 9.74 10.08 9.70 9.94 1233486.0 1.229465e+09
000002 25.40 25.88 25.11 25.33 340140.0 8.670814e+08
2019-01-10 000001 9.87 10.20 9.86 10.10 1071817.0 1.079711e+09
000002 25.22 25.56 25.03 25.11 224649.0 5.689526e+08
2019-01-11 000001 10.11 10.22 10.05 10.20 696364.0 7.080018e+08
---------------under is 当前全市场的market_data --------------
open high low close volume amount
2019-01-11 000001 10.11 10.22 10.05 10.2 696364.0 708001792.0
---------------under is 当前品种的market_data --------------
open high low close volume amount
2019-01-02 000001 9.39 9.42 9.16 9.19 539386.0 4.986951e+08
2019-01-03 000001 9.18 9.33 9.15 9.28 415537.0 3.844577e+08
2019-01-04 000001 9.24 9.82 9.22 9.75 1481159.0 1.422150e+09
2019-01-07 000001 9.84 9.85 9.63 9.74 865687.0 8.411664e+08
2019-01-08 000001 9.73 9.74 9.62 9.66 402388.0 3.892478e+08
2019-01-09 000001 9.74 10.08 9.70 9.94 1233486.0 1.229465e+09
2019-01-10 000001 9.87 10.20 9.86 10.10 1071817.0 1.079711e+09
2019-01-11 000001 10.11 10.22 10.05 10.20 696364.0 7.080018e+08
"""
| 49.457429 | 118 | 0.565232 | 4,927 | 29,625 | 3.359854 | 0.076517 | 0.05763 | 0.035762 | 0.043494 | 0.749245 | 0.743264 | 0.735593 | 0.725686 | 0.720611 | 0.719464 | 0 | 0.49397 | 0.314262 | 29,625 | 598 | 119 | 49.540134 | 0.320896 | 0.07011 | 0 | 0.163265 | 0 | 0 | 0.05528 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081633 | false | 0.122449 | 0.204082 | 0.040816 | 0.346939 | 0.061224 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
9c86d63a56a3a2d0251aaf8b5c5c5a2c541b889e | 36,192 | py | Python | processing/payloads.py | lastick1/rexpert | cd5908f69cf54671ffe6bb2991c24d19e8f0036d | [
"MIT"
] | 1 | 2020-07-07T09:58:57.000Z | 2020-07-07T09:58:57.000Z | processing/payloads.py | lastick1/rexpert | cd5908f69cf54671ffe6bb2991c24d19e8f0036d | [
"MIT"
] | 42 | 2018-11-11T08:08:46.000Z | 2020-01-10T11:15:47.000Z | processing/payloads.py | lastick1/rexpert | cd5908f69cf54671ffe6bb2991c24d19e8f0036d | [
"MIT"
] | null | null | null | def get_aircraft_payload(aircraft, payload_id):
try:
return aircraft_payloads[aircraft][payload_id]
except KeyError:
return None
aircraft_payloads = {
'bf 109 e-7': {
0: 'MG 17 AP [2000], MG FF/M AP/HE [120]',
1: 'MG 17 AP [2000], MG FF/M AP/HE [120], SC 50 [4]',
2: 'MG 17 AP [2000], MG FF/M AP/HE [120], SC 250 [1]',
3: 'Empty',
4: 'Smoke generator',
5: 'Smoke generator',
6: 'Smoke generator',
7: 'Smoke generator',
8: 'Smoke generator',
9: 'Smoke generator',
10: 'Smoke generator',
11: 'Smoke generator',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
},
'bf 109 f-2': {
0: 'MG 17 AP [1000], MG 151/15 AP/HE [200]',
1: 'MG 17 AP [1000], MG 151/15 AP/HE [200], SC 50 [4]',
2: 'MG 17 AP [1000], MG 151/15 AP/HE [200], SC 250 [1]',
3: 'MG 17 AP [1000], MG 151/20 AP/HE [200]',
4: 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 50 [4]',
5: 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 250 [1]',
6: 'Empty',
7: 'Smoke generator',
8: 'Smoke generator',
9: 'Smoke generator',
10: 'Smoke generator',
11: 'Smoke generator',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
18: 'Smoke generator',
},
'bf 109 f-4': {
0: 'MG 17 AP [1000], MG 151/20 AP/HE [200]',
1: 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 50 [4]',
2: 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 250 [1]',
3: 'MG 17 AP [1000], MG 151/20 AP/HE [200], MG 151/15 AP/HE [270]',
4: 'MG 17 AP [1000], MG 151/20 AP/HE [200], MG 151/20 AP/HE [270]',
5: 'Empty',
6: 'Smoke generator',
7: 'Smoke generator',
8: 'Smoke generator',
9: 'Smoke generator',
10: 'Smoke generator',
11: 'Smoke generator',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
},
'bf 109 g-2': {
0: 'MG 17 AP [1000], MG 151/20 AP/HE [200]',
1: 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 50 [4]',
2: 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 250 [1]',
3: 'MG 17 AP [1000], MG 151/20 AP/HE [200], MG 151/20 AP/HE [270]',
4: 'Empty',
5: 'Smoke generator',
6: 'Smoke generator',
7: 'Smoke generator',
8: 'Smoke generator',
9: 'Smoke generator',
10: 'Smoke generator',
11: 'Smoke generator',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
},
'bf 109 g-4': {
0: 'MG 17 AP [1000], MG 151/20 AP/HE [200]',
1: 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 50 [4]',
2: 'MG 17 AP [1000], MG 151/20 AP/HE [200], SC 250 [1]',
3: 'MG 17 AP [1000], MG 151/20 AP/HE [200], MG 151/20 AP/HE [270]',
4: 'Empty',
5: 'Smoke generator',
6: 'Smoke generator',
7: 'Smoke generator',
8: 'Smoke generator',
9: 'Smoke generator',
10: 'Smoke generator',
11: 'Smoke generator',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator'
},
'bf 110 e-2': {
0: 'MG 17 AP [4000], MG FF/M AP/HE [360]',
1: 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 250 [2]',
2: 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 250 [2], SC 50 [4]',
3: 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 50 [12]',
4: 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 500 [2]',
5: 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 500 [2], SC 50 [4]',
6: 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 1000 [1]',
7: 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 1000 [1], SC 250 [1]',
8: 'MG 17 AP [4000], MG FF/M AP/HE [360], SC 1000 [1], SC 50 [4]',
9: 'Empty',
10: 'Smoke generator',
11: 'Smoke generator',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
18: 'Smoke generator',
19: 'Smoke generator',
20: 'Smoke generator',
21: 'Smoke generator',
},
'fw 190 a-3': {
0: 'MG 17 AP [1800], MG 151/20 AP/HE [500]',
1: 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 50 [4]',
2: 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 250 [1]',
3: 'MG 17 AP [1800], MG 151/20 AP/HE [500], SC 500 [1]',
4: 'MG 17 AP [1800], MG 151/20 AP/HE [500], MG FF/M AP/HE [120]',
5: 'MG 17 AP [1800], MG 151/20 AP/HE [500], MG FF/M AP/HE [180]',
6: 'Empty',
7: 'Smoke generator',
8: 'Smoke generator',
9: 'Smoke generator',
10: 'Smoke generator',
11: 'Smoke generator',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
18: 'Smoke generator',
},
'he 111 h-6': {
0: 'SC 50 [16]',
1: 'SC 250 [4]',
2: 'SC 500 [1], SC 50 [16]',
3: 'SC 500 [1], SC 250 [4]',
4: 'SC 1000 [2]',
5: 'SC 1000 [1], SC 50 [16]',
6: 'SC 1000 [1], SC 250 [4]',
7: 'SC 1800 [2]',
8: 'SC 1800 [1], SC 50 [16]',
9: 'SC 1800 [1], SC 250 [4]',
10: 'SC 1800 [1], SC 1000 [1]',
11: 'SC 2500 [1]',
12: 'SC 2500 [1], SC 1000 [1]',
13: 'Empty',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
18: 'Smoke generator',
19: 'Smoke generator',
20: 'Smoke generator',
21: 'Smoke generator',
22: 'Smoke generator',
23: 'Smoke generator',
24: 'Smoke generator',
25: 'Smoke generator',
},
'i-16 type 24': {
0: 'ShKAS AP [1000], ShKAS AP [1800]',
1: 'ShKAS AP [1000], ShKAS AP [1800], FAB-50sv [2]',
2: 'ShKAS AP [1000], ShKAS AP [1800], FAB-100M [2]',
3: 'ShKAS AP [1000], ShKAS AP [1800], ROS-82 [4]',
4: 'ShKAS AP [1000], ShKAS AP [1800], ROS-82 [4]',
5: 'ShKAS AP [1000], ShKAS AP [1800], ROS-82 [4]',
6: 'ShKAS AP [1000], ShKAS AP [1800], ROS-82 [4]',
7: 'ShKAS AP [1000], ShKAS AP [1800], ROS-82 [6]',
8: 'ShKAS AP [1000], ShKAS AP [1800], ROS-82 [6]',
9: 'ShKAS AP [1000], ShKAS AP [1800], ROS-82 [6]',
10: 'ShKAS AP [1000], ShKAS AP [1800], ROS-82 [6]',
11: 'ShKAS AP [1000], ShVAK AP/HE [180]',
12: 'ShKAS AP [1000], ShVAK AP/HE [180], FAB-50sv [2]',
13: 'ShKAS AP [1000], ShVAK AP/HE [180], FAB-100M [2]',
14: 'ShKAS AP [1000], ShVAK AP/HE [180], ROS-82 [4]',
15: 'ShKAS AP [1000], ShVAK AP/HE [180], ROS-82 [4]',
16: 'ShKAS AP [1000], ShVAK AP/HE [180], ROS-82 [4]',
17: 'ShKAS AP [1000], ShVAK AP/HE [180], ROS-82 [4]',
18: 'ShKAS AP [1000], ShVAK AP/HE [180], ROS-82 [6]',
19: 'ShKAS AP [1000], ShVAK AP/HE [180], ROS-82 [6]',
20: 'ShKAS AP [1000], ShVAK AP/HE [180], ROS-82 [6]',
21: 'ShKAS AP [1000], ShVAK AP/HE [180], ROS-82 [6]',
22: 'Empty',
23: 'Smoke generator',
24: 'Smoke generator',
25: 'Smoke generator',
26: 'Smoke generator',
27: 'Smoke generator',
28: 'Smoke generator',
29: 'Smoke generator',
30: 'Smoke generator',
31: 'Smoke generator',
32: 'Smoke generator',
33: 'Smoke generator',
34: 'Smoke generator',
},
'il-2 mod.1941': {
0: 'ShKAS AP [1500], ShVAK AP/HE [420]',
1: 'ShKAS AP [1500], VYa-23 AP/HE [300]',
2: 'ShKAS AP [1500], VYa-23 AP [300]',
3: 'ShKAS AP [1500], VYa-23 HE [300]',
4: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-50sv [4]',
5: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [4]',
6: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [4]',
7: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [4]',
8: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-50sv [6]',
9: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [6]',
10: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [6]',
11: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [6]',
12: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-100M [4]',
13: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-100M [4]',
14: 'ShKAS AP [1500], VYa-23 AP [300], FAB-100M [4]',
15: 'ShKAS AP [1500], VYa-23 HE [300], FAB-100M [4]',
16: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-100M [6]',
17: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-100M [6]',
18: 'ShKAS AP [1500], VYa-23 AP [300], FAB-100M [6]',
19: 'ShKAS AP [1500], VYa-23 HE [300], FAB-100M [6]',
20: 'ShKAS AP [1500], ShVAK AP/HE [420], ROS-82 [8]',
21: 'ShKAS AP [1500], VYa-23 AP/HE [300], ROS-82 [8]',
22: 'ShKAS AP [1500], VYa-23 AP [300], ROS-82 [8]',
23: 'ShKAS AP [1500], VYa-23 HE [300], ROS-82 [8]',
24: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-50sv [4], ROS-82 [8]',
25: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [4], ROS-82 [8]',
26: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [4], ROS-82 [8]',
27: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [4], ROS-82 [8]',
28: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-50sv [6], ROS-82 [8]',
29: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [6], ROS-82 [8]',
30: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [6], ROS-82 [8]',
31: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [6], ROS-82 [8]',
32: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-100M [4], ROS-82 [8]',
33: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-100M [4], ROS-82 [8]',
34: 'ShKAS AP [1500], VYa-23 AP [300], FAB-100M [4], ROS-82 [8]',
35: 'ShKAS AP [1500], VYa-23 HE [300], FAB-100M [4], ROS-82 [8]',
36: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-250sv [2]',
37: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-250sv [2]',
38: 'ShKAS AP [1500], VYa-23 AP [300], FAB-250sv [2]',
39: 'ShKAS AP [1500], VYa-23 HE [300], FAB-250sv [2]',
40: 'ShKAS AP [1500], ShVAK AP/HE [420], RBS-82 [8]',
41: 'ShKAS AP [1500], VYa-23 AP/HE [300], RBS-82 [8]',
42: 'ShKAS AP [1500], VYa-23 AP [300], RBS-82 [8]',
43: 'ShKAS AP [1500], VYa-23 HE [300], RBS-82 [8]',
44: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-50sv [4], RBS-82 [8]',
45: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [4], RBS-82 [8]',
46: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [4], RBS-82 [8]',
47: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [4], RBS-82 [8]',
48: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-50sv [6], RBS-82 [8]',
49: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [6], RBS-82 [8]',
50: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [6], RBS-82 [8]',
51: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [6], RBS-82 [8]',
52: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-100M [4], RBS-82 [8]',
53: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-100M [4], RBS-82 [8]',
54: 'ShKAS AP [1500], VYa-23 AP [300], FAB-100M [4], RBS-82 [8]',
55: 'ShKAS AP [1500], VYa-23 HE [300], FAB-100M [4], RBS-82 [8]',
56: 'ShKAS AP [1500], ShVAK AP/HE [420], ROFS-132 [8]',
57: 'ShKAS AP [1500], VYa-23 AP/HE [300], ROFS-132 [8]',
58: 'ShKAS AP [1500], VYa-23 AP [300], ROFS-132 [8]',
59: 'ShKAS AP [1500], VYa-23 HE [300], ROFS-132 [8]',
60: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-50sv [4], ROFS-132 [8]',
61: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [4], ROFS-132 [8]',
62: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [4], ROFS-132 [8]',
63: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [4], ROFS-132 [8]',
64: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-50sv [6], ROFS-132 [8]',
65: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [6], ROFS-132 [8]',
66: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [6], ROFS-132 [8]',
67: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [6], ROFS-132 [8]',
68: 'ShKAS AP [1500], ShVAK AP/HE [420], FAB-100M [2], ROFS-132 [8]',
69: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-100M [2], ROFS-132 [8]',
70: 'ShKAS AP [1500], VYa-23 AP [300], FAB-100M [2], ROFS-132 [8]',
71: 'ShKAS AP [1500], VYa-23 HE [300], FAB-100M [2], ROFS-132 [8]',
72: 'Empty',
73: 'Smoke generator',
74: 'Smoke generator',
75: 'Smoke generator',
76: 'Smoke generator',
77: 'Smoke generator',
78: 'Smoke generator',
79: 'Smoke generator',
80: 'Smoke generator',
81: 'Smoke generator',
82: 'Smoke generator',
83: 'Smoke generator',
84: 'Smoke generator',
},
'il-2 mod.1942': {
0: 'ShKAS AP [1500], ShVAK AP/HE [500]',
1: 'ShKAS AP [1500], VYa-23 AP/HE [300]',
2: 'ShKAS AP [1500], VYa-23 AP [300]',
3: 'ShKAS AP [1500], VYa-23 HE [300]',
4: 'ShKAS AP [1500], Sh-37 AP/HE [80]',
5: 'ShKAS AP [1500], Sh-37 AP [80]',
6: 'ShKAS AP [1500], Sh-37 HE [80]',
7: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-50sv [4]',
8: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [4]',
9: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [4]',
10: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [4]',
11: 'ShKAS AP [1500], Sh-37 AP/HE [80], FAB-50sv [4]',
12: 'ShKAS AP [1500], Sh-37 AP [80], FAB-50sv [4]',
13: 'ShKAS AP [1500], Sh-37 HE [80], FAB-50sv [4]',
14: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-50sv [6]',
15: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [6]',
16: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [6]',
17: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [6]',
18: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-100M [4]',
19: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-100M [4]',
20: 'ShKAS AP [1500], VYa-23 AP [300], FAB-100M [4]',
21: 'ShKAS AP [1500], VYa-23 HE [300], FAB-100M [4]',
22: 'ShKAS AP [1500], Sh-37 AP/HE [80], FAB-100M [2]',
23: 'ShKAS AP [1500], Sh-37 AP [80], FAB-100M [2]',
24: 'ShKAS AP [1500], Sh-37 HE [80], FAB-100M [2]',
25: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-100M [6]',
26: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-100M [6]',
27: 'ShKAS AP [1500], VYa-23 AP [300], FAB-100M [6]',
28: 'ShKAS AP [1500], VYa-23 HE [300], FAB-100M [6]',
29: 'ShKAS AP [1500], ShVAK AP/HE [500], ROS-82 [8]',
30: 'ShKAS AP [1500], VYa-23 AP/HE [300], ROS-82 [8]',
31: 'ShKAS AP [1500], VYa-23 AP [300], ROS-82 [8]',
32: 'ShKAS AP [1500], VYa-23 HE [300], ROS-82 [8]',
33: 'ShKAS AP [1500], Sh-37 AP/HE [80], ROS-82 [8]',
34: 'ShKAS AP [1500], Sh-37 AP [80], ROS-82 [8]',
35: 'ShKAS AP [1500], Sh-37 HE [80], ROS-82 [8]',
36: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-50sv [4], ROS-82 [8]',
37: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [4], ROS-82 [8]',
38: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [4], ROS-82 [8]',
39: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [4], ROS-82 [8]',
40: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-50sv [6], ROS-82 [8]',
41: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [6], ROS-82 [8]',
42: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [6], ROS-82 [8]',
43: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [6], ROS-82 [8]',
44: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-100M [4], ROS-82 [8]',
45: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-100M [4], ROS-82 [8]',
46: 'ShKAS AP [1500], VYa-23 AP [300], FAB-100M [4], ROS-82 [8]',
47: 'ShKAS AP [1500], VYa-23 HE [300], FAB-100M [4], ROS-82 [8]',
48: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-250sv [2]',
49: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-250sv [2]',
50: 'ShKAS AP [1500], VYa-23 AP [300], FAB-250sv [2]',
51: 'ShKAS AP [1500], VYa-23 HE [300], FAB-250sv [2]',
52: 'ShKAS AP [1500], ShVAK AP/HE [500], RBS-82 [8]',
53: 'ShKAS AP [1500], VYa-23 AP/HE [300], RBS-82 [8]',
54: 'ShKAS AP [1500], VYa-23 AP [300], RBS-82 [8]',
55: 'ShKAS AP [1500], VYa-23 HE [300], RBS-82 [8]',
56: 'ShKAS AP [1500], Sh-37 AP/HE [80], RBS-82 [8]',
57: 'ShKAS AP [1500], Sh-37 AP [80], RBS-82 [8]',
58: 'ShKAS AP [1500], Sh-37 HE [80], RBS-82 [8]',
59: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-50sv [4], RBS-82 [8]',
60: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [4], RBS-82 [8]',
61: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [4], RBS-82 [8]',
62: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [4], RBS-82 [8]',
63: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-50sv [6], RBS-82 [8]',
64: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [6], RBS-82 [8]',
65: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [6], RBS-82 [8]',
66: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [6], RBS-82 [8]',
67: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-100M [4], RBS-82 [8]',
68: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-100M [4], RBS-82 [8]',
69: 'ShKAS AP [1500], VYa-23 AP [300], FAB-100M [4], RBS-82 [8]',
70: 'ShKAS AP [1500], VYa-23 HE [300], FAB-100M [4], RBS-82 [8]',
71: 'ShKAS AP [1500], ShVAK AP/HE [500], ROFS-132 [8]',
72: 'ShKAS AP [1500], VYa-23 AP/HE [300], ROFS-132 [8]',
73: 'ShKAS AP [1500], VYa-23 AP [300], ROFS-132 [8]',
74: 'ShKAS AP [1500], VYa-23 HE [300], ROFS-132 [8]',
75: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-50sv [4], ROFS-132 [8]',
76: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [4], ROFS-132 [8]',
77: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [4], ROFS-132 [8]',
78: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [4], ROFS-132 [8]',
79: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-50sv [6], ROFS-132 [8]',
80: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-50sv [6], ROFS-132 [8]',
81: 'ShKAS AP [1500], VYa-23 AP [300], FAB-50sv [6], ROFS-132 [8]',
82: 'ShKAS AP [1500], VYa-23 HE [300], FAB-50sv [6], ROFS-132 [8]',
83: 'ShKAS AP [1500], ShVAK AP/HE [500], FAB-100M [2], ROFS-132 [8]',
84: 'ShKAS AP [1500], VYa-23 AP/HE [300], FAB-100M [2], ROFS-132 [8]',
85: 'ShKAS AP [1500], VYa-23 AP [300], FAB-100M [2], ROFS-132 [8]',
86: 'ShKAS AP [1500], VYa-23 HE [300], FAB-100M [2], ROFS-132 [8]',
87: 'Empty',
88: 'Smoke generator',
89: 'Smoke generator',
90: 'Smoke generator',
91: 'Smoke generator',
92: 'Smoke generator',
93: 'Smoke generator',
94: 'Smoke generator',
95: 'Smoke generator',
96: 'Smoke generator',
97: 'Smoke generator',
98: 'Smoke generator',
99: 'Smoke generator',
},
'ju 52 3mg4e': {
0: 'Empty',
},
'ju 87 d-3': {
0: 'MG 17 AP [2000]',
1: 'MG 17 AP [2000], SC 250 [1], SD 70 [4]',
2: 'MG 17 AP [2000], SC 500 [1]',
3: 'MG 17 AP [2000], SC 500 [1], SD 70 [4]',
4: 'MG 17 AP [2000], SC 500 [1], SC 250 [2]',
5: 'MG 17 AP [2000], SC 250 [3]',
6: 'MG 17 AP [2000], SC 1000 [1]',
7: 'MG 17 AP [2000], SC 1800 [1]',
8: 'MG 17 AP [2000], WB 81 B AP [3000]',
9: 'BK 37 AP [24]',
10: 'BK 37 HE [24]',
11: 'Empty',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
18: 'Smoke generator',
19: 'Smoke generator',
20: 'Smoke generator',
21: 'Smoke generator',
22: 'Smoke generator',
23: 'Smoke generator',
},
'ju 88 a-4': {
0: 'SC 250 [4]',
1: 'SC 250 [6]',
2: 'SC 50 [28]',
3: 'SC 50 [44]',
4: 'SC 250 [4], SC 50 [28]',
5: 'SC 250 [6], SC 50 [28]',
6: 'SC 500 [4]',
7: 'SC 500 [4], SC 250 [2]',
8: 'SC 500 [4], SC 50 [18]',
9: 'SC 1000 [2]',
10: 'SC 1800 [1]',
11: 'SC 1800 [1], SC 1000 [1]',
12: 'Empty',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
18: 'Smoke generator',
19: 'Smoke generator',
20: 'Smoke generator',
21: 'Smoke generator',
22: 'Smoke generator',
23: 'Smoke generator',
24: 'Smoke generator',
},
'la-5 ser.8': {
0: 'ShVAK AP/HE [340]',
1: 'ShVAK AP/HE [340], FAB-50sv [2]',
2: 'ShVAK AP/HE [340], FAB-100M [2]',
3: 'ShVAK AP [340]',
4: 'ShVAK AP [340], FAB-50sv [2]',
5: 'ShVAK AP [340], FAB-100M [2]',
6: 'ShVAK HE [340]',
7: 'ShVAK HE [340], FAB-50sv [2]',
8: 'ShVAK HE [340], FAB-100M [2]',
9: 'Empty',
10: 'Smoke generator',
11: 'Smoke generator',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
18: 'Smoke generator',
19: 'Smoke generator',
20: 'Smoke generator',
21: 'Smoke generator',
},
'lagg-3 ser.29': {
0: 'UB AP/HE [200], ShVAK AP/HE [160]',
1: 'UB AP/HE [200], VYa-23 AP/HE [90]',
2: 'UB AP/HE [200], VYa-23 AP [90]',
3: 'UB AP/HE [200], VYa-23 HE [90]',
4: 'UB AP/HE [140], Sh-37 AP/HE [20]',
5: 'UB AP/HE [140], Sh-37 AP [20]',
6: 'UB AP/HE [140], Sh-37 HE [20]',
7: 'UB AP/HE [200], ShVAK AP/HE [160], FAB-50sv [2]',
8: 'UB AP/HE [200], VYa-23 AP/HE [90], FAB-50sv [2]',
9: 'UB AP/HE [200], VYa-23 AP [90], FAB-50sv [2]',
10: 'UB AP/HE [200], VYa-23 HE [90], FAB-50sv [2]',
11: 'UB AP/HE [140], Sh-37 AP/HE [20], FAB-50sv [2]',
12: 'UB AP/HE [140], Sh-37 AP [20], FAB-50sv [2]',
13: 'UB AP/HE [140], Sh-37 HE [20], FAB-50sv [2]',
14: 'UB AP/HE [200], ShVAK AP/HE [160], FAB-100M [2]',
15: 'UB AP/HE [200], VYa-23 AP/HE [90], FAB-100M [2]',
16: 'UB AP/HE [200], VYa-23 AP [90], FAB-100M [2]',
17: 'UB AP/HE [200], VYa-23 HE [90], FAB-100M [2]',
18: 'UB AP/HE [140], Sh-37 AP/HE [20], FAB-100M [2]',
19: 'UB AP/HE [140], Sh-37 AP [20], FAB-100M [2]',
20: 'UB AP/HE [140], Sh-37 HE [20], FAB-100M [2]',
21: 'UB AP/HE [200], ShVAK AP/HE [160], ROS-82 [6]',
22: 'UB AP/HE [200], VYa-23 AP/HE [90], ROS-82 [6]',
23: 'UB AP/HE [200], VYa-23 AP [90], ROS-82 [6]',
24: 'UB AP/HE [200], VYa-23 HE [90], ROS-82 [6]',
25: 'UB AP/HE [140], Sh-37 AP/HE [20], ROS-82 [6]',
26: 'UB AP/HE [140], Sh-37 AP [20], ROS-82 [6]',
27: 'UB AP/HE [140], Sh-37 HE [20], ROS-82 [6]',
28: 'UB AP/HE [200], ShVAK AP/HE [160], ROS-82 [6]',
29: 'UB AP/HE [200], VYa-23 AP/HE [90], ROS-82 [6]',
30: 'UB AP/HE [200], VYa-23 AP [90], ROS-82 [6]',
31: 'UB AP/HE [200], VYa-23 HE [90], ROS-82 [6]',
32: 'UB AP/HE [140], Sh-37 AP/HE [20], ROS-82 [6]',
33: 'UB AP/HE [140], Sh-37 AP [20], ROS-82 [6]',
34: 'UB AP/HE [140], Sh-37 HE [20], ROS-82 [6]',
35: 'UB AP/HE [200], ShVAK AP/HE [160], ROS-82 [6]',
36: 'UB AP/HE [200], VYa-23 AP/HE [90], ROS-82 [6]',
37: 'UB AP/HE [200], VYa-23 AP [90], ROS-82 [6]',
38: 'UB AP/HE [200], VYa-23 HE [90], ROS-82 [6]',
39: 'UB AP/HE [140], Sh-37 AP/HE [20], ROS-82 [6]',
40: 'UB AP/HE [140], Sh-37 AP [20], ROS-82 [6]',
41: 'UB AP/HE [140], Sh-37 HE [20], ROS-82 [6]',
42: 'UB AP/HE [200], ShVAK AP/HE [160], ROS-82 [6]',
43: 'UB AP/HE [200], VYa-23 AP/HE [90], ROS-82 [6]',
44: 'UB AP/HE [200], VYa-23 AP [90], ROS-82 [6]',
45: 'UB AP/HE [200], VYa-23 HE [90], ROS-82 [6]',
46: 'UB AP/HE [140], Sh-37 AP/HE [20], ROS-82 [6]',
47: 'UB AP/HE [140], Sh-37 AP [20], ROS-82 [6]',
48: 'UB AP/HE [140], Sh-37 HE [20], ROS-82 [6]',
49: 'Empty',
50: 'Smoke generator',
51: 'Smoke generator',
52: 'Smoke generator',
53: 'Smoke generator',
54: 'Smoke generator',
55: 'Smoke generator',
56: 'Smoke generator',
57: 'Smoke generator',
58: 'Smoke generator',
59: 'Smoke generator',
60: 'Smoke generator',
61: 'Smoke generator',
},
'mc.202 ser.viii': {
0: 'Breda 12.7 AP/HE [800]',
1: 'Breda 12.7 AP/HE [800], 50-T [2]',
2: 'Breda 12.7 AP/HE [800], 100-T [2]',
3: 'Breda 12.7 AP/HE [800], Breda 7.7 AP [1000]',
4: 'Breda 12.7 AP/HE [800], MG 151/20 AP/HE [270]',
5: 'Empty',
6: 'Smoke generator',
7: 'Smoke generator',
8: 'Smoke generator',
9: 'Smoke generator',
10: 'Smoke generator',
11: 'Smoke generator',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
},
'mig-3 ser.24': {
0: 'ShKAS AP [1500], BS AP/HE [300]',
1: 'ShKAS AP [1500], BS AP/HE [300], ROS-82 [6]',
2: 'ShKAS AP [1500], BS AP/HE [300], ROS-82 [6]',
3: 'ShKAS AP [1500], BS AP/HE [300], ROS-82 [6]',
4: 'ShKAS AP [1500], BS AP/HE [300], ROS-82 [6]',
5: 'ShKAS AP [1500], BS AP/HE [300], FAB-50sv [2]',
6: 'ShKAS AP [1500], BS AP/HE [300], FAB-100M [2]',
7: 'ShKAS AP [1500], BS AP/HE [300], BK AP/HE [290]',
8: 'BS AP/HE [700]',
9: 'BS AP/HE [700], ROS-82 [6]',
10: 'BS AP/HE [700], ROS-82 [6]',
11: 'BS AP/HE [700], ROS-82 [6]',
12: 'BS AP/HE [700], ROS-82 [6]',
13: 'BS AP/HE [700], FAB-50sv [2]',
14: 'BS AP/HE [700], FAB-100M [2]',
15: 'BS AP/HE [700], BK AP/HE [290]',
16: 'ShVAK AP/HE [300]',
17: 'ShVAK AP/HE [300], ROS-82 [6]',
18: 'ShVAK AP/HE [300], ROS-82 [6]',
19: 'ShVAK AP/HE [300], ROS-82 [6]',
20: 'ShVAK AP/HE [300], ROS-82 [6]',
21: 'ShVAK AP/HE [300], FAB-50sv [2]',
22: 'ShVAK AP/HE [300], FAB-100M [2]',
23: 'ShVAK AP/HE [300], BK AP/HE [290]',
24: 'Empty',
25: 'Smoke generator',
26: 'Smoke generator',
27: 'Smoke generator',
28: 'Smoke generator',
29: 'Smoke generator',
30: 'Smoke generator',
31: 'Smoke generator',
32: 'Smoke generator',
33: 'Smoke generator',
34: 'Smoke generator',
35: 'Smoke generator',
36: 'Smoke generator',
},
'p-40e-1': {
0: 'M2.50 AP [1410]',
1: 'M2.50 AP [1686]',
2: 'M2.50 AP [940]',
3: 'M2.50 AP [2460]',
4: 'M2.50 AP [1410], FAB-250sv [1]',
5: 'M2.50 AP [1686], FAB-250sv [1]',
6: 'M2.50 AP [940], FAB-250sv [1]',
7: 'M2.50 AP [2460], FAB-250sv [1]',
8: 'M2.50 AP [1410], FAB-500M [1]',
9: 'M2.50 AP [1686], FAB-500M [1]',
10: 'M2.50 AP [940], FAB-500M [1]',
11: 'M2.50 AP [2460], FAB-500M [1]',
12: 'M2.50 AP [1410], ROS-82 [4]',
13: 'M2.50 AP [1686], ROS-82 [4]',
14: 'M2.50 AP [940], ROS-82 [4]',
15: 'M2.50 AP [2460], ROS-82 [4]',
16: 'M2.50 AP [1410], ROS-82 [4]',
17: 'M2.50 AP [1686], ROS-82 [4]',
18: 'M2.50 AP [940], ROS-82 [4]',
19: 'M2.50 AP [2460], ROS-82 [4]',
20: 'M2.50 AP [1410], ROS-82 [4]',
21: 'M2.50 AP [1686], ROS-82 [4]',
22: 'M2.50 AP [940], ROS-82 [4]',
23: 'M2.50 AP [2460], ROS-82 [4]',
24: 'M2.50 AP [1410], ROS-82 [4]',
25: 'M2.50 AP [1686], ROS-82 [4]',
26: 'M2.50 AP [940], ROS-82 [4]',
27: 'M2.50 AP [2460], ROS-82 [4]',
28: 'M2.50 AP [1410], FAB-250sv [1], ROS-82 [4]',
29: 'M2.50 AP [1686], FAB-250sv [1], ROS-82 [4]',
30: 'M2.50 AP [940], FAB-250sv [1], ROS-82 [4]',
31: 'M2.50 AP [2460], FAB-250sv [1], ROS-82 [4]',
32: 'M2.50 AP [1410], FAB-500M [1], ROS-82 [4]',
33: 'M2.50 AP [1686], FAB-500M [1], ROS-82 [4]',
34: 'M2.50 AP [940], FAB-500M [1], ROS-82 [4]',
35: 'M2.50 AP [2460], FAB-500M [1], ROS-82 [4]',
36: 'Empty',
37: 'Smoke generator',
38: 'Smoke generator',
39: 'Smoke generator',
40: 'Smoke generator',
41: 'Smoke generator',
42: 'Smoke generator',
43: 'Smoke generator',
44: 'Smoke generator',
45: 'Smoke generator',
46: 'Smoke generator',
47: 'Smoke generator',
48: 'Smoke generator',
},
'pe-2 ser.35': {
0: 'ShKAS AP [450], UB AP/HE [150]',
1: 'ShKAS AP [450], UB AP/HE [150], FAB-100M [4]',
2: 'ShKAS AP [450], UB AP/HE [150], FAB-100M [6]',
3: 'ShKAS AP [450], UB AP/HE [150], FAB-250sv [2]',
4: 'ShKAS AP [450], UB AP/HE [150], FAB-100M [10]',
5: 'ShKAS AP [450], UB AP/HE [150], FAB-250sv [4]',
6: 'ShKAS AP [450], UB AP/HE [150], FAB-500M [2]',
7: 'ShKAS AP [450], UB AP/HE [150], ROS-132 [10]',
8: 'ShKAS AP [450], UB AP/HE [150], FAB-100M [4], ROS-132 [10]',
9: 'ShKAS AP [450], UB AP/HE [150], FAB-100M [6], ROS-132 [10]',
10: 'ShKAS AP [450], UB AP/HE [150], FAB-250sv [2], ROS-132 [10]',
11: 'Empty',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
18: 'Smoke generator',
19: 'Smoke generator',
20: 'Smoke generator',
21: 'Smoke generator',
22: 'Smoke generator',
23: 'Smoke generator',
},
'pe-2 ser.87': {
0: 'ShKAS AP [450], UB AP/HE [150]',
1: 'ShKAS AP [450], UB AP/HE [150], FAB-100M [4]',
2: 'ShKAS AP [450], UB AP/HE [150], FAB-100M [6]',
3: 'ShKAS AP [450], UB AP/HE [150], FAB-250sv [2]',
4: 'ShKAS AP [450], UB AP/HE [150], FAB-100M [10]',
5: 'ShKAS AP [450], UB AP/HE [150], FAB-250sv [4]',
6: 'ShKAS AP [450], UB AP/HE [150], FAB-500M [2]',
7: 'ShKAS AP [450], UB AP/HE [150], ROS-132 [10]',
8: 'ShKAS AP [450], UB AP/HE [150], FAB-100M [4], ROS-132 [10]',
9: 'ShKAS AP [450], UB AP/HE [150], FAB-100M [6], ROS-132 [10]',
10: 'ShKAS AP [450], UB AP/HE [150], FAB-250sv [2], ROS-132 [10]',
11: 'Empty',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
18: 'Smoke generator',
19: 'Smoke generator',
20: 'Smoke generator',
21: 'Smoke generator',
22: 'Smoke generator',
23: 'Smoke generator',
},
'yak-1 ser.69': {
0: 'ShKAS AP [1500], ShVAK AP/HE [120]',
1: 'ShKAS AP [1500], ShVAK AP/HE [120], ROS-82 [2]',
2: 'ShKAS AP [1500], ShVAK AP/HE [120], ROS-82 [2]',
3: 'ShKAS AP [1500], ShVAK AP/HE [120], ROS-82 [2]',
4: 'ShKAS AP [1500], ShVAK AP/HE [120], ROS-82 [2]',
5: 'ShKAS AP [1500], ShVAK AP/HE [120], ROS-82 [6]',
6: 'ShKAS AP [1500], ShVAK AP/HE [120], ROS-82 [6]',
7: 'ShKAS AP [1500], ShVAK AP/HE [120], ROS-82 [6]',
8: 'ShKAS AP [1500], ShVAK AP/HE [120], ROS-82 [6]',
9: 'ShKAS AP [1500], ShVAK AP/HE [120], FAB-50sv [2]',
10: 'ShKAS AP [1500], ShVAK AP/HE [120], FAB-100M [2]',
11: 'Empty',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
16: 'Smoke generator',
17: 'Smoke generator',
18: 'Smoke generator',
19: 'Smoke generator',
20: 'Smoke generator',
21: 'Smoke generator',
22: 'Smoke generator',
23: 'Smoke generator',
},
'yak-1b ser.127': {
0: 'UB AP/HE [220], ShVAK AP/HE [140]',
1: 'UB AP/HE [220], ShVAK AP/HE [140], FAB-50sv [2]',
2: 'UB AP/HE [220], ShVAK AP/HE [140], FAB-100M [2]',
3: 'Empty',
4: 'Smoke generator',
5: 'Smoke generator',
6: 'Smoke generator',
7: 'Smoke generator',
8: 'Smoke generator',
9: 'Smoke generator',
10: 'Smoke generator',
11: 'Smoke generator',
12: 'Smoke generator',
13: 'Smoke generator',
14: 'Smoke generator',
15: 'Smoke generator',
}
}
aircraft_types = {
'bf 109 e-7': 1,
'bf 109 f-2': 1,
'bf 109 f-4': 1,
'bf 109 g-2': 1,
'bf 109 g-4': 1,
'bf 110 e-2': 2,
'fw 190 a-3': 1,
'he 111 h-6': 3,
'i-16 type 24': 1,
'il-2 mod.1941': 2,
'il-2 mod.1942': 2,
'ju 52 3mg4e': 4,
'ju 87 d-3': 2,
'ju 88 a-4': 3,
'la-5 ser.8': 1,
'lagg-3 ser.29': 1,
'mc.202 ser.viii': 1,
'mig-3 ser.24': 1,
'p-40e-1': 1,
'pe-2 ser.35': 3,
'pe-2 ser.87': 3,
'yak-1 ser.69': 1,
'yak-1b ser.127': 1
}
types_map = {
1: 'light',
2: 'medium',
3: 'heavy',
4: 'transport'
}
available_payloads = {
'bf 109 e-7': set(range(3)),
'bf 109 f-2': set(range(6)),
'bf 109 f-4': set(range(5)),
'bf 109 g-2': set(range(4)),
'bf 109 g-4': set(range(4)),
'bf 110 e-2': set(range(9)),
'fw 190 a-3': set(range(6)),
'he 111 h-6': set(range(13)),
'i-16 type 24': set(range(22)),
'il-2 mod.1941': set(range(72)),
'il-2 mod.1942': set(range(87)),
'ju 52 3mg4e': set(range(0)),
'ju 87 d-3': set(range(11)),
'ju 88 a-4': set(range(12)),
'la-5 ser.8': set(range(9)),
'lagg-3 ser.29': set(range(49)),
'mc.202 ser.viii': set(range(5)),
'mig-3 ser.24': set(range(24)),
'p-40e-1': set(range(36)),
'pe-2 ser.35': set(range(11)),
'pe-2 ser.87': set(range(11)),
'yak-1 ser.69': set(range(11)),
'yak-1b ser.127': set(range(3))
}
restricted_aircrafts = (
'ju 52 3mg4e'
)
horse_powers_furious = {
'bf 109 e-7': 1100,
'bf 109 f-2': 1175,
'bf 109 f-4': 1350,
'bf 109 g-2': 1310,
'bf 109 g-4': 1480,
'bf 110 e-2': 1100,
'fw 190 a-3': 1700,
'he 111 h-6': 1420,
'i-16 type 24': 1100,
'il-2 mod.1941': 1600,
'il-2 mod.1942': 1600,
'ju 87 d-3': 1420,
'ju 88 a-4': 1420,
'ju 52 3mg4e': 800,
'la-5 ser.8': 1700,
'lagg-3 ser.29': 1200,
'mc.202 ser.viii': 1175,
'mig-3 ser.24': 1350,
'p-40e-1': 1470,
'pe-2 ser.35': 1020,
'pe-2 ser.87': 1200,
'yak-1 ser.69': 1240,
'yak-1b ser.127': 1240
}
horse_powers_nominal = {
'bf 109 e-7': 910,
'bf 109 f-2': 1015,
'bf 109 f-4': 1200,
'bf 109 g-2': 1310,
'bf 109 g-4': 1310,
'bf 110 e-2': 910,
'fw 190 a-3': 1520,
'he 111 h-6': 1190,
'i-16 type 24': 930,
'il-2 mod.1941': 1500,
'il-2 mod.1942': 1500,
'ju 52 3mg4e': 800,
'ju 87 d-3': 1190,
'ju 88 a-4': 1190,
'la-5 ser.8': 1400,
'lagg-3 ser.29': 1200,
'mc.202 ser.viii': 1050,
'mig-3 ser.24': 1120,
'p-40e-1': 900,
'pe-2 ser.35': 1020,
'pe-2 ser.87': 1200,
'yak-1 ser.69': 1210,
'yak-1b ser.127': 1210
}
| 41.552239 | 78 | 0.481156 | 6,027 | 36,192 | 2.887008 | 0.040319 | 0.063448 | 0.112529 | 0.086897 | 0.82092 | 0.796437 | 0.77523 | 0.701149 | 0.676322 | 0.626034 | 0 | 0.260435 | 0.308273 | 36,192 | 870 | 79 | 41.6 | 0.434592 | 0 | 0 | 0.320186 | 0 | 0.138051 | 0.635997 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00116 | false | 0 | 0 | 0 | 0.00348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9cbeb5a15077a8d7da721eb4e7abbbc1c43202a9 | 55,873 | py | Python | src/abaqus/PlotOptions/BasicOptions.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/PlotOptions/BasicOptions.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/PlotOptions/BasicOptions.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from ..Datum.DatumCsys import DatumCsys
class BasicOptions:
"""The BasicOptions object stores values and attributes associated with an OdbDisplay
object.
The BasicOptions object has no constructor command. Abaqus creates the
*defaultOdbDisplay.basicOptions* member when you import the Visualization module. Abaqus
creates a *basicOptions* member when it creates the OdbDisplay object, using the values
from *defaultOdbDisplay.basicOptions*. Abaqus creates the *odbDisplay* member when a
viewport is created, using the attributes from the previous active viewport. The
previous active viewport contains the attributes from the *defaultOdbDisplay* object for
the session. The attributes from the *defaultOdbDisplay* object are copied from the
previous active viewport to create the new viewport.
BasicOptions objects are accessed in one of two ways:
- The default basic options: these settings are used as defaults when other
*basicOptions* members are created. These settings can be set to customize user
preferences.
- The basic options associated with a particular viewport.
Attributes
----------
regionAveraging: Boolean
A Boolean specifying whether to ignore region boundaries when computing values. The
default value is ON.
cameraMovesWithCsys: Boolean
A Boolean specifying whether the camera moves with the coordinate system. The default
value is OFF.
cameraFollowsRotation: Boolean
A Boolean specifying whether the camera, when it moves, follows the rotation of the
coordinate system. The default value is OFF.
averagingThreshold: float
A Float specifying the nodal averaging threshold percentage. Possible values are 0 <<
**averagingThreshold** << 100. The default value is 75.0.
quantityToPlot: SymbolicConstant
A SymbolicConstant specifying the quantity to plot. Possible values are FIELD_OUTPUT and
DISCONTINUITIES. The default value is FIELD_OUTPUT.
extrapAlgorithm: SymbolicConstant
A SymbolicConstant specifying the extrapolation algorithm. This member is for internal
use only. The only possible value is EXTRAP_COMPUTE_AVERAGE.
curveRefinementLevel: SymbolicConstant
A SymbolicConstant specifying the refinement level for drawing curves. Possible values
are EXTRA_COARSE, COARSE, MEDIUM, FINE, and EXTRA_FINE. The default value is COARSE.
featureAngle: float
A Float specifying the feature angle to be used when **visibleEdges=FEATURE**. The default
value is 30.0.
otherSymbolSize: int
An Int specifying the size of various glyph symbols (boundary conditions, coupling
constraints, etc.). The default value is 6.
renderBeamProfiles: Boolean
A Boolean specifying whether to render the beam profiles. The default value is OFF.
beamScaleFactor: float
A Float specifying the beam profile scale factor. The beamScaleFactor must be greater
than zero. The default value is 1.0.
renderShellThickness: Boolean
A Boolean specifying whether to render the shell thickness. The default value is OFF.
shellScaleFactor: float
A Float specifying the shell thickness scale factor. The shellScaleFactor must be
greater than zero. The default value is 1.0.
accountForDeactivatedElems: Boolean
A Boolean specifying whether to account for deactivated elements. The default value is
ON.
bcDisplay: Boolean
A Boolean specifying whether to display boundary conditions. The default value is OFF.
connectorDisplay: Boolean
A Boolean specifying whether to display connectors. The default value is OFF.
highlightConnectorPts: Boolean
A Boolean specifying whether to highlight connector points. The default value is ON.
showConnectorAxes: Boolean
A Boolean specifying whether to display connector orientations or coordinate systems.
The default value is ON.
showConnectorType: Boolean
A Boolean specifying whether to display the text that describes the connector type. The
default value is ON.
pointElements: Boolean
A Boolean specifying whether to display point type elements. The default value is ON.
referencePoints: Boolean
A Boolean specifying whether to display reference points. **referencePoints** is valid
only when **pointElements=ON**. The default value is ON.
massElements: Boolean
A Boolean specifying whether to display mass, heat capacity and inertia elements.
**massElements** is valid only when **pointElements=ON**. The default value is OFF.
springElements: Boolean
A Boolean specifying whether to display spring and dashpot elements. **springElements** is
valid only when **pointElements=ON**. The default value is OFF.
spotWelds: Boolean
A Boolean specifying whether to display spot weld and distributed coupling elements.
**spotWelds** is valid only when **pointElements=ON**. The default value is OFF.
tracerParticles: Boolean
A Boolean specifying whether to display tracer particles. **tracerParticles** is valid
only when **pointElements=ON**. The default value is OFF.
pc3dElements: Boolean
A Boolean specifying whether to display PC3D elements. **pc3dElements** is valid only when
**pointElements=ON**. The default value is ON.
pd3dElements: Boolean
A Boolean specifying whether to display PD3D elements. **pd3dElements** is valid only when
**pointElements=ON**. The default value is ON.
sweepArs: Boolean
A Boolean specifying whether to sweep the analytical surfaces. The default value is ON
or OFF, depending on the characteristics of your model.
sweepElem: Boolean
A Boolean specifying whether to sweep the deformable elements. The default value is ON
or OFF, depending on the characteristics of your model.
sweepStartAngleArs: float
A Float specifying the starting angle (in degrees) from which to sweep the analytical
surfaces when **sweepArs=ON**. The default value is 0.0.
sweepStartAngleElem: float
A Float specifying the starting angle (in degrees) from which to sweep the model when
**sweepElem=ON**. The default value is 0.0.
sweepEndAngleArs: float
A Float specifying the angle (in degrees) through which to sweep the analytical surfaces
when **sweepArs=ON**. The default value is 360.0.
sweepEndAngleElem: float
A Float specifying the angle (in degrees) through which to sweep the model when
**sweepElem=ON**. The default value is 180.0.
numSweepSegmentsArs: int
An Int specifying the number of segments to display when **sweepArs=ON**. The default
value is 10 or 20, depending on characteristics of your model.
numSweepSegmentsElem: int
An Int specifying the number of segments to display when **sweepElem=ON**. The default
value is 10 or 20, depending on characteristics of your model.
numericForm: SymbolicConstant
A SymbolicConstant specifying the numeric form in which to display results that contain
complex numbers. Possible values are COMPLEX_MAGNITUDE, COMPLEX_PHASE, REAL, IMAGINARY,
COMPLEX_MAG_AT_ANGLE, COMPLEX_ENVELOPE_MAX_ABS, COMPLEX_ENVELOPE_MAX, and
COMPLEX_ENVELOPE_MIN. The default value is REAL.
complexAngle: float
A Float specifying the angle (in degrees) at which to display results that contain
complex numbers when **numericForm=COMPLEX_MAG_AT_ANGLE**. The default value is 0.0.
sectionResults: SymbolicConstant
A SymbolicConstant specifying which of the section points to use. Possible values are
USE_BOTTOM, USE_TOP, USE_BOTTOM_AND_TOP, and USE_ENVELOPE. The default value is
USE_BOTTOM.
envelopeCriteria: SymbolicConstant
A SymbolicConstant specifying the envelope criterion. Possible values are MAX_VALUE,
MIN_VALUE, and MAX_ABS_VALUE. The default value is MAX_ABS_VALUE.
envelopeDataPosition: SymbolicConstant
A SymbolicConstant specifying the output position for envelope calculations. Possible
values are CENTROID, ELEMENT_NODAL, and INTEGRATION_POINT. The default value is
INTEGRATION_POINT.
plyResultLocation: SymbolicConstant
A SymbolicConstant specifying the ply result location. Possible values are BOTTOM,
MIDDLE, TOP, and TOP_AND_BOTTOM. The default value is MIDDLE.
sectionPointScheme: SymbolicConstant
A SymbolicConstant specifying the section point scheme. Possible values are
CATEGORY_BASED and PLY_BASED. The default value is CATEGORY_BASED.
sweepSectors: Boolean
A Boolean specifying whether to sweep the cyclic symmetry sectors. The default value is
OFF.
sectorSelectionType: SymbolicConstant
A SymbolicConstant specifying how sectors will be selected for sweeping. Possible values
are SELECT_BY_NUMBER, SELECT_BY_ANGLE, and SELECT_ALL. The default value is
SELECT_BY_NUMBER.
sweepSectorStartAngle: float
A Float specifying the angle (in degrees) from which to sweep cyclic symmetry sectors
when **sweepSectors=ON**. Possible values are multiples of the sector angle such that 0 ≤≤
**sweepSectorStartAngle** ≤≤ 360. The default value is 0.0.
sweepSectorEndAngle: float
A Float specifying the angle (in degrees) through which to sweep cyclic symmetry sectors
when **sweepSectors=ON**. Possible values are multiples of the sector angle such that 0 <<
**sweepSectorEndAngle** ≤≤ 360. The default value is 360.0.
extrudeArs: Boolean
A Boolean specifying whether to extrude analytical surfaces. The default value is ON or
OFF depending on characteristics of your model.
extrudeArsDepthAutoCompute: Boolean
A Boolean specifying whether to use automatic depth determination when extruding
analytical surfaces. The default value is ON. The default value is ON.
extrudeElem: Boolean
A Boolean specifying whether to extrude deformable elements. The default value is ON or
OFF depending on characteristics of your model.
extrudeArsDepth: float
A Float specifying the depth (in model units) by which the analytical surfaces are to be
extruded when **extrudeArs=ON**. The default value is 1.0.
extrudeElemDepth: float
A Float specifying the depth (in model units) by which the deformable elements are to be
extruded when **extrudeElem=ON**. The default value is 1.0.
mirrorPatternOrder: SymbolicConstant
A SymbolicConstant specifying the order of operations to create the mirror pattern.
Possible values are MIRROR_RECT_CIRC, RECT_MIRROR_CIRC, MIRROR_CIRC_RECT,
RECT_CIRC_MIRROR, CIRC_MIRROR_RECT, and CIRC_RECT_MIRROR. The default value is
MIRROR_RECT_CIRC.
mirrorAboutXyPlane: Boolean
A Boolean specifying whether to mirror about the XY plane. The default value is OFF.
mirrorAboutXzPlane: Boolean
A Boolean specifying whether to mirror about the XZ plane. The default value is OFF.
mirrorAboutYzPlane: Boolean
A Boolean specifying whether to mirror about the YZ plane. The default value is OFF.
mirrorDisplayBodies: Boolean
A Boolean specifying whether to mirror display bodies. The default value is OFF.
patternNumX: int
An Int specifying the number of patterns to create in the X-direction for a rectangular
pattern. The default value is 1.
patternNumY: int
An Int specifying the number of patterns to create in the Y-direction for a rectangular
pattern. The default value is 1.
patternNumZ: int
An Int specifying the number of patterns to create in the Z-direction for a rectangular
pattern. The default value is 1.
patternOffsetX: float
A Float specifying the offset of the pattern along the X-axis for a rectangular pattern.
The default value is 0.0.
patternOffsetY: float
A Float specifying the offset of the pattern along the Y-axis for a rectangular pattern.
The default value is 0.0.
patternOffsetZ: float
A Float specifying the offset of the pattern along the Z-axis for a rectangular pattern.
The default value is 0.0.
patternRotationAxis: SymbolicConstant
A SymbolicConstant specifying the axis of rotation for a circular. Possible values are
XAXIS, YAXIS, and ZAXIS. The default value is ZAXIS.
patternTotalAngle: float
A Float specifying the total angle of a circular pattern. The default value is 360.0.
patternNumCircular: int
An Int specifying the number of patterns to create in a circular pattern. The default
value is 1.
couplingDisplay: Boolean
A Boolean specifying whether to display coupling constraints. The default value is ON.
coordSystemDisplay: Boolean
A Boolean specifying whether to display coordinate systems. The default value is OFF.
scratchCoordSystemDisplay: Boolean
A Boolean specifying whether to display coordinate systems that represent user-defined
orientations. The default value is OFF.
transformationType: SymbolicConstant
A SymbolicConstant specifying the transformation to apply to the PrimaryVariable.
Possible values are DEFAULT, NODAL, USER_SPECIFIED, ANGULAR, and LAYUP_ORIENTATION. The
default value is DEFAULT.If **transformationType=NODAL**, Abaqus will transform nodal
vector fields into any orientation defined in the analysis with the TRANSFORM option.
Setting **transformationType=NODAL** has no effect on element-based results.If
**transformationType=USER_SPECIFIED**, Abaqus will transform tensor and vector fields into
the coordinate system specified by **datumCsys**.If
**transformationType=LAYUP_ORIENTATION**, Abaqus will transform tensor and vector fields
into the layup orientation defined in the composite section. The odb should contain the
field SORIENT in order to use this option.
rigidTransformPrimary: Boolean
A Boolean specifying whether to perform a rigid transformation of nodal vector datasets
based on the active user specific system The default value is OFF.
rigidTransformDeformed: Boolean
A Boolean specifying whether to perform a rigid transformation of current
deformedVariable based on the active user specific system The default value is OFF.
transformOnDeformed: Boolean
A Boolean specifying whether to include the effects of deformation on the transformation
calculations The default value is ON.
modelCanExtrude: Boolean
A Boolean specifying whether the model contains any elements or surfaces that can be
extruded.
sweepModelType: int
An Int specifying the types of sweepable elements and surfaces contained in the model,
if any.
averageElementOutput: Boolean
A Boolean specifying whether to average the element output. The default value is ON.
averageOnlyDisplayed: Boolean
A Boolean specifying whether to average only values on displayed elements. The default
value is ON.
regionBoundaries: SymbolicConstant
A SymbolicConstant specifying the type of averaging region boundaries. Possible values
are NONE, ODB_REGIONS, ELEMENT_SET, and DISPLAY_GROUPS. The default value is
ODB_REGIONS.
useRegionBoundaries: Boolean
A Boolean specifying whether to use region boundaries when averaging. The default value
is ON.
includeFeatureBoundaries: Boolean
A Boolean specifying whether to include additional averaging boundaries for shells and
membranes based on feature edges. The default value is ON.
numSectors: int
An Int specifying the number of sectors of a cyclic symmetric model. The value is
automatically computed from the cyclic symmetric model. This value is read-only.
sectorAngle: float
A Float specifying the sector angle of a cyclic symmetric model. The value is
automatically computed from the cyclic symmetric model. This value is read-only.
automaticExtrudeDepth: float
A Float specifying the automatic extrude depth used to extrude analytical rigid surfaces
in the default setting. This value is read-only.
cameraCsysName: str
A String specifying the name of the coordinate system driving the moving camera.
noResultsColor: str
A String specifying the color of elements that do not have any results. The default
value is "White".
mirrorCsysName: SymbolicConstant
The SymbolicConstant GLOBAL or a String specifying the name of the mirror's coordinate
system. The default value is GLOBAL.
patternCsysName: SymbolicConstant
The SymbolicConstant GLOBAL or a String specifying the name of the pattern's coordinate
system. The default value is GLOBAL.
datumCsys: DatumCsys
A :py:class:`~abaqus.Datum.DatumCsys.DatumCsys` object specifying the coordinate system to use for results transformation
when **transformationType=USER_SPECIFIED**.
selectedSectorNumbers: int
A tuple of Ints specifying which sectors to display when
**sectorSelectionType=SELECT_BY_NUMBER**. Possible values are 1 ≤≤ **selectedSectorNumbers**
≤≤ the number of sectors. The default value is (1).
userRegions: tuple
A tuple of Strings specifying either element set or display group names (depending on
the value of regionBoundaries) defining the averaging region boundaries. The default
value is an empty sequence.
Notes
-----
This object can be accessed by:
.. code-block:: python
import visualization
session.defaultOdbDisplay.basicOptions
session.viewports[name].layers[name].odbDisplay.basicOptions
session.viewports[name].odbDisplay.basicOptions
"""
# A Boolean specifying whether to ignore region boundaries when computing values. The
# default value is ON.
regionAveraging: Boolean = ON
# A Boolean specifying whether the camera moves with the coordinate system. The default
# value is OFF.
cameraMovesWithCsys: Boolean = OFF
# A Boolean specifying whether the camera, when it moves, follows the rotation of the
# coordinate system. The default value is OFF.
cameraFollowsRotation: Boolean = OFF
# A Float specifying the nodal averaging threshold percentage. Possible values are 0 <<
# *averagingThreshold* << 100. The default value is 75.0.
averagingThreshold: float = 75
# A SymbolicConstant specifying the quantity to plot. Possible values are FIELD_OUTPUT and
# DISCONTINUITIES. The default value is FIELD_OUTPUT.
quantityToPlot: SymbolicConstant = FIELD_OUTPUT
# A SymbolicConstant specifying the extrapolation algorithm. This member is for internal
# use only. The only possible value is EXTRAP_COMPUTE_AVERAGE.
extrapAlgorithm: SymbolicConstant = None
# A SymbolicConstant specifying the refinement level for drawing curves. Possible values
# are EXTRA_COARSE, COARSE, MEDIUM, FINE, and EXTRA_FINE. The default value is COARSE.
curveRefinementLevel: SymbolicConstant = COARSE
# A Float specifying the feature angle to be used when *visibleEdges*=FEATURE. The default
# value is 30.0.
featureAngle: float = 30
# An Int specifying the size of various glyph symbols (boundary conditions, coupling
# constraints, etc.). The default value is 6.
otherSymbolSize: int = 6
# A Boolean specifying whether to render the beam profiles. The default value is OFF.
renderBeamProfiles: Boolean = OFF
# A Float specifying the beam profile scale factor. The beamScaleFactor must be greater
# than zero. The default value is 1.0.
beamScaleFactor: float = 1
# A Boolean specifying whether to render the shell thickness. The default value is OFF.
renderShellThickness: Boolean = OFF
# A Float specifying the shell thickness scale factor. The shellScaleFactor must be
# greater than zero. The default value is 1.0.
shellScaleFactor: float = 1
# A Boolean specifying whether to account for deactivated elements. The default value is
# ON.
accountForDeactivatedElems: Boolean = ON
# A Boolean specifying whether to display boundary conditions. The default value is OFF.
bcDisplay: Boolean = OFF
# A Boolean specifying whether to display connectors. The default value is OFF.
connectorDisplay: Boolean = OFF
# A Boolean specifying whether to highlight connector points. The default value is ON.
highlightConnectorPts: Boolean = ON
# A Boolean specifying whether to display connector orientations or coordinate systems.
# The default value is ON.
showConnectorAxes: Boolean = ON
# A Boolean specifying whether to display the text that describes the connector type. The
# default value is ON.
showConnectorType: Boolean = ON
# A Boolean specifying whether to display point type elements. The default value is ON.
pointElements: Boolean = ON
# A Boolean specifying whether to display reference points. *referencePoints* is valid
# only when *pointElements*=ON. The default value is ON.
referencePoints: Boolean = ON
# A Boolean specifying whether to display mass, heat capacity and inertia elements.
# *massElements* is valid only when *pointElements*=ON. The default value is OFF.
massElements: Boolean = OFF
# A Boolean specifying whether to display spring and dashpot elements. *springElements* is
# valid only when *pointElements*=ON. The default value is OFF.
springElements: Boolean = OFF
# A Boolean specifying whether to display spot weld and distributed coupling elements.
# *spotWelds* is valid only when *pointElements*=ON. The default value is OFF.
spotWelds: Boolean = OFF
# A Boolean specifying whether to display tracer particles. *tracerParticles* is valid
# only when *pointElements*=ON. The default value is OFF.
tracerParticles: Boolean = OFF
# A Boolean specifying whether to display PC3D elements. *pc3dElements* is valid only when
# *pointElements*=ON. The default value is ON.
pc3dElements: Boolean = ON
# A Boolean specifying whether to display PD3D elements. *pd3dElements* is valid only when
# *pointElements*=ON. The default value is ON.
pd3dElements: Boolean = ON
# A Boolean specifying whether to sweep the analytical surfaces. The default value is ON
# or OFF, depending on the characteristics of your model.
sweepArs: Boolean = OFF
# A Boolean specifying whether to sweep the deformable elements. The default value is ON
# or OFF, depending on the characteristics of your model.
sweepElem: Boolean = OFF
# A Float specifying the starting angle (in degrees) from which to sweep the analytical
# surfaces when *sweepArs*=ON. The default value is 0.0.
sweepStartAngleArs: float = 0
# A Float specifying the starting angle (in degrees) from which to sweep the model when
# *sweepElem*=ON. The default value is 0.0.
sweepStartAngleElem: float = 0
# A Float specifying the angle (in degrees) through which to sweep the analytical surfaces
# when *sweepArs*=ON. The default value is 360.0.
sweepEndAngleArs: float = 360
# A Float specifying the angle (in degrees) through which to sweep the model when
# *sweepElem*=ON. The default value is 180.0.
sweepEndAngleElem: float = 180
# An Int specifying the number of segments to display when *sweepArs*=ON. The default
# value is 10 or 20, depending on characteristics of your model.
numSweepSegmentsArs: int = None
# An Int specifying the number of segments to display when *sweepElem*=ON. The default
# value is 10 or 20, depending on characteristics of your model.
numSweepSegmentsElem: int = None
# A SymbolicConstant specifying the numeric form in which to display results that contain
# complex numbers. Possible values are COMPLEX_MAGNITUDE, COMPLEX_PHASE, REAL, IMAGINARY,
# COMPLEX_MAG_AT_ANGLE, COMPLEX_ENVELOPE_MAX_ABS, COMPLEX_ENVELOPE_MAX, and
# COMPLEX_ENVELOPE_MIN. The default value is REAL.
numericForm: SymbolicConstant = REAL
# A Float specifying the angle (in degrees) at which to display results that contain
# complex numbers when *numericForm*=COMPLEX_MAG_AT_ANGLE. The default value is 0.0.
complexAngle: float = 0
# A SymbolicConstant specifying which of the section points to use. Possible values are
# USE_BOTTOM, USE_TOP, USE_BOTTOM_AND_TOP, and USE_ENVELOPE. The default value is
# USE_BOTTOM.
sectionResults: SymbolicConstant = USE_BOTTOM
# A SymbolicConstant specifying the envelope criterion. Possible values are MAX_VALUE,
# MIN_VALUE, and MAX_ABS_VALUE. The default value is MAX_ABS_VALUE.
envelopeCriteria: SymbolicConstant = MAX_ABS_VALUE
# A SymbolicConstant specifying the output position for envelope calculations. Possible
# values are CENTROID, ELEMENT_NODAL, and INTEGRATION_POINT. The default value is
# INTEGRATION_POINT.
envelopeDataPosition: SymbolicConstant = INTEGRATION_POINT
# A SymbolicConstant specifying the ply result location. Possible values are BOTTOM,
# MIDDLE, TOP, and TOP_AND_BOTTOM. The default value is MIDDLE.
plyResultLocation: SymbolicConstant = MIDDLE
# A SymbolicConstant specifying the section point scheme. Possible values are
# CATEGORY_BASED and PLY_BASED. The default value is CATEGORY_BASED.
sectionPointScheme: SymbolicConstant = CATEGORY_BASED
# A Boolean specifying whether to sweep the cyclic symmetry sectors. The default value is
# OFF.
sweepSectors: Boolean = OFF
# A SymbolicConstant specifying how sectors will be selected for sweeping. Possible values
# are SELECT_BY_NUMBER, SELECT_BY_ANGLE, and SELECT_ALL. The default value is
# SELECT_BY_NUMBER.
sectorSelectionType: SymbolicConstant = SELECT_BY_NUMBER
# A Float specifying the angle (in degrees) from which to sweep cyclic symmetry sectors
# when *sweepSectors*=ON. Possible values are multiples of the sector angle such that 0 ≤≤
# *sweepSectorStartAngle* ≤≤ 360. The default value is 0.0.
sweepSectorStartAngle: float = 0
# A Float specifying the angle (in degrees) through which to sweep cyclic symmetry sectors
# when *sweepSectors*=ON. Possible values are multiples of the sector angle such that 0 <<
# *sweepSectorEndAngle* ≤≤ 360. The default value is 360.0.
sweepSectorEndAngle: float = 360
# A Boolean specifying whether to extrude analytical surfaces. The default value is ON or
# OFF depending on characteristics of your model.
extrudeArs: Boolean = OFF
# A Boolean specifying whether to use automatic depth determination when extruding
# analytical surfaces. The default value is ON. The default value is ON.
extrudeArsDepthAutoCompute: Boolean = ON
# A Boolean specifying whether to extrude deformable elements. The default value is ON or
# OFF depending on characteristics of your model.
extrudeElem: Boolean = OFF
# A Float specifying the depth (in model units) by which the analytical surfaces are to be
# extruded when *extrudeArs*=ON. The default value is 1.0.
extrudeArsDepth: float = 1
# A Float specifying the depth (in model units) by which the deformable elements are to be
# extruded when *extrudeElem*=ON. The default value is 1.0.
extrudeElemDepth: float = 1
# A SymbolicConstant specifying the order of operations to create the mirror pattern.
# Possible values are MIRROR_RECT_CIRC, RECT_MIRROR_CIRC, MIRROR_CIRC_RECT,
# RECT_CIRC_MIRROR, CIRC_MIRROR_RECT, and CIRC_RECT_MIRROR. The default value is
# MIRROR_RECT_CIRC.
mirrorPatternOrder: SymbolicConstant = MIRROR_RECT_CIRC
# A Boolean specifying whether to mirror about the XY plane. The default value is OFF.
mirrorAboutXyPlane: Boolean = OFF
# A Boolean specifying whether to mirror about the XZ plane. The default value is OFF.
mirrorAboutXzPlane: Boolean = OFF
# A Boolean specifying whether to mirror about the YZ plane. The default value is OFF.
mirrorAboutYzPlane: Boolean = OFF
# A Boolean specifying whether to mirror display bodies. The default value is OFF.
mirrorDisplayBodies: Boolean = OFF
# An Int specifying the number of patterns to create in the X-direction for a rectangular
# pattern. The default value is 1.
patternNumX: int = 1
# An Int specifying the number of patterns to create in the Y-direction for a rectangular
# pattern. The default value is 1.
patternNumY: int = 1
# An Int specifying the number of patterns to create in the Z-direction for a rectangular
# pattern. The default value is 1.
patternNumZ: int = 1
# A Float specifying the offset of the pattern along the X-axis for a rectangular pattern.
# The default value is 0.0.
patternOffsetX: float = 0
# A Float specifying the offset of the pattern along the Y-axis for a rectangular pattern.
# The default value is 0.0.
patternOffsetY: float = 0
# A Float specifying the offset of the pattern along the Z-axis for a rectangular pattern.
# The default value is 0.0.
patternOffsetZ: float = 0
# A SymbolicConstant specifying the axis of rotation for a circular. Possible values are
# XAXIS, YAXIS, and ZAXIS. The default value is ZAXIS.
patternRotationAxis: SymbolicConstant = ZAXIS
# A Float specifying the total angle of a circular pattern. The default value is 360.0.
patternTotalAngle: float = 360
# An Int specifying the number of patterns to create in a circular pattern. The default
# value is 1.
patternNumCircular: int = 1
# A Boolean specifying whether to display coupling constraints. The default value is ON.
couplingDisplay: Boolean = ON
# A Boolean specifying whether to display coordinate systems. The default value is OFF.
coordSystemDisplay: Boolean = OFF
# A Boolean specifying whether to display coordinate systems that represent user-defined
# orientations. The default value is OFF.
scratchCoordSystemDisplay: Boolean = OFF
# A SymbolicConstant specifying the transformation to apply to the PrimaryVariable.
# Possible values are DEFAULT, NODAL, USER_SPECIFIED, ANGULAR, and LAYUP_ORIENTATION. The
# default value is DEFAULT.If *transformationType*=NODAL, Abaqus will transform nodal
# vector fields into any orientation defined in the analysis with the TRANSFORM option.
# Setting *transformationType*=NODAL has no effect on element-based results.If
# *transformationType*=USER_SPECIFIED, Abaqus will transform tensor and vector fields into
# the coordinate system specified by *datumCsys*.If
# *transformationType*=LAYUP_ORIENTATION, Abaqus will transform tensor and vector fields
# into the layup orientation defined in the composite section. The odb should contain the
# field SORIENT in order to use this option.
transformationType: SymbolicConstant = DEFAULT
# A Boolean specifying whether to perform a rigid transformation of nodal vector datasets
# based on the active user specific system The default value is OFF.
rigidTransformPrimary: Boolean = OFF
# A Boolean specifying whether to perform a rigid transformation of current
# deformedVariable based on the active user specific system The default value is OFF.
rigidTransformDeformed: Boolean = OFF
# A Boolean specifying whether to include the effects of deformation on the transformation
# calculations The default value is ON.
transformOnDeformed: Boolean = ON
# A Boolean specifying whether the model contains any elements or surfaces that can be
# extruded.
modelCanExtrude: Boolean = OFF
# An Int specifying the types of sweepable elements and surfaces contained in the model,
# if any.
sweepModelType: int = None
# A Boolean specifying whether to average the element output. The default value is ON.
averageElementOutput: Boolean = ON
# A Boolean specifying whether to average only values on displayed elements. The default
# value is ON.
averageOnlyDisplayed: Boolean = ON
# A SymbolicConstant specifying the type of averaging region boundaries. Possible values
# are NONE, ODB_REGIONS, ELEMENT_SET, and DISPLAY_GROUPS. The default value is
# ODB_REGIONS.
regionBoundaries: SymbolicConstant = ODB_REGIONS
# A Boolean specifying whether to use region boundaries when averaging. The default value
# is ON.
useRegionBoundaries: Boolean = ON
# A Boolean specifying whether to include additional averaging boundaries for shells and
# membranes based on feature edges. The default value is ON.
includeFeatureBoundaries: Boolean = ON
# An Int specifying the number of sectors of a cyclic symmetric model. The value is
# automatically computed from the cyclic symmetric model. This value is read-only.
numSectors: int = None
# A Float specifying the sector angle of a cyclic symmetric model. The value is
# automatically computed from the cyclic symmetric model. This value is read-only.
sectorAngle: float = None
# A Float specifying the automatic extrude depth used to extrude analytical rigid surfaces
# in the default setting. This value is read-only.
automaticExtrudeDepth: float = None
# A String specifying the name of the coordinate system driving the moving camera.
cameraCsysName: str = ''
# A String specifying the color of elements that do not have any results. The default
# value is "White".
noResultsColor: str = ''
# The SymbolicConstant GLOBAL or a String specifying the name of the mirror's coordinate
# system. The default value is GLOBAL.
mirrorCsysName: SymbolicConstant = GLOBAL
# The SymbolicConstant GLOBAL or a String specifying the name of the pattern's coordinate
# system. The default value is GLOBAL.
patternCsysName: SymbolicConstant = GLOBAL
# A DatumCsys object specifying the coordinate system to use for results transformation
# when *transformationType*=USER_SPECIFIED.
datumCsys: DatumCsys = DatumCsys()
# A tuple of Ints specifying which sectors to display when
# *sectorSelectionType*=SELECT_BY_NUMBER. Possible values are 1 ≤≤ *selectedSectorNumbers*
# ≤≤ the number of sectors. The default value is (1).
selectedSectorNumbers: int = None
# A tuple of Strings specifying either element set or display group names (depending on
# the value of regionBoundaries) defining the averaging region boundaries. The default
# value is an empty sequence.
userRegions: tuple = ()
def setValues(self, options: 'BasicOptions' = None, cameraCsysName: str = '',
cameraMovesWithCsys: Boolean = OFF, cameraFollowsRotation: Boolean = OFF,
averagingThreshold: float = 75, quantityToPlot: SymbolicConstant = FIELD_OUTPUT,
curveRefinementLevel: SymbolicConstant = COARSE, noResultsColor: str = '',
featureAngle: float = 30, otherSymbolSize: int = 6, renderBeamProfiles: Boolean = OFF,
beamScaleFactor: float = 1, renderShellThickness: Boolean = OFF,
shellScaleFactor: float = 1, accountForDeactivatedElems: Boolean = ON,
bcDisplay: Boolean = OFF, connectorDisplay: Boolean = OFF,
highlightConnectorPts: Boolean = ON, showConnectorAxes: Boolean = ON,
showConnectorType: Boolean = ON, pointElements: Boolean = ON,
referencePoints: Boolean = ON, massElements: Boolean = OFF,
springElements: Boolean = OFF, spotWelds: Boolean = OFF, tracerParticles: Boolean = OFF,
pc3dElements: Boolean = ON, pd3dElements: Boolean = ON, sweepArs: Boolean = OFF,
sweepElem: Boolean = OFF, sweepStartAngleArs: float = 0, sweepStartAngleElem: float = 0,
sweepEndAngleArs: float = 360, sweepEndAngleElem: float = 180,
numSweepSegmentsArs: int = None, numSweepSegmentsElem: int = None,
numericForm: SymbolicConstant = REAL, complexAngle: float = 0,
sectionResults: SymbolicConstant = USE_BOTTOM,
envelopeCriteria: SymbolicConstant = MAX_ABS_VALUE,
envelopeDataPosition: SymbolicConstant = INTEGRATION_POINT,
plyResultLocation: SymbolicConstant = MIDDLE,
sectionPointScheme: SymbolicConstant = CATEGORY_BASED, sweepSectors: Boolean = OFF,
sectorSelectionType: SymbolicConstant = SELECT_BY_NUMBER,
selectedSectorNumbers: tuple = (), sweepSectorStartAngle: float = 0,
sweepSectorEndAngle: float = 360, extrudeArs: Boolean = OFF,
extrudeArsDepthAutoCompute: Boolean = ON, extrudeElem: Boolean = OFF,
extrudeArsDepth: float = 1, extrudeElemDepth: float = 1,
mirrorPatternOrder: SymbolicConstant = MIRROR_RECT_CIRC,
mirrorCsysName: SymbolicConstant = GLOBAL, mirrorAboutXyPlane: Boolean = OFF,
mirrorAboutXzPlane: Boolean = OFF, mirrorAboutYzPlane: Boolean = OFF,
mirrorDisplayBodies: Boolean = OFF, patternCsysName: SymbolicConstant = GLOBAL,
patternNumX: int = 1, patternNumY: int = 1, patternNumZ: int = 1,
patternOffsetX: float = 0, patternOffsetY: float = 0, patternOffsetZ: float = 0,
patternRotationAxis: SymbolicConstant = ZAXIS, patternTotalAngle: float = 360,
patternNumCircular: int = 1, couplingDisplay: Boolean = ON,
coordSystemDisplay: Boolean = OFF, scratchCoordSystemDisplay: Boolean = OFF,
transformationType: SymbolicConstant = DEFAULT, datumCsys: DatumCsys = DatumCsys(),
rigidTransformPrimary: Boolean = OFF, rigidTransformDeformed: Boolean = OFF,
transformOnDeformed: Boolean = ON, averageElementOutput: Boolean = ON,
averageOnlyDisplayed: Boolean = ON,
computeOutput: SymbolicConstant = EXTRAPOLATE_AVERAGE_COMPUTE,
regionBoundaries: SymbolicConstant = ODB_REGIONS, useRegionBoundaries: Boolean = ON,
userRegions: tuple = (), includeFeatureBoundaries: Boolean = ON):
"""This method modifies the BasicOptions object.
Parameters
----------
options
A BasicOptions object from which values are to be copied. If other arguments are also
supplied to setValues, they will override the values in *options*. The default value is
None.
cameraCsysName
A String specifying the name of the coordinate system driving the moving camera.
cameraMovesWithCsys
A Boolean specifying whether the camera moves with the coordinate system. The default
value is OFF.
cameraFollowsRotation
A Boolean specifying whether the camera, when it moves, follows the rotation of the
coordinate system. The default value is OFF.
averagingThreshold
A Float specifying the nodal averaging threshold percentage. Possible values are 0 <<
*averagingThreshold* << 100. The default value is 75.0.
quantityToPlot
A SymbolicConstant specifying the quantity to plot. Possible values are FIELD_OUTPUT and
DISCONTINUITIES. The default value is FIELD_OUTPUT.
curveRefinementLevel
A SymbolicConstant specifying the refinement level for drawing curves. Possible values
are EXTRA_COARSE, COARSE, MEDIUM, FINE, and EXTRA_FINE. The default value is COARSE.
noResultsColor
A String specifying the color of elements that do not have any results. The default
value is "White".
featureAngle
A Float specifying the feature angle to be used when *visibleEdges*=FEATURE. The default
value is 30.0.
otherSymbolSize
An Int specifying the size of various glyph symbols (boundary conditions, coupling
constraints, etc.). The default value is 6.
renderBeamProfiles
A Boolean specifying whether to render the beam profiles. The default value is OFF.
beamScaleFactor
A Float specifying the beam profile scale factor. The beamScaleFactor must be greater
than zero. The default value is 1.0.
renderShellThickness
A Boolean specifying whether to render the shell thickness. The default value is OFF.
shellScaleFactor
A Float specifying the shell thickness scale factor. The shellScaleFactor must be
greater than zero. The default value is 1.0.
accountForDeactivatedElems
A Boolean specifying whether to account for deactivated elements. The default value is
ON.
bcDisplay
A Boolean specifying whether to display boundary conditions. The default value is OFF.
connectorDisplay
A Boolean specifying whether to display connectors. The default value is OFF.
highlightConnectorPts
A Boolean specifying whether to highlight connector points. The default value is ON.
showConnectorAxes
A Boolean specifying whether to display connector orientations or coordinate systems.
The default value is ON.
showConnectorType
A Boolean specifying whether to display the text that describes the connector type. The
default value is ON.
pointElements
A Boolean specifying whether to display point type elements. The default value is ON.
referencePoints
A Boolean specifying whether to display reference points. *referencePoints* is valid
only when *pointElements*=ON. The default value is ON.
massElements
A Boolean specifying whether to display mass, heat capacity and inertia elements.
*massElements* is valid only when *pointElements*=ON. The default value is OFF.
springElements
A Boolean specifying whether to display spring and dashpot elements. *springElements* is
valid only when *pointElements*=ON. The default value is OFF.
spotWelds
A Boolean specifying whether to display spot weld and distributed coupling elements.
*spotWelds* is valid only when *pointElements*=ON. The default value is OFF.
tracerParticles
A Boolean specifying whether to display tracer particles. *tracerParticles* is valid
only when *pointElements*=ON. The default value is OFF.
pc3dElements
A Boolean specifying whether to display PC3D elements. *pc3dElements* is valid only when
*pointElements*=ON. The default value is ON.
pd3dElements
A Boolean specifying whether to display PD3D elements. *pd3dElements* is valid only when
*pointElements*=ON. The default value is ON.
sweepArs
A Boolean specifying whether to sweep the analytical surfaces. The default value is ON
or OFF, depending on the characteristics of your model.
sweepElem
A Boolean specifying whether to sweep the deformable elements. The default value is ON
or OFF, depending on the characteristics of your model.
sweepStartAngleArs
A Float specifying the starting angle (in degrees) from which to sweep the analytical
surfaces when *sweepArs*=ON. The default value is 0.0.
sweepStartAngleElem
A Float specifying the starting angle (in degrees) from which to sweep the model when
*sweepElem*=ON. The default value is 0.0.
sweepEndAngleArs
A Float specifying the angle (in degrees) through which to sweep the analytical surfaces
when *sweepArs*=ON. The default value is 360.0.
sweepEndAngleElem
A Float specifying the angle (in degrees) through which to sweep the model when
*sweepElem*=ON. The default value is 180.0.
numSweepSegmentsArs
An Int specifying the number of segments to display when *sweepArs*=ON. The default
value is 10 or 20, depending on characteristics of your model.
numSweepSegmentsElem
An Int specifying the number of segments to display when *sweepElem*=ON. The default
value is 10 or 20, depending on characteristics of your model.
numericForm
A SymbolicConstant specifying the numeric form in which to display results that contain
complex numbers. Possible values are COMPLEX_MAGNITUDE, COMPLEX_PHASE, REAL, IMAGINARY,
COMPLEX_MAG_AT_ANGLE, COMPLEX_ENVELOPE_MAX_ABS, COMPLEX_ENVELOPE_MAX, and
COMPLEX_ENVELOPE_MIN. The default value is REAL.
complexAngle
A Float specifying the angle (in degrees) at which to display results that contain
complex numbers when *numericForm*=COMPLEX_MAG_AT_ANGLE. The default value is 0.0.
sectionResults
A SymbolicConstant specifying which of the section points to use. Possible values are
USE_BOTTOM, USE_TOP, USE_BOTTOM_AND_TOP, and USE_ENVELOPE. The default value is
USE_BOTTOM.
envelopeCriteria
A SymbolicConstant specifying the envelope criterion. Possible values are MAX_VALUE,
MIN_VALUE, and MAX_ABS_VALUE. The default value is MAX_ABS_VALUE.
envelopeDataPosition
A SymbolicConstant specifying the output position for envelope calculations. Possible
values are CENTROID, ELEMENT_NODAL, and INTEGRATION_POINT. The default value is
INTEGRATION_POINT.
plyResultLocation
A SymbolicConstant specifying the ply result location. Possible values are BOTTOM,
MIDDLE, TOP, and TOP_AND_BOTTOM. The default value is MIDDLE.
sectionPointScheme
A SymbolicConstant specifying the section point scheme. Possible values are
CATEGORY_BASED and PLY_BASED. The default value is CATEGORY_BASED.
sweepSectors
A Boolean specifying whether to sweep the cyclic symmetry sectors. The default value is
OFF.
sectorSelectionType
A SymbolicConstant specifying how sectors will be selected for sweeping. Possible values
are SELECT_BY_NUMBER, SELECT_BY_ANGLE, and SELECT_ALL. The default value is
SELECT_BY_NUMBER.
selectedSectorNumbers
A sequence of Ints specifying which sectors to display when
*sectorSelectionType*=SELECT_BY_NUMBER. Possible values are 1 ≤≤ *selectedSectorNumbers*
≤≤ the number of sectors. The default value is (1).
sweepSectorStartAngle
A Float specifying the angle (in degrees) from which to sweep cyclic symmetry sectors
when *sweepSectors*=ON. Possible values are multiples of the sector angle such that 0 ≤≤
*sweepSectorStartAngle* ≤≤ 360. The default value is 0.0.
sweepSectorEndAngle
A Float specifying the angle (in degrees) through which to sweep cyclic symmetry sectors
when *sweepSectors*=ON. Possible values are multiples of the sector angle such that 0 <<
*sweepSectorEndAngle* ≤≤ 360. The default value is 360.0.
extrudeArs
A Boolean specifying whether to extrude analytical surfaces. The default value is ON or
OFF depending on characteristics of your model.
extrudeArsDepthAutoCompute
A Boolean specifying whether to use automatic depth determination when extruding
analytical surfaces. The default value is ON. The default value is ON.
extrudeElem
A Boolean specifying whether to extrude deformable elements. The default value is ON or
OFF depending on characteristics of your model.
extrudeArsDepth
A Float specifying the depth (in model units) by which the analytical surfaces are to be
extruded when *extrudeArs*=ON. The default value is 1.0.
extrudeElemDepth
A Float specifying the depth (in model units) by which the deformable elements are to be
extruded when *extrudeElem*=ON. The default value is 1.0.
mirrorPatternOrder
A SymbolicConstant specifying the order of operations to create the mirror pattern.
Possible values are MIRROR_RECT_CIRC, RECT_MIRROR_CIRC, MIRROR_CIRC_RECT,
RECT_CIRC_MIRROR, CIRC_MIRROR_RECT, and CIRC_RECT_MIRROR. The default value is
MIRROR_RECT_CIRC.
mirrorCsysName
The SymbolicConstant GLOBAL or a String specifying the name of the mirror's coordinate
system. The default value is GLOBAL.
mirrorAboutXyPlane
A Boolean specifying whether to mirror about the XY plane. The default value is OFF.
mirrorAboutXzPlane
A Boolean specifying whether to mirror about the XZ plane. The default value is OFF.
mirrorAboutYzPlane
A Boolean specifying whether to mirror about the YZ plane. The default value is OFF.
mirrorDisplayBodies
A Boolean specifying whether to mirror display bodies. The default value is OFF.
patternCsysName
The SymbolicConstant GLOBAL or a String specifying the name of the pattern's coordinate
system. The default value is GLOBAL.
patternNumX
An Int specifying the number of patterns to create in the X-direction for a rectangular
pattern. The default value is 1.
patternNumY
An Int specifying the number of patterns to create in the Y-direction for a rectangular
pattern. The default value is 1.
patternNumZ
An Int specifying the number of patterns to create in the Z-direction for a rectangular
pattern. The default value is 1.
patternOffsetX
A Float specifying the offset of the pattern along the X-axis for a rectangular pattern.
The default value is 0.0.
patternOffsetY
A Float specifying the offset of the pattern along the Y-axis for a rectangular pattern.
The default value is 0.0.
patternOffsetZ
A Float specifying the offset of the pattern along the Z-axis for a rectangular pattern.
The default value is 0.0.
patternRotationAxis
A SymbolicConstant specifying the axis of rotation for a circular. Possible values are
XAXIS, YAXIS, and ZAXIS. The default value is ZAXIS.
patternTotalAngle
A Float specifying the total angle of a circular pattern. The default value is 360.0.
patternNumCircular
An Int specifying the number of patterns to create in a circular pattern. The default
value is 1.
couplingDisplay
A Boolean specifying whether to display coupling constraints. The default value is ON.
coordSystemDisplay
A Boolean specifying whether to display coordinate systems. The default value is OFF.
scratchCoordSystemDisplay
A Boolean specifying whether to display coordinate systems that represent user-defined
orientations. The default value is OFF.
transformationType
A SymbolicConstant specifying the transformation to apply to the PrimaryVariable.
Possible values are DEFAULT, NODAL, USER_SPECIFIED, ANGULAR, and LAYUP_ORIENTATION. The
default value is DEFAULT.If *transformationType*=NODAL, Abaqus will transform nodal
vector fields into any orientation defined in the analysis with the TRANSFORM option.
Setting *transformationType*=NODAL has no effect on element-based results.If
*transformationType*=USER_SPECIFIED, Abaqus will transform tensor and vector fields into
the coordinate system specified by *datumCsys*.If
*transformationType*=LAYUP_ORIENTATION, Abaqus will transform tensor and vector fields
into the layup orientation defined in the composite section. The odb should contain the
field SORIENT in order to use this option.
datumCsys
A DatumCsys object specifying the coordinate system to use for results transformation
when *transformationType*=USER_SPECIFIED.
rigidTransformPrimary
A Boolean specifying whether to perform a rigid transformation of nodal vector datasets
based on the active user specific system The default value is OFF.
rigidTransformDeformed
A Boolean specifying whether to perform a rigid transformation of current
deformedVariable based on the active user specific system The default value is OFF.
transformOnDeformed
A Boolean specifying whether to include the effects of deformation on the transformation
calculations The default value is ON.
averageElementOutput
A Boolean specifying whether to average the element output. The default value is ON.
averageOnlyDisplayed
A Boolean specifying whether to average only values on displayed elements. The default
value is ON.
computeOutput
A SymbolicConstant specifying the order or the computations to be performed. Possible
values are EXTRAPOLATE_AVERAGE_COMPUTE, EXTRAPOLATE_COMPUTE_AVERAGE,
EXTRAPOLATE_COMPUTE, EXTRAPOLATE_COMPUTE_DISCONTINUITIES, and RAW_DATA. The default
value is EXTRAPOLATE_AVERAGE_COMPUTE.
regionBoundaries
A SymbolicConstant specifying the type of averaging region boundaries. Possible values
are NONE, ODB_REGIONS, ELEMENT_SET, and DISPLAY_GROUPS. The default value is
ODB_REGIONS.
useRegionBoundaries
A Boolean specifying whether to use region boundaries when averaging. The default value
is ON.
userRegions
A sequence of Strings specifying either element set or display group names (depending on
the value of regionBoundaries) defining the averaging region boundaries. The default
value is an empty sequence.
includeFeatureBoundaries
A Boolean specifying whether to include additional averaging boundaries for shells and
membranes based on feature edges. The default value is ON.
Raises
------
- If *featureAngle* is not in the valid range:
RangeError: featureAngle must be a float in the range 0-90, inclusive
"""
pass
| 56.723858 | 129 | 0.711721 | 6,830 | 55,873 | 5.789458 | 0.06735 | 0.04585 | 0.093698 | 0.106191 | 0.858024 | 0.84108 | 0.834733 | 0.821886 | 0.816954 | 0.815057 | 0 | 0.00715 | 0.248993 | 55,873 | 984 | 130 | 56.781504 | 0.934487 | 0.790078 | 0 | 0 | 0 | 0 | 0.001465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007353 | false | 0.007353 | 0.014706 | 0 | 0.683824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
9cc2c21c21c3ecc3c1b7b5de954f27545ed297b4 | 16,949 | py | Python | edward2/jax/nn/heteroscedastic_lib.py | google/edward2 | 5574e773ca4ff5f36a5d9bf3b75ac8505973aa4b | [
"Apache-2.0"
] | 591 | 2019-08-13T20:48:00.000Z | 2022-03-31T03:34:32.000Z | edward2/jax/nn/heteroscedastic_lib.py | google/edward2 | 5574e773ca4ff5f36a5d9bf3b75ac8505973aa4b | [
"Apache-2.0"
] | 162 | 2019-08-15T00:39:09.000Z | 2022-03-25T07:19:15.000Z | edward2/jax/nn/heteroscedastic_lib.py | google/edward2 | 5574e773ca4ff5f36a5d9bf3b75ac8505973aa4b | [
"Apache-2.0"
] | 78 | 2019-08-13T20:45:13.000Z | 2022-03-10T11:54:18.000Z | # coding=utf-8
# Copyright 2021 The Edward2 Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Lint as: python3
"""Library of methods to compute heteroscedastic classification predictions."""
import flax.linen as nn
import jax
import jax.numpy as jnp
MIN_SCALE_MONTE_CARLO = 1e-3
class MCSoftmaxDenseFA(nn.Module):
"""Softmax and factor analysis approx to heteroscedastic predictions.
if we assume:
u ~ N(mu(x), sigma(x))
and
y = softmax(u / temperature)
we can do a low rank approximation of sigma(x) the full rank matrix as:
eps_R ~ N(0, I_R), eps_K ~ N(0, I_K)
u = mu(x) + matmul(V(x), eps_R) + d(x) * eps_K
where V(x) is a matrix of dimension [num_classes, R=num_factors]
and d(x) is a vector of dimension [num_classes, 1]
num_factors << num_classes => approx to sampling ~ N(mu(x), sigma(x))
"""
num_classes: int
num_factors: int # set num_factors = 0 for diagonal method
temperature: float = 1.0
parameter_efficient: bool = False
train_mc_samples: int = 1000
test_mc_samples: int = 1000
share_samples_across_batch: bool = False
logits_only: bool = False
return_locs: bool = False
eps: float = 1e-7
def setup(self):
if self.parameter_efficient:
self._scale_layer_homoscedastic = nn.Dense(
self.num_classes, name='scale_layer_homoscedastic')
self._scale_layer_heteroscedastic = nn.Dense(
self.num_classes, name='scale_layer_heteroscedastic')
elif self.num_factors > 0:
self._scale_layer = nn.Dense(
self.num_classes * self.num_factors, name='scale_layer')
self._loc_layer = nn.Dense(self.num_classes, name='loc_layer')
self._diag_layer = nn.Dense(self.num_classes, name='diag_layer')
def _compute_loc_param(self, inputs):
"""Computes location parameter of the "logits distribution".
Args:
inputs: Tensor. The input to the heteroscedastic output layer.
Returns:
Tensor of shape [batch_size, num_classes].
"""
return self._loc_layer(inputs)
def _compute_scale_param(self, inputs):
"""Computes scale parameter of the "logits distribution".
Args:
inputs: Tensor. The input to the heteroscedastic output layer.
Returns:
Tuple of tensors of shape
([batch_size, num_classes * max(num_factors, 1)],
[batch_size, num_classes]).
"""
if self.parameter_efficient or self.num_factors <= 0:
return (inputs,
jax.nn.softplus(self._diag_layer(inputs)) + MIN_SCALE_MONTE_CARLO)
else:
return (self._scale_layer(inputs),
jax.nn.softplus(self._diag_layer(inputs)) + MIN_SCALE_MONTE_CARLO)
def _compute_diagonal_noise_samples(self, diag_scale, num_samples):
"""Compute samples of the diagonal elements logit noise.
Args:
diag_scale: `Tensor` of shape [batch_size, num_classes]. Diagonal
elements of scale parameters of the distribution to be sampled.
num_samples: Integer. Number of Monte-Carlo samples to take.
Returns:
`Tensor`. Logit noise samples of shape: [batch_size, num_samples,
1 if num_classes == 2 else num_classes].
"""
if self.share_samples_across_batch:
samples_per_batch = 1
else:
samples_per_batch = diag_scale.shape[0]
key = self.make_rng('diag_noise_samples')
return jnp.expand_dims(diag_scale, 1) * jax.random.normal(
key, shape=(samples_per_batch, num_samples, 1))
def _compute_standard_normal_samples(self, factor_loadings, num_samples):
"""Utility function to compute samples from a standard normal distribution.
Args:
factor_loadings: `Tensor` of shape
[batch_size, num_classes * num_factors]. Factor loadings for scale
parameters of the distribution to be sampled.
num_samples: Integer. Number of Monte-Carlo samples to take.
Returns:
`Tensor`. Samples of shape: [batch_size, num_samples, num_factors].
"""
if self.share_samples_across_batch:
samples_per_batch = 1
else:
samples_per_batch = factor_loadings.shape[0]
key = self.make_rng('standard_norm_noise_samples')
standard_normal_samples = jax.random.normal(
key, shape=(samples_per_batch, num_samples, self.num_factors))
if self.share_samples_across_batch:
standard_normal_samples = jnp.tile(standard_normal_samples,
[factor_loadings.shape[0], 1, 1])
return standard_normal_samples
def _compute_noise_samples(self, scale, num_samples):
"""Utility function to compute additive noise samples.
Args:
scale: Tuple of tensors of shape (
[batch_size, num_classes * num_factors],
[batch_size, num_classes]). Factor loadings and diagonal elements
for scale parameters of the distribution to be sampled.
num_samples: Integer. Number of Monte-Carlo samples to take.
Returns:
`Tensor`. Logit noise samples of shape: [batch_size, num_samples,
1 if num_classes == 2 else num_classes].
"""
factor_loadings, diag_scale = scale
# Compute the diagonal noise
diag_noise_samples = self._compute_diagonal_noise_samples(diag_scale,
num_samples)
if self.num_factors > 0:
# Now compute the factors
standard_normal_samples = self._compute_standard_normal_samples(
factor_loadings, num_samples)
if self.parameter_efficient:
res = self._scale_layer_homoscedastic(standard_normal_samples)
res *= jnp.expand_dims(
self._scale_layer_heteroscedastic(factor_loadings), 1)
else:
# reshape scale vector into factor loadings matrix
factor_loadings = jnp.reshape(factor_loadings,
[-1, self.num_classes, self.num_factors])
# transform standard normal into ~ full rank covariance Gaussian samples
res = jnp.einsum('ijk,iak->iaj',
factor_loadings, standard_normal_samples)
return res + diag_noise_samples
return diag_noise_samples
def _compute_mc_samples(self, locs, scale, num_samples):
"""Utility function to compute Monte-Carlo samples (using softmax).
Args:
locs: Tensor of shape [batch_size, total_mc_samples,
1 if num_classes == 2 else num_classes]. Location parameters of the
distributions to be sampled.
scale: Tensor of shape [batch_size, total_mc_samples,
1 if num_classes == 2 else num_classes]. Scale parameters of the
distributions to be sampled.
num_samples: Integer. Number of Monte-Carlo samples to take.
Returns:
Tensor of shape [batch_size, num_samples,
1 if num_classes == 2 else num_classes]. All of the MC samples.
"""
locs = jnp.expand_dims(locs, axis=1)
noise_samples = self._compute_noise_samples(scale, num_samples)
latents = locs + noise_samples
samples = jax.nn.softmax(latents / self.temperature)
return jnp.mean(samples, axis=1)
@nn.compact
def __call__(self, inputs, training=True):
"""Computes predictive and log predictive distributions.
Uses Monte Carlo estimate of softmax approximation to heteroscedastic model
to compute predictive distribution. O(mc_samples * num_classes).
Args:
inputs: Tensor. The input to the heteroscedastic output layer.
training: Boolean. Whether we are training or not.
Returns:
Tensor logits if logits_only = True. Otherwise,
tuple of (logits, log_probs, probs, predictive_variance). logits can be
used with the standard softmax cross-entropy loss function.
"""
locs = self._compute_loc_param(inputs) # pylint: disable=assignment-from-none
scale = self._compute_scale_param(inputs) # pylint: disable=assignment-from-none
if training:
total_mc_samples = self.train_mc_samples
else:
total_mc_samples = self.test_mc_samples
probs_mean = self._compute_mc_samples(locs, scale, total_mc_samples)
probs_mean = jnp.clip(probs_mean, a_min=self.eps)
log_probs = jnp.log(probs_mean)
logits = log_probs
if self.return_locs:
logits = locs
if self.logits_only:
return logits
return logits, log_probs, probs_mean
class MCSigmoidDenseFA(nn.Module):
"""Sigmoid and factor analysis approx to heteroscedastic predictions.
if we assume:
u ~ N(mu(x), sigma(x))
and
y = sigmoid(u / temperature)
we can do a low rank approximation of sigma(x) the full rank matrix as:
eps_R ~ N(0, I_R), eps_K ~ N(0, identity_K)
u = mu(x) + matmul(V(x), e) + d(x) * e_d
where A(x) is a matrix of dimension [num_outputs, R=num_factors]
and d(x) is a vector of dimension [num_outputs, 1]
num_factors << num_outputs => approx to sampling ~ N(mu(x), sigma(x)).
"""
num_outputs: int
num_factors: int # set num_factors = 0 for diagonal method
temperature: float = 1.0
parameter_efficient: bool = False
train_mc_samples: int = 1000
test_mc_samples: int = 1000
share_samples_across_batch: bool = False
logits_only: bool = False
return_locs: bool = False
eps: float = 1e-7
def setup(self):
if self.parameter_efficient:
self._scale_layer_homoscedastic = nn.Dense(
self.num_outputs, name='scale_layer_homoscedastic')
self._scale_layer_heteroscedastic = nn.Dense(
self.num_outputs, name='scale_layer_heteroscedastic')
elif self.num_factors > 0:
self._scale_layer = nn.Dense(
self.num_outputs * self.num_factors, name='scale_layer')
self._loc_layer = nn.Dense(self.num_outputs, name='loc_layer')
self._diag_layer = nn.Dense(self.num_outputs, name='diag_layer')
def _compute_loc_param(self, inputs):
"""Computes location parameter of the "logits distribution".
Args:
inputs: Tensor. The input to the heteroscedastic output layer.
Returns:
Tensor of shape [batch_size, num_classes].
"""
return self._loc_layer(inputs)
def _compute_scale_param(self, inputs):
"""Computes scale parameter of the "logits distribution".
Args:
inputs: Tensor. The input to the heteroscedastic output layer.
Returns:
Tuple of tensors of shape
([batch_size, num_classes * max(num_factors, 1)],
[batch_size, num_classes]).
"""
if self.parameter_efficient or self.num_factors <= 0:
return (inputs,
jax.nn.softplus(self._diag_layer(inputs)) + MIN_SCALE_MONTE_CARLO)
else:
return (self._scale_layer(inputs),
jax.nn.softplus(self._diag_layer(inputs)) + MIN_SCALE_MONTE_CARLO)
def _compute_diagonal_noise_samples(self, diag_scale, num_samples):
"""Compute samples of the diagonal elements logit noise.
Args:
diag_scale: `Tensor` of shape [batch_size, num_classes]. Diagonal
elements of scale parameters of the distribution to be sampled.
num_samples: Integer. Number of Monte-Carlo samples to take.
Returns:
`Tensor`. Logit noise samples of shape: [batch_size, num_samples,
1 if num_classes == 2 else num_classes].
"""
if self.share_samples_across_batch:
samples_per_batch = 1
else:
samples_per_batch = diag_scale.shape[0]
key = self.make_rng('diag_noise_samples')
return jnp.expand_dims(diag_scale, 1) * jax.random.normal(
key, shape=(samples_per_batch, num_samples, 1))
def _compute_standard_normal_samples(self, factor_loadings, num_samples):
"""Utility function to compute samples from a standard normal distribution.
Args:
factor_loadings: `Tensor` of shape
[batch_size, num_classes * num_factors]. Factor loadings for scale
parameters of the distribution to be sampled.
num_samples: Integer. Number of Monte-Carlo samples to take.
Returns:
`Tensor`. Samples of shape: [batch_size, num_samples, num_factors].
"""
if self.share_samples_across_batch:
samples_per_batch = 1
else:
samples_per_batch = factor_loadings.shape[0]
key = self.make_rng('standard_norm_noise_samples')
standard_normal_samples = jax.random.normal(
key, shape=(samples_per_batch, num_samples, self.num_factors))
if self.share_samples_across_batch:
standard_normal_samples = jnp.tile(standard_normal_samples,
[factor_loadings.shape[0], 1, 1])
return standard_normal_samples
def _compute_noise_samples(self, scale, num_samples):
"""Utility function to compute additive noise samples.
Args:
scale: Tuple of tensors of shape (
[batch_size, num_classes * num_factors],
[batch_size, num_classes]). Factor loadings and diagonal elements
for scale parameters of the distribution to be sampled.
num_samples: Integer. Number of Monte-Carlo samples to take.
Returns:
`Tensor`. Logit noise samples of shape: [batch_size, num_samples,
1 if num_classes == 2 else num_classes].
"""
factor_loadings, diag_scale = scale
# Compute the diagonal noise
diag_noise_samples = self._compute_diagonal_noise_samples(diag_scale,
num_samples)
if self.num_factors > 0:
# Now compute the factors
standard_normal_samples = self._compute_standard_normal_samples(
factor_loadings, num_samples)
if self.parameter_efficient:
res = self._scale_layer_homoscedastic(standard_normal_samples)
res *= jnp.expand_dims(
self._scale_layer_heteroscedastic(factor_loadings), 1)
else:
# reshape scale vector into factor loadings matrix
factor_loadings = jnp.reshape(factor_loadings,
[-1, self.num_outputs, self.num_factors])
# transform standard normal into ~ full rank covariance Gaussian samples
res = jnp.einsum('ijk,iak->iaj',
factor_loadings, standard_normal_samples)
return res + diag_noise_samples
return diag_noise_samples
def _compute_mc_samples(self, locs, scale, num_samples):
"""Utility function to compute Monte-Carlo samples (using softmax).
Args:
locs: Tensor of shape [batch_size, total_mc_samples,
1 if num_classes == 2 else num_classes]. Location parameters of the
distributions to be sampled.
scale: Tensor of shape [batch_size, total_mc_samples,
1 if num_classes == 2 else num_classes]. Scale parameters of the
distributions to be sampled.
num_samples: Integer. Number of Monte-Carlo samples to take.
Returns:
Tensor of shape [batch_size, num_samples,
1 if num_classes == 2 else num_classes]. All of the MC samples.
"""
locs = jnp.expand_dims(locs, axis=1)
noise_samples = self._compute_noise_samples(scale, num_samples)
latents = locs + noise_samples
samples = jax.nn.sigmoid(latents / self.temperature)
return jnp.mean(samples, axis=1)
@nn.compact
def __call__(self, inputs, training=True):
"""Computes predictive and log predictive distributions.
Uses Monte Carlo estimate of softmax approximation to heteroscedastic model
to compute predictive distribution. O(mc_samples * num_classes).
Args:
inputs: Tensor. The input to the heteroscedastic output layer.
training: Boolean. Whether we are training or not.
Returns:
Tensor logits if logits_only = True. Otherwise,
tuple of (logits, log_probs, probs, predictive_variance). Logits
represents the argument to a sigmoid function that would yield probs
(logits = inverse_sigmoid(probs)), so logits can be used with the
sigmoid cross-entropy loss function.
"""
locs = self._compute_loc_param(inputs) # pylint: disable=assignment-from-none
scale = self._compute_scale_param(inputs) # pylint: disable=assignment-from-none
if training:
total_mc_samples = self.train_mc_samples
else:
total_mc_samples = self.test_mc_samples
probs_mean = self._compute_mc_samples(locs, scale, total_mc_samples)
probs_mean = jnp.clip(probs_mean, a_min=self.eps)
log_probs = jnp.log(probs_mean)
# inverse sigmoid
probs_mean = jnp.clip(probs_mean, a_min=self.eps, a_max=1.0 - self.eps)
logits = log_probs - jnp.log(1.0 - probs_mean)
if self.return_locs:
logits = locs
if self.logits_only:
return logits
return logits, log_probs, probs_mean
| 35.985138 | 85 | 0.694141 | 2,302 | 16,949 | 4.870982 | 0.110773 | 0.041024 | 0.023544 | 0.031392 | 0.910729 | 0.910729 | 0.904843 | 0.895746 | 0.893249 | 0.888076 | 0 | 0.007839 | 0.224792 | 16,949 | 470 | 86 | 36.061702 | 0.845574 | 0.460853 | 0 | 0.867725 | 0 | 0 | 0.032802 | 0.018643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084656 | false | 0 | 0.015873 | 0 | 0.322751 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9cdbd8784944534ad8bcea65715c9e43ecf05c3e | 11,797 | py | Python | tests/users_tests/test_views.py | Mohamed-Kaizen/teached | c25288b55dc684a8e7a27a4363dd54f12cc2a922 | [
"MIT"
] | 2 | 2021-01-21T02:36:33.000Z | 2021-02-07T22:07:55.000Z | tests/users_tests/test_views.py | Mohamed-Kaizen/teached | c25288b55dc684a8e7a27a4363dd54f12cc2a922 | [
"MIT"
] | null | null | null | tests/users_tests/test_views.py | Mohamed-Kaizen/teached | c25288b55dc684a8e7a27a4363dd54f12cc2a922 | [
"MIT"
] | null | null | null | """Test cases for the view module."""
import asyncio
from typing import Generator
import pytest
from fastapi.testclient import TestClient
from tortoise.contrib.test import finalizer, initializer
from teached.main import app
from teached.settings import settings
from teached.users.models import User
@pytest.fixture()
def client() -> Generator:
"""Tortoise-orm fixture."""
initializer(modules=settings.DB_MODELS)
with TestClient(app) as c:
yield c
finalizer()
@pytest.fixture()
def event_loop(client: TestClient) -> Generator:
"""Event loop."""
yield client.task.get_loop()
async def create_user(
username: str = "teached", email: str = "q@e.com", password: str = "2345678teached@"
) -> None:
"""Creating user for test."""
user = User(username=username, email=email)
user.set_password(plain_password=password)
await user.save()
def test_login(client: TestClient, event_loop: asyncio.AbstractEventLoop) -> None:
"""It exits with a status code of 200."""
event_loop.run_until_complete(create_user())
headers = {"Content-type": "application/x-www-form-urlencoded"}
response = client.post(
"/users/login/",
data="username=teached&password=2345678teached@",
headers=headers,
)
assert response.status_code == 200
def test_login_incorrect_password(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 401."""
event_loop.run_until_complete(create_user())
headers = {"Content-type": "application/x-www-form-urlencoded"}
response = client.post(
"/users/login/",
data="username=teached&password=2345678teached2@",
headers=headers,
)
assert response.status_code == 401
def test_login_incorrect(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 401."""
headers = {"Content-type": "application/x-www-form-urlencoded"}
response = client.post(
"/users/login/",
data="username=teached&password=2345678teached@",
headers=headers,
)
assert response.status_code == 401
def test_sign_up_as_teacher(client: TestClient) -> None:
"""It exits with a status code of 201."""
headers = {"Content-type": "application/json"}
data = {
"username": "teached",
"password": "2345678teached@",
"email": "teached@teached.com",
"become": "Teacher",
}
response = client.post("/users/", json=data, headers=headers)
assert response.json() == {"detail": "user has been created"}
assert response.status_code == 201
def test_sign_up_as_student(client: TestClient) -> None:
"""It exits with a status code of 201."""
data = {
"username": "teached",
"password": "2345678teached@",
"email": "teached@teached.com",
"become": "Student",
"full_name": "teached",
"phone_number": "123456789",
}
response = client.post("/users/", json=data)
assert response.json() == {"detail": "user has been created"}
assert response.status_code == 201
def test_sign_up_fail(client: TestClient) -> None:
"""It exits with a status code of 422."""
data = {
"username": "teached",
"password": "123456789",
"email": "teached@teached.com",
"become": "Student",
"full_name": "teached",
"phone_number": "123456789dd",
}
response = client.post("/users/", json=data)
assert response.status_code == 422
def test_user_detail_succeeds(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 200."""
event_loop.run_until_complete(create_user())
response = client.get("/users/teached/")
assert response.status_code == 200
def test_user_detail_fail(client: TestClient) -> None:
"""It exits with a status code of 404."""
response = client.get("/users/teached/")
assert response.status_code == 404
def test_user_detail_invalid_token(client: TestClient) -> None:
"""It exits with a status code of 401."""
response = client.get(
"/users/teached/", headers={"Authorization": "Bearer wrong token"},
)
assert response.status_code == 401
def test_update_user_personal_info_succeeds(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 200."""
event_loop.run_until_complete(create_user())
data = {
"bio": "teached bio",
"full_name": "teached",
"phone_number": "123456789",
}
headers = {"Content-type": "application/x-www-form-urlencoded"}
login_response = client.post(
"/users/login/",
data="username=teached&password=2345678teached@",
headers=headers,
)
access_token = login_response.json().get("access_token")
response = client.patch(
"/users/teached/personal/",
json=data,
headers={"Authorization": f"Bearer {access_token}"},
)
assert response.status_code == 200
def test_update_user_personal_info_unauthorized(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 404."""
event_loop.run_until_complete(create_user())
event_loop.run_until_complete(
create_user( # noqa S106
username="teached2", email="teached@a.com", password="2345678teached@"
)
)
data = {
"bio": "teached 2 bio",
}
headers = {"Content-type": "application/x-www-form-urlencoded"}
login_response = client.post(
"/users/login/",
data="username=teached2&password=2345678teached@",
headers=headers,
)
access_token = login_response.json().get("access_token")
response = client.patch(
"/users/teached/personal/",
json=data,
headers={"Authorization": f"Bearer {access_token}"},
)
assert response.status_code == 404
def test_update_user_general_info_succeeds(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 200."""
event_loop.run_until_complete(create_user())
data = {"email": "teached@teached.io", "username": "TEAch"}
headers = {"Content-type": "application/x-www-form-urlencoded"}
login_response = client.post(
"/users/login/",
data="username=teached&password=2345678teached@",
headers=headers,
)
access_token = login_response.json().get("access_token")
response = client.patch(
"/users/teached/general/",
json=data,
headers={"Authorization": f"Bearer {access_token}"},
)
assert response.status_code == 200
def test_update_user_general_info_unauthorized(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 404."""
event_loop.run_until_complete(create_user())
event_loop.run_until_complete(
create_user( # noqa S106
username="teached2", email="teached@a.com", password="2345678teached@"
)
)
data = {"email": "teached@teached.io"}
headers = {"Content-type": "application/x-www-form-urlencoded"}
login_response = client.post(
"/users/login/",
data="username=teached2&password=2345678teached@",
headers=headers,
)
access_token = login_response.json().get("access_token")
response = client.patch(
"/users/teached/general/",
json=data,
headers={"Authorization": f"Bearer {access_token}"},
)
assert response.status_code == 404
def test_update_user_password_succeeds(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 200."""
event_loop.run_until_complete(create_user())
data = {
"old_password": "2345678teached@",
"new_password": "2345678teached2@",
}
headers = {"Content-type": "application/x-www-form-urlencoded"}
login_response = client.post(
"/users/login/",
data="username=teached&password=2345678teached@",
headers=headers,
)
access_token = login_response.json().get("access_token")
response = client.put(
"/users/teached/password/",
json=data,
headers={"Authorization": f"Bearer {access_token}"},
)
assert response.json() == {"detail": "password has been changed"}
def test_update_user_password_unauthorized(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 404."""
event_loop.run_until_complete(create_user())
event_loop.run_until_complete(
create_user( # noqa S106
username="teached2", email="teached@a.com", password="2345678teached@"
)
)
data = {
"old_password": "2345678teached@",
"new_password": "2345678teached2@",
}
headers = {"Content-type": "application/x-www-form-urlencoded"}
login_response = client.post(
"/users/login/",
data="username=teached2&password=2345678teached@",
headers=headers,
)
access_token = login_response.json().get("access_token")
response = client.put(
"/users/teached/password/",
json=data,
headers={"Authorization": f"Bearer {access_token}"},
)
assert response.status_code == 404
def test_update_user_password_no_user(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 404."""
event_loop.run_until_complete(create_user())
data = {
"old_password": "2345678teached@",
"new_password": "2345678teached2@",
}
headers = {"Content-type": "application/x-www-form-urlencoded"}
login_response = client.post(
"/users/login/",
data="username=teached&password=2345678teached@",
headers=headers,
)
access_token = login_response.json().get("access_token")
response = client.put(
"/users/teached2/password/",
json=data,
headers={"Authorization": f"Bearer {access_token}"},
)
assert response.json() == {"detail": "Not Found"}
def test_update_user_password_incorrect_password(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 400."""
event_loop.run_until_complete(create_user())
data = {
"old_password": "2345678teached",
"new_password": "2345678teached@",
}
headers = {"Content-type": "application/x-www-form-urlencoded"}
login_response = client.post(
"/users/login/",
data="username=teached&password=2345678teached@",
headers=headers,
)
access_token = login_response.json().get("access_token")
response = client.put(
"/users/teached/password/",
json=data,
headers={"Authorization": f"Bearer {access_token}"},
)
assert response.status_code == 400
def test_update_user_password_pwned(
client: TestClient, event_loop: asyncio.AbstractEventLoop
) -> None:
"""It exits with a status code of 422."""
event_loop.run_until_complete(create_user())
data = {
"old_password": "2345678teached@",
"new_password": "1234567899",
}
headers = {"Content-type": "application/x-www-form-urlencoded"}
login_response = client.post(
"/users/login/",
data="username=teached&password=2345678teached@",
headers=headers,
)
access_token = login_response.json().get("access_token")
response = client.put(
"/users/teached/password/",
json=data,
headers={"Authorization": f"Bearer {access_token}"},
)
assert response.status_code == 422
| 28.564165 | 88 | 0.649318 | 1,312 | 11,797 | 5.666921 | 0.101372 | 0.04573 | 0.026631 | 0.036315 | 0.866981 | 0.843174 | 0.827707 | 0.819099 | 0.808877 | 0.785205 | 0 | 0.03859 | 0.213614 | 11,797 | 412 | 89 | 28.633495 | 0.762854 | 0.063067 | 0 | 0.682274 | 0 | 0 | 0.263008 | 0.101411 | 0 | 0 | 0 | 0 | 0.06689 | 1 | 0.06689 | false | 0.140468 | 0.026756 | 0 | 0.093645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
14407be43a3153845fad6c784d59f68892d21d92 | 7,702 | py | Python | webapp/models.py | cokl87/DogBreedClassifier_CNN | 67d96cf476a7de6454a693cb5377fdcfd7ef1dd0 | [
"MIT"
] | null | null | null | webapp/models.py | cokl87/DogBreedClassifier_CNN | 67d96cf476a7de6454a693cb5377fdcfd7ef1dd0 | [
"MIT"
] | null | null | null | webapp/models.py | cokl87/DogBreedClassifier_CNN | 67d96cf476a7de6454a693cb5377fdcfd7ef1dd0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
models.py
created: 10:03 - 01.09.20
author: kornel
"""
from webapp import db
class Query(db.Model):
__tablename__ = 'query'
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(), nullable=True)
species = db.Column(db.Integer, nullable=False)
dogbreed_int = db.Column(db.Integer, nullable=True)
dogbreed_name = db.Column(db.String(40), nullable=True)
model = db.Column(db.String(16), nullable=False)
probabilities = db.relationship('Probabilities', backref='query', lazy=True)
def __init__(self, name, species, dogbreed_int, dogbreed_name, model):
self.name = name
self.species = species
self.dogbreed_int = dogbreed_int
self.dogbreed_name = dogbreed_name
self.model = model
def __repr__(self):
return '<id {}>'.format(self.id)
class Probabilities(db.Model):
__tablename__ = 'probabilities'
id = db.Column(db.Integer, primary_key=True)
query_id = db.Column(db.Integer, db.ForeignKey('query.id'), nullable=False)
p_001 = db.Column(db.Float, nullable=False)
p_002 = db.Column(db.Float, nullable=False)
p_003 = db.Column(db.Float, nullable=False)
p_004 = db.Column(db.Float, nullable=False)
p_005 = db.Column(db.Float, nullable=False)
p_006 = db.Column(db.Float, nullable=False)
p_007 = db.Column(db.Float, nullable=False)
p_008 = db.Column(db.Float, nullable=False)
p_009 = db.Column(db.Float, nullable=False)
p_010 = db.Column(db.Float, nullable=False)
p_011 = db.Column(db.Float, nullable=False)
p_012 = db.Column(db.Float, nullable=False)
p_013 = db.Column(db.Float, nullable=False)
p_014 = db.Column(db.Float, nullable=False)
p_015 = db.Column(db.Float, nullable=False)
p_016 = db.Column(db.Float, nullable=False)
p_017 = db.Column(db.Float, nullable=False)
p_018 = db.Column(db.Float, nullable=False)
p_019 = db.Column(db.Float, nullable=False)
p_020 = db.Column(db.Float, nullable=False)
p_021 = db.Column(db.Float, nullable=False)
p_022 = db.Column(db.Float, nullable=False)
p_023 = db.Column(db.Float, nullable=False)
p_024 = db.Column(db.Float, nullable=False)
p_025 = db.Column(db.Float, nullable=False)
p_026 = db.Column(db.Float, nullable=False)
p_027 = db.Column(db.Float, nullable=False)
p_028 = db.Column(db.Float, nullable=False)
p_029 = db.Column(db.Float, nullable=False)
p_030 = db.Column(db.Float, nullable=False)
p_031 = db.Column(db.Float, nullable=False)
p_032 = db.Column(db.Float, nullable=False)
p_033 = db.Column(db.Float, nullable=False)
p_034 = db.Column(db.Float, nullable=False)
p_035 = db.Column(db.Float, nullable=False)
p_036 = db.Column(db.Float, nullable=False)
p_037 = db.Column(db.Float, nullable=False)
p_038 = db.Column(db.Float, nullable=False)
p_039 = db.Column(db.Float, nullable=False)
p_040 = db.Column(db.Float, nullable=False)
p_041 = db.Column(db.Float, nullable=False)
p_042 = db.Column(db.Float, nullable=False)
p_043 = db.Column(db.Float, nullable=False)
p_044 = db.Column(db.Float, nullable=False)
p_045 = db.Column(db.Float, nullable=False)
p_046 = db.Column(db.Float, nullable=False)
p_047 = db.Column(db.Float, nullable=False)
p_048 = db.Column(db.Float, nullable=False)
p_049 = db.Column(db.Float, nullable=False)
p_050 = db.Column(db.Float, nullable=False)
p_051 = db.Column(db.Float, nullable=False)
p_052 = db.Column(db.Float, nullable=False)
p_053 = db.Column(db.Float, nullable=False)
p_054 = db.Column(db.Float, nullable=False)
p_055 = db.Column(db.Float, nullable=False)
p_056 = db.Column(db.Float, nullable=False)
p_057 = db.Column(db.Float, nullable=False)
p_058 = db.Column(db.Float, nullable=False)
p_059 = db.Column(db.Float, nullable=False)
p_060 = db.Column(db.Float, nullable=False)
p_061 = db.Column(db.Float, nullable=False)
p_062 = db.Column(db.Float, nullable=False)
p_063 = db.Column(db.Float, nullable=False)
p_064 = db.Column(db.Float, nullable=False)
p_065 = db.Column(db.Float, nullable=False)
p_066 = db.Column(db.Float, nullable=False)
p_067 = db.Column(db.Float, nullable=False)
p_068 = db.Column(db.Float, nullable=False)
p_069 = db.Column(db.Float, nullable=False)
p_070 = db.Column(db.Float, nullable=False)
p_071 = db.Column(db.Float, nullable=False)
p_072 = db.Column(db.Float, nullable=False)
p_073 = db.Column(db.Float, nullable=False)
p_074 = db.Column(db.Float, nullable=False)
p_075 = db.Column(db.Float, nullable=False)
p_076 = db.Column(db.Float, nullable=False)
p_077 = db.Column(db.Float, nullable=False)
p_078 = db.Column(db.Float, nullable=False)
p_079 = db.Column(db.Float, nullable=False)
p_080 = db.Column(db.Float, nullable=False)
p_081 = db.Column(db.Float, nullable=False)
p_082 = db.Column(db.Float, nullable=False)
p_083 = db.Column(db.Float, nullable=False)
p_084 = db.Column(db.Float, nullable=False)
p_085 = db.Column(db.Float, nullable=False)
p_086 = db.Column(db.Float, nullable=False)
p_087 = db.Column(db.Float, nullable=False)
p_088 = db.Column(db.Float, nullable=False)
p_089 = db.Column(db.Float, nullable=False)
p_090 = db.Column(db.Float, nullable=False)
p_091 = db.Column(db.Float, nullable=False)
p_092 = db.Column(db.Float, nullable=False)
p_093 = db.Column(db.Float, nullable=False)
p_094 = db.Column(db.Float, nullable=False)
p_095 = db.Column(db.Float, nullable=False)
p_096 = db.Column(db.Float, nullable=False)
p_097 = db.Column(db.Float, nullable=False)
p_098 = db.Column(db.Float, nullable=False)
p_099 = db.Column(db.Float, nullable=False)
p_100 = db.Column(db.Float, nullable=False)
p_101 = db.Column(db.Float, nullable=False)
p_102 = db.Column(db.Float, nullable=False)
p_103 = db.Column(db.Float, nullable=False)
p_104 = db.Column(db.Float, nullable=False)
p_105 = db.Column(db.Float, nullable=False)
p_106 = db.Column(db.Float, nullable=False)
p_107 = db.Column(db.Float, nullable=False)
p_108 = db.Column(db.Float, nullable=False)
p_109 = db.Column(db.Float, nullable=False)
p_110 = db.Column(db.Float, nullable=False)
p_111 = db.Column(db.Float, nullable=False)
p_112 = db.Column(db.Float, nullable=False)
p_113 = db.Column(db.Float, nullable=False)
p_114 = db.Column(db.Float, nullable=False)
p_115 = db.Column(db.Float, nullable=False)
p_116 = db.Column(db.Float, nullable=False)
p_117 = db.Column(db.Float, nullable=False)
p_118 = db.Column(db.Float, nullable=False)
p_119 = db.Column(db.Float, nullable=False)
p_120 = db.Column(db.Float, nullable=False)
p_121 = db.Column(db.Float, nullable=False)
p_122 = db.Column(db.Float, nullable=False)
p_123 = db.Column(db.Float, nullable=False)
p_124 = db.Column(db.Float, nullable=False)
p_125 = db.Column(db.Float, nullable=False)
p_126 = db.Column(db.Float, nullable=False)
p_127 = db.Column(db.Float, nullable=False)
p_128 = db.Column(db.Float, nullable=False)
p_129 = db.Column(db.Float, nullable=False)
p_130 = db.Column(db.Float, nullable=False)
p_131 = db.Column(db.Float, nullable=False)
p_132 = db.Column(db.Float, nullable=False)
p_133 = db.Column(db.Float, nullable=False)
def __init__(self, qid, probs):
self.query_id = qid
for att, val in zip(('p_%03i' % idx for idx in range(1, 134)), probs):
setattr(self, att, val)
def __repr__(self):
return '<id {}>'.format(self.id)
| 42.087432 | 80 | 0.680473 | 1,241 | 7,702 | 4.086221 | 0.157131 | 0.222441 | 0.278052 | 0.393414 | 0.809111 | 0.791363 | 0.780122 | 0.025242 | 0 | 0 | 0 | 0.066059 | 0.1745 | 7,702 | 182 | 81 | 42.318681 | 0.731519 | 0.009608 | 0 | 0.037267 | 0 | 0 | 0.008399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024845 | false | 0 | 0.006211 | 0.012422 | 0.950311 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
1ae10d6e6801142da1b17acd0de5e7051ea9f217 | 235,069 | py | Python | tests/data/bart/station_departures.py | tylernorth/public-transit | e2430078557adf9d2ad03d794ea551a7b06ce145 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/data/bart/station_departures.py | tylernorth/public-transit | e2430078557adf9d2ad03d794ea551a7b06ce145 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/data/bart/station_departures.py | tylernorth/public-transit | e2430078557adf9d2ad03d794ea551a7b06ce145 | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2017-03-17T11:54:09.000Z | 2022-01-21T05:07:16.000Z | DATA = {
"?xml": {
"@version": "1.0",
"@encoding": "utf-8"
},
"root": {
"@id": "1",
"uri": {
"#cdata-section": "http://api.bart.gov/api/etd.aspx?json=y&orig=ALL&cmd=etd"
},
"date": "12/20/2021",
"time": "08:14:46 PM PST",
"station": [
{
"name": "Lake Merritt",
"abbr": "LAKE",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "5",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "219"
},
{
"minutes": "19",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "38",
"platform": "1",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "11",
"platform": "2",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "227"
},
{
"minutes": "30",
"platform": "2",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "60",
"platform": "2",
"direction": "South",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "16",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "44",
"platform": "1",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "63",
"platform": "1",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "4",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "22",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "96"
},
{
"minutes": "34",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Fruitvale",
"abbr": "FTVL",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "9",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "206"
},
{
"minutes": "23",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "42",
"platform": "1",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "7",
"platform": "2",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "240"
},
{
"minutes": "26",
"platform": "2",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "55",
"platform": "2",
"direction": "South",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "20",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "48",
"platform": "1",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "17",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "109"
},
{
"minutes": "30",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "52",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Coliseum",
"abbr": "COLS",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "12",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "200"
},
{
"minutes": "26",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "46",
"platform": "1",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "4",
"platform": "2",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "253"
},
{
"minutes": "23",
"platform": "2",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "52",
"platform": "2",
"direction": "South",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "6",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "23",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "51",
"platform": "1",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "14",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "122"
},
{
"minutes": "27",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "49",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "San Leandro",
"abbr": "SANL",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "Leaving",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "16",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "174"
},
{
"minutes": "30",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "Leaving",
"platform": "2",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "287"
},
{
"minutes": "18",
"platform": "2",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "48",
"platform": "2",
"direction": "South",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "10",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "27",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "55",
"platform": "1",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "10",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "136"
},
{
"minutes": "23",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "45",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Bay Fair",
"abbr": "BAYF",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "5",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "19",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "160"
},
{
"minutes": "34",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "15",
"platform": "2",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "44",
"platform": "2",
"direction": "South",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "14",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "31",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "59",
"platform": "1",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "7",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "157"
},
{
"minutes": "19",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "41",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Hayward",
"abbr": "HAYW",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "9",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "23",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "145"
},
{
"minutes": "38",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "166"
},
{
"minutes": "15",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "37",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "South Hayward",
"abbr": "SHAY",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "13",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "27",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "130"
},
{
"minutes": "42",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "11",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "33",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "63",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Union City",
"abbr": "UCTY",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "1",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "18",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "32",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "119"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "6",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "28",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "58",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Fremont",
"abbr": "FRMT",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "8",
"platform": "1",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "23",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "36",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "92"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "2",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "23",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "53",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Rockridge",
"abbr": "ROCK",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "4",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "32",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "69",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "16",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "47",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "7",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "180"
},
{
"minutes": "24",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "54",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Orinda",
"abbr": "ORIN",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "9",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "37",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "74",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "21",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "52",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "2",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "216"
},
{
"minutes": "19",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "48",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Lafayette",
"abbr": "LAFY",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "14",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "42",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "79",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "26",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "57",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "14",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "43",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "64",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Walnut Creek",
"abbr": "WCRK",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "18",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "47",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "83",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "30",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "61",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "10",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "68"
},
{
"minutes": "38",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "59",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Pleasant Hill/Contra Costa Centre",
"abbr": "PHIL",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "21",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "49",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "86",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "33",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "64",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "7",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "73"
},
{
"minutes": "36",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "56",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Concord",
"abbr": "CONC",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "26",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "54",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "91",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "38",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "69",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "103"
},
{
"minutes": "31",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "51",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "North Concord/Martinez",
"abbr": "NCON",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "Leaving",
"platform": "1",
"direction": "North",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "30",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "58",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "42",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "72",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "27",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "48",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Pittsburg/Bay Point",
"abbr": "PITT",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "6",
"platform": "1",
"direction": "North",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "37",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "64",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "21",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "41",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Pittsburg Center",
"abbr": "PCTR",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "14",
"platform": "1",
"direction": "North",
"length": "2",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "30",
"platform": "1",
"direction": "North",
"length": "1",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "47",
"platform": "1",
"direction": "North",
"length": "2",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "2",
"platform": "2",
"direction": "South",
"length": "2",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "15",
"platform": "2",
"direction": "South",
"length": "1",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "33",
"platform": "2",
"direction": "South",
"length": "2",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Antioch",
"abbr": "ANTC",
"etd": [
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "7",
"platform": "2",
"direction": "South",
"length": "1",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "25",
"platform": "2",
"direction": "South",
"length": "2",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "37",
"platform": "2",
"direction": "South",
"length": "1",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "12th St. Oakland City Center",
"abbr": "12TH",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "23",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "60",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "2",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "241"
},
{
"minutes": "16",
"platform": "2",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "35",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "9",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "127"
},
{
"minutes": "38",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "4",
"platform": "1",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "7",
"platform": "1",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "19",
"platform": "1",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "1",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "211"
},
{
"minutes": "15",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "70"
},
{
"minutes": "34",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "19th St. Oakland",
"abbr": "19TH",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "26",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "63",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "2",
"platform": "2",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "291"
},
{
"minutes": "14",
"platform": "2",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "33",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "10",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "114"
},
{
"minutes": "41",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "5",
"platform": "1",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "10",
"platform": "1",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "21",
"platform": "1",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "Leaving",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "246"
},
{
"minutes": "14",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "94"
},
{
"minutes": "32",
"platform": "2",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "MacArthur",
"abbr": "MCAR",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "2",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "61"
},
{
"minutes": "30",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "66",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "12",
"platform": "2",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "115"
},
{
"minutes": "30",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "60",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "14",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "44",
"platform": "3",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "1",
"platform": "1",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "9",
"platform": "1",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "13",
"platform": "1",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "11",
"platform": "4",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "140"
},
{
"minutes": "28",
"platform": "4",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "58",
"platform": "4",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Castro Valley",
"abbr": "CAST",
"etd": [
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "10",
"platform": "2",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "39",
"platform": "2",
"direction": "South",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "18",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "35",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "West Dublin/Pleasanton",
"abbr": "WDUB",
"etd": [
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "1",
"platform": "2",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "76"
},
{
"minutes": "29",
"platform": "2",
"direction": "South",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "13",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "28",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "45",
"platform": "1",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Dublin/Pleasanton",
"abbr": "DUBL",
"etd": [
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "24",
"platform": "2",
"direction": "South",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "West Oakland",
"abbr": "WOAK",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "19",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "55",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "1",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "100"
},
{
"minutes": "16",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "219"
},
{
"minutes": "35",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "10",
"platform": "2",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "38",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "58",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "6",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "196"
},
{
"minutes": "33",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "14",
"platform": "2",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "29",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "44",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "6",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "192"
},
{
"minutes": "19",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "38",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Embarcadero",
"abbr": "EMBR",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "12",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "48",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "8",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "79"
},
{
"minutes": "23",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "206"
},
{
"minutes": "42",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "2",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "31",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "51",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "26",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "7",
"platform": "2",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "22",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "37",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "12",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "179"
},
{
"minutes": "26",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "45",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Montgomery St.",
"abbr": "MONT",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "10",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "47",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "9",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "65"
},
{
"minutes": "24",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "191"
},
{
"minutes": "44",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "2",
"platform": "2",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "30",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "49",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "25",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "6",
"platform": "2",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "20",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "35",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "Leaving",
"platform": "1",
"direction": "South",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "228"
},
{
"minutes": "13",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "166"
},
{
"minutes": "27",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Powell St.",
"abbr": "POWL",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "9",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "45",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "11",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "25",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "181"
},
{
"minutes": "46",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "Leaving",
"platform": "2",
"direction": "North",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "28",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "48",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "23",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "4",
"platform": "2",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "18",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "34",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "1",
"platform": "1",
"direction": "South",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "195"
},
{
"minutes": "15",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "155"
},
{
"minutes": "29",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Civic Center/UN Plaza",
"abbr": "CIVC",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "7",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "43",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "1",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "170"
},
{
"minutes": "12",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "27",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "167"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "27",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "46",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "21",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "2",
"platform": "2",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "17",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "32",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "1",
"direction": "South",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "187"
},
{
"minutes": "16",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "142"
},
{
"minutes": "30",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "16th St. Mission",
"abbr": "16TH",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "5",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "41",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "147"
},
{
"minutes": "14",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "29",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "161"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "24",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "44",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "19",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "Leaving",
"platform": "2",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "14",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "30",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "5",
"platform": "1",
"direction": "South",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "181"
},
{
"minutes": "19",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "136"
},
{
"minutes": "32",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "24th St. Mission",
"abbr": "24TH",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "39",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "5",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "144"
},
{
"minutes": "16",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "31",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "157"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "22",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "42",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "17",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "12",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "28",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "7",
"platform": "1",
"direction": "South",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "178"
},
{
"minutes": "21",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "132"
},
{
"minutes": "34",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Glen Park",
"abbr": "GLEN",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "Leaving",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "36",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "8",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "142"
},
{
"minutes": "19",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "34",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "155"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "19",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "39",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "14",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "9",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "25",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "10",
"platform": "1",
"direction": "South",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "176"
},
{
"minutes": "23",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "130"
},
{
"minutes": "37",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Balboa Park",
"abbr": "BALB",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "34",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Daly City",
"abbreviation": "DALY",
"limited": "0",
"estimate": [
{
"minutes": "10",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "135"
},
{
"minutes": "21",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "36",
"platform": "1",
"direction": "South",
"length": "9",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "148"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "17",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "37",
"platform": "2",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "12",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "7",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "23",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "12",
"platform": "1",
"direction": "South",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "168"
},
{
"minutes": "26",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "123"
},
{
"minutes": "40",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Daly City",
"abbr": "DALY",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "30",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Dublin/Pleasanton",
"abbreviation": "DUBL",
"limited": "0",
"estimate": [
{
"minutes": "13",
"platform": "1",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "76"
},
{
"minutes": "33",
"platform": "1",
"direction": "North",
"length": "10",
"color": "BLUE",
"hexcolor": "#0099cc",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "8",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "19",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "15",
"platform": "3",
"direction": "South",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "148"
},
{
"minutes": "29",
"platform": "3",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "103"
},
{
"minutes": "43",
"platform": "3",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Ashby",
"abbr": "ASHB",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "8",
"platform": "2",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "124"
},
{
"minutes": "25",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "54",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "5",
"platform": "1",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "12",
"platform": "1",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "17",
"platform": "1",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Downtown Berkeley",
"abbr": "DBRK",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "5",
"platform": "2",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "137"
},
{
"minutes": "22",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "52",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "2",
"platform": "1",
"direction": "North",
"length": "9",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "151"
},
{
"minutes": "7",
"platform": "1",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "14",
"platform": "1",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "North Berkeley",
"abbr": "NBRK",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "2",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "141"
},
{
"minutes": "20",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "49",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "4",
"platform": "1",
"direction": "North",
"length": "9",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "133"
},
{
"minutes": "9",
"platform": "1",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "17",
"platform": "1",
"direction": "North",
"length": "8",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "El Cerrito Plaza",
"abbr": "PLZA",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "17",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "46",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "Leaving",
"platform": "1",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "163"
},
{
"minutes": "7",
"platform": "1",
"direction": "North",
"length": "9",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "143"
},
{
"minutes": "12",
"platform": "1",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "El Cerrito del Norte",
"abbr": "DELN",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "14",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "43",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "1",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "136"
},
{
"minutes": "10",
"platform": "1",
"direction": "North",
"length": "9",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "136"
},
{
"minutes": "15",
"platform": "1",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Richmond",
"abbr": "RICH",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "8",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "37",
"platform": "2",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Warm Springs/South Fremont",
"abbr": "WARM",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "3",
"platform": "1",
"direction": "North",
"length": "9",
"color": "GREEN",
"hexcolor": "#339933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "14",
"platform": "1",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "29",
"platform": "1",
"direction": "South",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "17",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "47",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Milpitas",
"abbr": "MLPT",
"etd": [
{
"destination": "Berryessa",
"abbreviation": "BERY",
"limited": "0",
"estimate": [
{
"minutes": "7",
"platform": "1",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "11",
"platform": "1",
"direction": "North",
"length": "9",
"color": "GREEN",
"hexcolor": "#339933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "23",
"platform": "1",
"direction": "South",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "9",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "39",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Berryessa/North San Jose",
"abbr": "BERY",
"etd": [
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "4",
"platform": "2",
"direction": "North",
"length": "7",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "34",
"platform": "2",
"direction": "North",
"length": "8",
"color": "ORANGE",
"hexcolor": "#ff9933",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Colma",
"abbr": "COLM",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "27",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "5",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "15",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "19",
"platform": "1",
"direction": "South",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "133"
},
{
"minutes": "33",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "88"
},
{
"minutes": "47",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "South San Francisco",
"abbr": "SSAN",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "24",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Pittsburg/Bay Point",
"abbreviation": "PITT",
"limited": "0",
"estimate": [
{
"minutes": "2",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "12",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "22",
"platform": "1",
"direction": "South",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "127"
},
{
"minutes": "36",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "82"
},
{
"minutes": "50",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "San Bruno",
"abbr": "SBRN",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "20",
"platform": "2",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "2",
"platform": "1",
"direction": "South",
"length": "9",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "9",
"platform": "2",
"direction": "North",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SFO/Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "25",
"platform": "1",
"direction": "South",
"length": "9",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "122"
},
{
"minutes": "39",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "77"
},
{
"minutes": "53",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "Millbrae",
"abbr": "MLBR",
"etd": [
{
"destination": "Richmond",
"abbreviation": "RICH",
"limited": "0",
"estimate": [
{
"minutes": "5",
"platform": "3",
"direction": "North",
"length": "9",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "SF Airport",
"abbreviation": "SFIA",
"limited": "0",
"estimate": [
{
"minutes": "39",
"platform": "3",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
},
{
"name": "San Francisco Int'l Airport",
"abbr": "SFIA",
"etd": [
{
"destination": "Antioch",
"abbreviation": "ANTC",
"limited": "0",
"estimate": [
{
"minutes": "17",
"platform": "1",
"direction": "North",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
},
{
"destination": "Millbrae",
"abbreviation": "MLBR",
"limited": "0",
"estimate": [
{
"minutes": "10",
"platform": "3",
"direction": "South",
"length": "8",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "18",
"platform": "3",
"direction": "South",
"length": "10",
"color": "RED",
"hexcolor": "#ff0000",
"bikeflag": "1",
"delay": "0"
},
{
"minutes": "31",
"platform": "1",
"direction": "South",
"length": "10",
"color": "YELLOW",
"hexcolor": "#ffff33",
"bikeflag": "1",
"delay": "0"
}
]
}
]
}
],
"message": "Direction not supported for ALL ETD messages."
}
} | 42.615845 | 88 | 0.180096 | 8,089 | 235,069 | 5.233651 | 0.038942 | 0.086099 | 0.133932 | 0.112318 | 0.966198 | 0.960624 | 0.959655 | 0.950892 | 0.949947 | 0.913618 | 0 | 0.06129 | 0.7098 | 235,069 | 5,516 | 89 | 42.615845 | 0.559303 | 0 | 0 | 0.703227 | 0 | 0.000181 | 0.182669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1ae21ad247ecc2dccd1f89ff7454d019731b2e8b | 25,986 | py | Python | sdk/python/pulumi_azure/synapse/integration_runtime_azure.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/synapse/integration_runtime_azure.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/synapse/integration_runtime_azure.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = ['IntegrationRuntimeAzureArgs', 'IntegrationRuntimeAzure']
@pulumi.input_type
class IntegrationRuntimeAzureArgs:
def __init__(__self__, *,
synapse_workspace_id: pulumi.Input[str],
compute_type: Optional[pulumi.Input[str]] = None,
core_count: Optional[pulumi.Input[int]] = None,
description: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
time_to_live_min: Optional[pulumi.Input[int]] = None):
"""
The set of arguments for constructing a IntegrationRuntimeAzure resource.
:param pulumi.Input[str] synapse_workspace_id: The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[str] compute_type: Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`.
:param pulumi.Input[int] core_count: Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`.
:param pulumi.Input[str] description: Integration runtime description.
:param pulumi.Input[str] location: The Azure Region where the Synapse Azure Integration Runtime should exist. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[str] name: The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[int] time_to_live_min: Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`.
"""
pulumi.set(__self__, "synapse_workspace_id", synapse_workspace_id)
if compute_type is not None:
pulumi.set(__self__, "compute_type", compute_type)
if core_count is not None:
pulumi.set(__self__, "core_count", core_count)
if description is not None:
pulumi.set(__self__, "description", description)
if location is not None:
pulumi.set(__self__, "location", location)
if name is not None:
pulumi.set(__self__, "name", name)
if time_to_live_min is not None:
pulumi.set(__self__, "time_to_live_min", time_to_live_min)
@property
@pulumi.getter(name="synapseWorkspaceId")
def synapse_workspace_id(self) -> pulumi.Input[str]:
"""
The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created.
"""
return pulumi.get(self, "synapse_workspace_id")
@synapse_workspace_id.setter
def synapse_workspace_id(self, value: pulumi.Input[str]):
pulumi.set(self, "synapse_workspace_id", value)
@property
@pulumi.getter(name="computeType")
def compute_type(self) -> Optional[pulumi.Input[str]]:
"""
Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`.
"""
return pulumi.get(self, "compute_type")
@compute_type.setter
def compute_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "compute_type", value)
@property
@pulumi.getter(name="coreCount")
def core_count(self) -> Optional[pulumi.Input[int]]:
"""
Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`.
"""
return pulumi.get(self, "core_count")
@core_count.setter
def core_count(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "core_count", value)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
Integration runtime description.
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter
def location(self) -> Optional[pulumi.Input[str]]:
"""
The Azure Region where the Synapse Azure Integration Runtime should exist. Changing this forces a new Synapse Azure Integration Runtime to be created.
"""
return pulumi.get(self, "location")
@location.setter
def location(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "location", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="timeToLiveMin")
def time_to_live_min(self) -> Optional[pulumi.Input[int]]:
"""
Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`.
"""
return pulumi.get(self, "time_to_live_min")
@time_to_live_min.setter
def time_to_live_min(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "time_to_live_min", value)
@pulumi.input_type
class _IntegrationRuntimeAzureState:
def __init__(__self__, *,
compute_type: Optional[pulumi.Input[str]] = None,
core_count: Optional[pulumi.Input[int]] = None,
description: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
synapse_workspace_id: Optional[pulumi.Input[str]] = None,
time_to_live_min: Optional[pulumi.Input[int]] = None):
"""
Input properties used for looking up and filtering IntegrationRuntimeAzure resources.
:param pulumi.Input[str] compute_type: Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`.
:param pulumi.Input[int] core_count: Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`.
:param pulumi.Input[str] description: Integration runtime description.
:param pulumi.Input[str] location: The Azure Region where the Synapse Azure Integration Runtime should exist. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[str] name: The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[str] synapse_workspace_id: The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[int] time_to_live_min: Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`.
"""
if compute_type is not None:
pulumi.set(__self__, "compute_type", compute_type)
if core_count is not None:
pulumi.set(__self__, "core_count", core_count)
if description is not None:
pulumi.set(__self__, "description", description)
if location is not None:
pulumi.set(__self__, "location", location)
if name is not None:
pulumi.set(__self__, "name", name)
if synapse_workspace_id is not None:
pulumi.set(__self__, "synapse_workspace_id", synapse_workspace_id)
if time_to_live_min is not None:
pulumi.set(__self__, "time_to_live_min", time_to_live_min)
@property
@pulumi.getter(name="computeType")
def compute_type(self) -> Optional[pulumi.Input[str]]:
"""
Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`.
"""
return pulumi.get(self, "compute_type")
@compute_type.setter
def compute_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "compute_type", value)
@property
@pulumi.getter(name="coreCount")
def core_count(self) -> Optional[pulumi.Input[int]]:
"""
Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`.
"""
return pulumi.get(self, "core_count")
@core_count.setter
def core_count(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "core_count", value)
@property
@pulumi.getter
def description(self) -> Optional[pulumi.Input[str]]:
"""
Integration runtime description.
"""
return pulumi.get(self, "description")
@description.setter
def description(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "description", value)
@property
@pulumi.getter
def location(self) -> Optional[pulumi.Input[str]]:
"""
The Azure Region where the Synapse Azure Integration Runtime should exist. Changing this forces a new Synapse Azure Integration Runtime to be created.
"""
return pulumi.get(self, "location")
@location.setter
def location(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "location", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="synapseWorkspaceId")
def synapse_workspace_id(self) -> Optional[pulumi.Input[str]]:
"""
The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created.
"""
return pulumi.get(self, "synapse_workspace_id")
@synapse_workspace_id.setter
def synapse_workspace_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "synapse_workspace_id", value)
@property
@pulumi.getter(name="timeToLiveMin")
def time_to_live_min(self) -> Optional[pulumi.Input[int]]:
"""
Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`.
"""
return pulumi.get(self, "time_to_live_min")
@time_to_live_min.setter
def time_to_live_min(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "time_to_live_min", value)
class IntegrationRuntimeAzure(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
compute_type: Optional[pulumi.Input[str]] = None,
core_count: Optional[pulumi.Input[int]] = None,
description: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
synapse_workspace_id: Optional[pulumi.Input[str]] = None,
time_to_live_min: Optional[pulumi.Input[int]] = None,
__props__=None):
"""
Manages a Synapse Azure Integration Runtime.
## Example Usage
```python
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
account_tier="Standard",
account_replication_type="LRS")
example_container = azure.storage.Container("exampleContainer",
storage_account_name=example_account.name,
container_access_type="private")
example_data_lake_gen2_filesystem = azure.storage.DataLakeGen2Filesystem("exampleDataLakeGen2Filesystem", storage_account_id=example_account.id)
example_workspace = azure.synapse.Workspace("exampleWorkspace",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
storage_data_lake_gen2_filesystem_id=example_data_lake_gen2_filesystem.id,
sql_administrator_login="sqladminuser",
sql_administrator_login_password="H@Sh1CoR3!",
managed_virtual_network_enabled=True)
example_firewall_rule = azure.synapse.FirewallRule("exampleFirewallRule",
synapse_workspace_id=example_workspace.id,
start_ip_address="0.0.0.0",
end_ip_address="255.255.255.255")
example_integration_runtime_azure = azure.synapse.IntegrationRuntimeAzure("exampleIntegrationRuntimeAzure",
synapse_workspace_id=example_workspace.id,
location=example_resource_group.location)
```
## Import
Synapse Azure Integration Runtimes can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/integrationRuntimeAzure:IntegrationRuntimeAzure example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/integrationruntimes/IntegrationRuntime1
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] compute_type: Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`.
:param pulumi.Input[int] core_count: Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`.
:param pulumi.Input[str] description: Integration runtime description.
:param pulumi.Input[str] location: The Azure Region where the Synapse Azure Integration Runtime should exist. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[str] name: The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[str] synapse_workspace_id: The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[int] time_to_live_min: Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: IntegrationRuntimeAzureArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Manages a Synapse Azure Integration Runtime.
## Example Usage
```python
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
account_tier="Standard",
account_replication_type="LRS")
example_container = azure.storage.Container("exampleContainer",
storage_account_name=example_account.name,
container_access_type="private")
example_data_lake_gen2_filesystem = azure.storage.DataLakeGen2Filesystem("exampleDataLakeGen2Filesystem", storage_account_id=example_account.id)
example_workspace = azure.synapse.Workspace("exampleWorkspace",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
storage_data_lake_gen2_filesystem_id=example_data_lake_gen2_filesystem.id,
sql_administrator_login="sqladminuser",
sql_administrator_login_password="H@Sh1CoR3!",
managed_virtual_network_enabled=True)
example_firewall_rule = azure.synapse.FirewallRule("exampleFirewallRule",
synapse_workspace_id=example_workspace.id,
start_ip_address="0.0.0.0",
end_ip_address="255.255.255.255")
example_integration_runtime_azure = azure.synapse.IntegrationRuntimeAzure("exampleIntegrationRuntimeAzure",
synapse_workspace_id=example_workspace.id,
location=example_resource_group.location)
```
## Import
Synapse Azure Integration Runtimes can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:synapse/integrationRuntimeAzure:IntegrationRuntimeAzure example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/integrationruntimes/IntegrationRuntime1
```
:param str resource_name: The name of the resource.
:param IntegrationRuntimeAzureArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(IntegrationRuntimeAzureArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
compute_type: Optional[pulumi.Input[str]] = None,
core_count: Optional[pulumi.Input[int]] = None,
description: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
synapse_workspace_id: Optional[pulumi.Input[str]] = None,
time_to_live_min: Optional[pulumi.Input[int]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = IntegrationRuntimeAzureArgs.__new__(IntegrationRuntimeAzureArgs)
__props__.__dict__["compute_type"] = compute_type
__props__.__dict__["core_count"] = core_count
__props__.__dict__["description"] = description
__props__.__dict__["location"] = location
__props__.__dict__["name"] = name
if synapse_workspace_id is None and not opts.urn:
raise TypeError("Missing required property 'synapse_workspace_id'")
__props__.__dict__["synapse_workspace_id"] = synapse_workspace_id
__props__.__dict__["time_to_live_min"] = time_to_live_min
super(IntegrationRuntimeAzure, __self__).__init__(
'azure:synapse/integrationRuntimeAzure:IntegrationRuntimeAzure',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
compute_type: Optional[pulumi.Input[str]] = None,
core_count: Optional[pulumi.Input[int]] = None,
description: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
synapse_workspace_id: Optional[pulumi.Input[str]] = None,
time_to_live_min: Optional[pulumi.Input[int]] = None) -> 'IntegrationRuntimeAzure':
"""
Get an existing IntegrationRuntimeAzure resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] compute_type: Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`.
:param pulumi.Input[int] core_count: Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`.
:param pulumi.Input[str] description: Integration runtime description.
:param pulumi.Input[str] location: The Azure Region where the Synapse Azure Integration Runtime should exist. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[str] name: The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[str] synapse_workspace_id: The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created.
:param pulumi.Input[int] time_to_live_min: Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _IntegrationRuntimeAzureState.__new__(_IntegrationRuntimeAzureState)
__props__.__dict__["compute_type"] = compute_type
__props__.__dict__["core_count"] = core_count
__props__.__dict__["description"] = description
__props__.__dict__["location"] = location
__props__.__dict__["name"] = name
__props__.__dict__["synapse_workspace_id"] = synapse_workspace_id
__props__.__dict__["time_to_live_min"] = time_to_live_min
return IntegrationRuntimeAzure(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="computeType")
def compute_type(self) -> pulumi.Output[Optional[str]]:
"""
Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`.
"""
return pulumi.get(self, "compute_type")
@property
@pulumi.getter(name="coreCount")
def core_count(self) -> pulumi.Output[Optional[int]]:
"""
Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`.
"""
return pulumi.get(self, "core_count")
@property
@pulumi.getter
def description(self) -> pulumi.Output[Optional[str]]:
"""
Integration runtime description.
"""
return pulumi.get(self, "description")
@property
@pulumi.getter
def location(self) -> pulumi.Output[str]:
"""
The Azure Region where the Synapse Azure Integration Runtime should exist. Changing this forces a new Synapse Azure Integration Runtime to be created.
"""
return pulumi.get(self, "location")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
"""
return pulumi.get(self, "name")
@property
@pulumi.getter(name="synapseWorkspaceId")
def synapse_workspace_id(self) -> pulumi.Output[str]:
"""
The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created.
"""
return pulumi.get(self, "synapse_workspace_id")
@property
@pulumi.getter(name="timeToLiveMin")
def time_to_live_min(self) -> pulumi.Output[Optional[int]]:
"""
Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`.
"""
return pulumi.get(self, "time_to_live_min")
| 50.853229 | 261 | 0.677211 | 3,096 | 25,986 | 5.468992 | 0.076873 | 0.061717 | 0.055398 | 0.054571 | 0.889322 | 0.872254 | 0.865226 | 0.858079 | 0.855067 | 0.844909 | 0 | 0.011785 | 0.229354 | 25,986 | 510 | 262 | 50.952941 | 0.833716 | 0.461903 | 0 | 0.789272 | 1 | 0 | 0.097361 | 0.012439 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16092 | false | 0.003831 | 0.019157 | 0 | 0.275862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1af210543f9a0d184714617fe1a936076a6aebc8 | 47,421 | py | Python | venv/Lib/site-packages/veriloggen/thread/axistreamout.py | SweetSourPeter/violin | 91abf09442c990968650e61f33ffb19e14214968 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/veriloggen/thread/axistreamout.py | SweetSourPeter/violin | 91abf09442c990968650e61f33ffb19e14214968 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/veriloggen/thread/axistreamout.py | SweetSourPeter/violin | 91abf09442c990968650e61f33ffb19e14214968 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import print_function
import math
import functools
from collections import OrderedDict
import veriloggen.core.vtypes as vtypes
import veriloggen.types.axi as axi
from veriloggen.fsm.fsm import FSM
from veriloggen.optimizer import try_optimize as optimize
from .ttypes import _MutexFunction
from .ram import RAM, MultibankRAM, to_multibank_ram
from .fifo import FIFO
class AXIStreamOut(axi.AxiStreamOut, _MutexFunction):
""" AXI Stream Interface for Output """
__intrinsics__ = ('write',
'read_ram', 'read_ram_async',
'wait_read_ram')
def __init__(self, m, name, clk, rst, datawidth=32, addrwidth=32,
with_last=True, with_strb=False,
id_width=0, user_width=0, dest_width=0,
noio=False,
enable_async=True,
num_cmd_delay=0, num_data_delay=0,
op_sel_width=8, fsm_as_module=False):
axi.AxiStreamOut.__init__(self, m, name, clk, rst, datawidth,
with_last, with_strb,
id_width, user_width, dest_width,
noio)
self.addrwidth = addrwidth
self.enable_async = enable_async
self.num_cmd_delay = num_cmd_delay
self.num_data_delay = num_data_delay
self.op_sel_width = op_sel_width
self.fsm_as_module = fsm_as_module
self.mutex = None
self.write_start = self.m.Reg('_'.join(['', self.name, 'write_start']),
initval=0)
self.write_op_sel = self.m.Reg('_'.join(['', self.name, 'write_op_sel']),
self.op_sel_width, initval=0)
self.write_local_addr = self.m.Reg('_'.join(['', self.name, 'write_local_addr']),
self.addrwidth, initval=0)
self.write_size = self.m.Reg('_'.join(['', self.name, 'write_size']),
self.addrwidth + 1, initval=0)
self.write_local_stride = self.m.Reg('_'.join(['', self.name, 'write_local_stride']),
self.addrwidth, initval=0)
self.write_idle = self.m.Reg(
'_'.join(['', self.name, 'write_idle']), initval=1)
self.seq(
self.write_start(0)
)
self.write_op_id_map = OrderedDict()
self.write_op_id_count = 1
self.write_reqs = OrderedDict()
self.write_ops = []
self.write_fsm = None
self.write_counter = None
self.write_narrow_fsms = OrderedDict() # key: pack_size
self.write_narrow_counters = OrderedDict() # key: pack_size
self.write_narrow_wdatas = OrderedDict() # key: pack_size
self.write_narrow_wvalids = OrderedDict() # key: pack_size
self.write_narrow_wlasts = OrderedDict() # key: pack_size
self.write_narrow_pack_counts = OrderedDict() # key: pack_size
self.write_wide_fsms = OrderedDict() # key: pack_size
self.write_wide_counters = OrderedDict() # key: pack_size
self.write_wide_wdatas = OrderedDict() # key: pack_size
self.write_wide_wvalids = OrderedDict() # key: pack_size
self.write_wide_wlasts = OrderedDict() # key: pack_size
self.write_wide_pack_counts = OrderedDict() # key: pack_size
def write(self, fsm, value, last=False):
ack = self.write_data(value, last, cond=fsm)
fsm.If(ack).goto_next()
def read_ram(self, fsm, ram, local_addr, size,
local_stride=1, port=0, ram_method=None):
if self.enable_async:
self.wait_read_ram(fsm)
self._read_ram(fsm, ram, local_addr, size,
local_stride, port, ram_method)
self.wait_read_ram(fsm)
def read_ram_async(self, fsm, ram, local_addr, size,
local_stride=1, port=0, ram_method=None):
if not self.enable_async:
raise ValueError(
"Async mode is disabled. Set 'True' to AXIM.enable_async.")
self.wait_read_ram(fsm)
self._read_ram(fsm, ram, local_addr, size,
local_stride, port, ram_method)
def wait_read_ram(self, fsm):
fsm.If(self.write_idle).goto_next()
def _read_ram(self, fsm, ram, local_addr, size,
local_stride=1, port=0, ram_method=None):
if isinstance(ram, (tuple, list)):
ram = to_multibank_ram(ram)
if not isinstance(ram, (RAM, MultibankRAM)):
raise TypeError('RAM object is required.')
if ram_method is None:
ram_method = getattr(ram, 'read_dataflow')
start = self._set_flag(fsm)
for _ in range(self.num_cmd_delay + 1):
fsm.goto_next()
self._set_write_request(ram, port, ram_method, start,
local_addr, size, local_stride)
self._synthesize_write_fsm(ram, port, ram_method)
fsm.goto_next()
def _set_write_request(self, ram, port, ram_method, start,
local_addr, size, local_stride):
op_id = self._get_write_op_id(ram, port, ram_method)
if op_id in self.write_reqs:
(write_start, write_op_sel,
write_local_addr_in,
write_size_in, write_local_stride_in) = self.write_reqs[op_id]
self.seq.If(start)(
write_start(1),
write_op_sel(op_id),
write_local_addr_in(local_addr),
write_size_in(size),
write_local_stride_in(local_stride)
)
return
port = str(vtypes.to_int(port))
write_start = self.m.Reg(
'_'.join(['', self.name, ram.name, port, 'write_start']),
initval=0)
write_op_sel = self.m.Reg(
'_'.join(['', self.name, ram.name, port, 'write_op_sel']),
self.op_sel_width, initval=0)
write_local_addr = self.m.Reg(
'_'.join(['', self.name, ram.name, port, 'write_local_addr']),
self.addrwidth, initval=0)
write_size = self.m.Reg(
'_'.join(['', self.name, ram.name, port, 'write_size']),
self.addrwidth + 1, initval=0)
write_local_stride = self.m.Reg(
'_'.join(['', self.name, ram.name, port, 'write_local_stride']),
self.addrwidth, initval=0)
self.seq(
write_start(0)
)
self.seq.If(start)(
write_start(1),
write_op_sel(op_id),
write_local_addr(local_addr),
write_size(size),
write_local_stride(local_stride)
)
self.write_reqs[op_id] = (write_start, write_op_sel,
write_local_addr,
write_size, write_local_stride)
if self.num_cmd_delay > 0:
write_start = self.seq.Prev(write_start, self.num_cmd_delay)
write_op_sel = self.seq.Prev(write_op_sel, self.num_cmd_delay)
write_local_addr = self.seq.Prev(
write_local_addr, self.num_cmd_delay)
write_size = self.seq.Prev(write_size, self.num_cmd_delay)
write_local_stride = self.seq.Prev(
write_local_stride, self.num_cmd_delay)
self.seq.If(write_start)(
self.write_idle(0)
)
self.seq.If(write_start)(
self.write_start(1),
self.write_op_sel(write_op_sel),
self.write_local_addr(write_local_addr),
self.write_size(write_size),
self.write_local_stride(write_local_stride)
)
def _synthesize_write_fsm(self, ram, port, ram_method):
ram_method_name = (ram_method.func.__name__
if isinstance(ram_method, functools.partial) else
ram_method.__name__)
ram_datawidth = (ram.datawidth if ram_method is None else
ram.orig_datawidth if 'bcast' in ram_method_name else
ram.orig_datawidth if 'block' in ram_method_name else
ram.datawidth)
if not isinstance(self.datawidth, int):
raise TypeError("axi.datawidth must be int, not '%s'" %
str(type(self.datawidth)))
if not isinstance(ram_datawidth, int):
raise TypeError("ram_datawidth must be int, not '%s'" %
str(type(ram_datawidth)))
if self.datawidth == ram_datawidth:
return self._synthesize_write_fsm_same(ram, port, ram_method, ram_datawidth)
if self.datawidth < ram_datawidth:
return self._synthesize_write_fsm_narrow(ram, port, ram_method, ram_datawidth)
return self._synthesize_write_fsm_wide(ram, port, ram_method, ram_datawidth)
def _synthesize_write_fsm_same(self, ram, port, ram_method, ram_datawidth):
op_id = self._get_write_op_id(ram, port, ram_method)
port = vtypes.to_int(port)
if op_id in self.write_ops:
""" already synthesized op """
return
if self.write_fsm is not None:
""" new op """
self.write_ops.append(op_id)
fsm = self.write_fsm
counter = self.write_counter
# state 0
fsm.set_index(0)
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
data, last, done = ram_method(
port, self.write_local_addr, self.write_size,
stride=self.write_local_stride, cond=cond, signed=False)
if self.num_data_delay > 0:
for _ in range(self.num_data_delay):
data = self.df._Delay(data)
last = self.df._Delay(last)
fsm.If(cond).goto_next()
# state 1
fsm.set_index(1)
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
read_cond = vtypes.Ands(cond, write_ready)
rdata, rvalid = data.read(cond=read_cond)
rlast, _ = last.read(cond=read_cond)
_ = self.write_data(rdata, rlast, cond=rvalid)
return
""" new op and fsm """
fsm = FSM(self.m, '_'.join(['', self.name, 'write_fsm']),
self.clk, self.rst, as_module=self.fsm_as_module)
self.write_fsm = fsm
self.write_ops.append(op_id)
# state 0
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
data, last, done = ram_method(
port, self.write_local_addr, self.write_size,
stride=self.write_local_stride, cond=cond, signed=False)
if self.num_data_delay > 0:
for _ in range(self.num_data_delay):
data = self.df._Delay(data)
last = self.df._Delay(last)
counter = self.m.Reg('_'.join(['', self.name, 'write_counter']),
self.addrwidth + 1, initval=0)
self.write_counter = counter
fsm.If(self.write_start)(
counter(self.write_size)
)
fsm.If(cond).goto_next()
# state 1
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
read_cond = vtypes.Ands(cond, write_ready)
rdata, rvalid = data.read(cond=read_cond)
rlast, _ = last.read(cond=read_cond)
_ = self.write_data(rdata, rlast, cond=rvalid)
ack = vtypes.Ands(self.tdata.tvalid, self.tdata.tready)
fsm.If(ack)(
counter.dec()
)
done = counter == 0
fsm.If(done).goto_next()
# state 2
set_idle = self._set_flag(fsm)
self.seq.If(set_idle)(
self.write_idle(1)
)
fsm.goto_init()
def _synthesize_write_fsm_narrow(self, ram, port, ram_method, ram_datawidth):
""" axi.datawidth < ram.datawidth """
if ram_datawidth % self.datawidth != 0:
raise ValueError(
'ram_datawidth must be multiple number of axi.datawidth')
pack_size = ram_datawidth // self.datawidth
dma_size = (self.write_size << int(math.log(pack_size, 2))
if math.log(pack_size, 2) % 1.0 == 0.0 else
self.write_size * pack_size)
op_id = self._get_write_op_id(ram, port, ram_method)
port = vtypes.to_int(port)
if op_id in self.write_ops:
""" already synthesized op """
return
if pack_size in self.write_narrow_fsms:
""" new op """
self.write_ops.append(op_id)
fsm = self.write_narrow_fsms[pack_size]
counter = self.write_narrow_counters[pack_size]
wdata = self.write_narrow_wdatas[pack_size]
wvalid = self.write_narrow_wvalids[pack_size]
wlast = self.write_narrow_wlasts[pack_size]
pack_count = self.write_narrow_pack_counts[pack_size]
# state 0
fsm.set_index(0)
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
data, last, done = ram_method(
port, self.write_local_addr, self.write_size,
stride=self.write_local_stride, cond=cond, signed=False)
if self.num_data_delay > 0:
for _ in range(self.num_data_delay):
data = self.df._Delay(data)
last = self.df._Delay(last)
fsm.If(cond).goto_next()
# state 1
fsm.set_index(1)
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
read_cond = vtyeps.Ands(cond, write_ready, pack_count == 0)
rdata, rvalid = data.read(cond=read_cond)
rlast, _ = last.read(cond=read_cond)
stay_cond = self.write_op_sel == op_id
self.seq.If(write_ready, rvalid, stay_cond)(
wdata(rdata),
wvalid(1),
wlast(rlast),
pack_count.inc()
)
return
""" new op and fsm """
fsm = FSM(self.m, '_'.join(['', self.name,
'write_narrow', str(pack_size),
'fsm']),
self.clk, self.rst, as_module=self.fsm_as_module)
self.write_narrow_fsms[pack_size] = fsm
self.write_ops.append(op_id)
# state 0
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
data, last, done = ram_method(
port, self.write_local_addr, self.write_size,
stride=self.write_local_stride, cond=cond, signed=False)
if self.num_data_delay > 0:
for _ in range(self.num_data_delay):
data = self.df._Delay(data)
last = self.df._Delay(last)
counter = self.m.Reg('_'.join(['', self.name,
'write_narrow', str(pack_size), 'counter']),
self.addrwidth + 1, initval=0)
self.write_narrow_counters[pack_size] = counter
fsm.If(self.write_start)(
counter(dma_size)
)
fsm.If(cond).goto_next()
# state 1
wdata = self.m.Reg('_'.join(['', self.name,
'write_narrow', str(pack_size),
'wdata']),
ram_datawidth, initval=0)
self.write_narrow_wdatas[pack_size] = wdata
wvalid = self.m.Reg('_'.join(['', self.name,
'write_narrow', str(pack_size),
'wvalid']),
initval=0)
self.write_narrow_wvalids[pack_size] = wvalid
wlast = self.m.Reg('_'.join(['', self.name,
'write_narrow', str(pack_size),
'wlast']),
initval=0)
self.write_narrow_wlasts[pack_size] = wlast
pack_count = self.m.Reg('_'.join(['', self.name,
'write_narrow', str(pack_size),
'pack_count']),
int(math.ceil(math.log(pack_size, 2))), initval=0)
self.write_narrow_pack_counts[pack_size] = pack_count
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
read_cond = vtypes.Ands(cond, write_ready, pack_count == 0)
rdata, rvalid = data.read(cond=read_cond)
rlast, _ = last.read(cond=read_cond)
stay_cond = self.write_op_sel == op_id
self.seq.If(write_ready)(
wvalid(0),
wlast(0)
)
self.seq.If(write_ready, rvalid, stay_cond)(
wdata(rdata),
wvalid(1),
wlast(rlast),
pack_count.inc()
)
self.seq.If(write_ready, pack_count > 0)(
wdata(wdata >> self.datawidth),
wvalid(1),
pack_count.inc()
)
self.seq.If(write_ready, pack_count == pack_size - 1)(
wdata(wdata >> self.datawidth),
wvalid(1),
pack_count(0)
)
_ = self.write_data(wdata, wlast, cond=wvalid)
ack = vtypes.Ands(self.tdata.tvalid, self.tdata.tready)
fsm.If(ack)(
counter.dec()
)
done = counter == 0
fsm.If(done).goto_next()
# state 2
set_idle = self._set_flag(fsm)
self.seq.If(set_idle)(
self.write_idle(1)
)
fsm.goto_init()
def _synthesize_write_fsm_wide(self, ram, port, ram_method, ram_datawidth):
""" axi.datawidth > ram.datawidth """
if self.datawidth % ram_datawidth != 0:
raise ValueError(
'axi.datawidth must be multiple number of ram_datawidth')
pack_size = self.datawidth // ram_datawidth
shamt = int(math.log(pack_size, 2))
res = vtypes.Mux(
vtypes.And(self.write_size, 2 ** shamt - 1) > 0, 1, 0)
dma_size = (self.write_size >> shamt) + res
actual_write_size = dma_size << shamt
op_id = self._get_write_op_id(ram, port, ram_method)
port = vtypes.to_int(port)
if op_id in self.write_ops:
""" already synthesized op """
return
if pack_size in self.write_wide_fsms:
""" new op """
self.write_ops.append(op_id)
fsm = self.write_wide_fsms[pack_size]
counter = self.write_wide_counters[pack_size]
wdata = self.write_wide_wdatas[pack_size]
wvalid = self.write_wide_wvalids[pack_size]
wlast = self.write_wide_wlasts[pack_size]
pack_count = self.write_wide_pack_counts[pack_size]
# state 0
fsm.set_index(0)
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
data, last, done = ram_method(
port, self.write_local_addr, actual_write_size,
stride=self.write_local_stride, cond=cond, signed=False)
if self.num_data_delay > 0:
for _ in range(self.num_data_delay):
data = self.df._Delay(data)
last = self.df._Delay(last)
fsm.If(cond).goto_next()
# state 1
fsm.set_index(1)
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
read_cond = cond
rdata, rvalid = data.read(cond=read_cond)
rlast, _ = last.read(cond=read_cond)
stay_cond = self.write_op_sel == op_id
ack = vtypes.Ors(wready, vtypes.Not(wvalid))
cond = vtypes.Ands(fsm.here, ack, self.write_op_sel == op_id)
rdata, rvalid = data.read(cond=cond)
self.seq.If(rvalid, stay_cond)(
wdata(vtypes.Cat(rdata, wdata[ram_datawidth:self.datawidth])),
wvalid(0),
wlast(0),
pack_count.inc()
)
self.seq.If(rvalid, stay_cond, pack_count == pack_size - 1)(
wdata(vtypes.Cat(rdata, wdata[ram_datawidth:self.datawidth])),
wvalid(1),
wlast(rlast),
pack_count(0)
)
return
""" new op and fsm """
fsm = FSM(self.m, '_'.join(['', self.name,
'write_wide', str(pack_size),
'fsm']),
self.clk, self.rst, as_module=self.fsm_as_module)
self.write_wide_fsms[pack_size] = fsm
self.write_ops.append(op_id)
# state 0
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
data, last, done = ram_method(
port, self.write_local_addr, actual_write_size,
stride=self.write_local_stride, cond=cond, signed=False)
if self.num_data_delay > 0:
for _ in range(self.num_data_delay):
data = self.df._Delay(data)
last = self.df._Delay(last)
counter = self.m.Reg('_'.join(['', self.name,
'write_wide', str(pack_size), 'counter']),
self.addrwidth + 1, initval=0)
self.write_wide_counters[pack_size] = counter
fsm.If(self.write_start)(
counter(dma_size)
)
fsm.If(cond).goto_next()
# state 1
wdata = self.m.Reg('_'.join(['', self.name,
'write_wide', str(pack_size),
'wdata']),
self.datawidth, initval=0)
self.write_wide_wdatas[pack_size] = wdata
wvalid = self.m.Reg('_'.join(['', self.name,
'write_wide', str(pack_size),
'wvalid']),
initval=0)
self.write_wide_wvalids[pack_size] = wvalid
wlast = self.m.Reg('_'.join(['', self.name,
'write_wide', str(pack_size),
'wlast']),
initval=0)
self.write_wide_wlasts[pack_size] = wlast
pack_count = self.m.Reg('_'.join(['', self.name,
'write_wide', str(pack_size),
'pack_count']),
int(math.ceil(math.log(pack_size, 2))), initval=0)
self.write_wide_pack_counts[pack_size] = pack_count
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
read_cond = cond
rdata, rvalid = data.read(cond=read_cond)
rlast, _ = last.read(cond=read_cond)
stay_cond = self.write_op_sel == op_id
self.seq.If(write_ready)(
wvalid(0),
wlast(0)
)
self.seq.If(rvalid, stay_cond)(
wdata(vtypes.Cat(rdata, wdata[ram_datawidth:self.datawidth])),
wvalid(0),
wlast(0),
pack_count.inc()
)
self.seq.If(rvalid, stay_cond, pack_count == pack_size - 1)(
wdata(vtypes.Cat(rdata, wdata[ram_datawidth:self.datawidth])),
wvalid(1),
wlast(rlast),
pack_count(0)
)
_ = self.write_data(wdata, wlast, cond=wvalid)
ack = vtypes.Ands(self.tdata.tvalid, self.tdata.tready)
fsm.If(ack)(
counter.dec()
)
done = counter == 0
fsm.If(done).goto_next()
# state 2
set_idle = self._set_flag(fsm)
self.seq.If(set_idle)(
self.write_idle(1)
)
fsm.goto_init()
def _set_flag(self, fsm, prefix='axistreamout_flag'):
flag = self.m.TmpReg(initval=0, prefix=prefix)
fsm(
flag(1)
)
fsm.Delay(1)(
flag(0)
)
fsm.goto_next()
return flag
def _get_write_op_id(self, ram, port, ram_method):
ram_id = ram._id()
port = vtypes.to_int(port)
ram_method_name = (ram_method.func.__name__
if isinstance(ram_method, functools.partial) else
ram_method.__name__)
op = (ram_id, port, ram_method_name)
if op in self.write_op_id_map:
op_id = self.write_op_id_map[op]
else:
op_id = self.write_op_id_count
self.write_op_id_count += 1
self.write_op_id_map[op] = op_id
return op_id
class AXIStreamOutFifo(AXIStreamOut):
""" AXI Stream Interface from FIFO for Output """
__intrinsics__ = ('write',
'read_fifo',
'wait_read_fifo')
def read_ram(self, fsm, ram, local_addr, size,
local_stride=1, port=0, ram_method=None):
raise NotImplementedError('Use AXIStreamOut.')
def read_ram_async(self, fsm, ram, local_addr, size,
local_stride=1, port=0, ram_method=None):
raise NotImplementedError('Use AXIStreamOut.')
def wait_read_ram(self, fsm):
raise NotImplementedError('Use AXIStreamOut.')
def read_fifo(self, fsm, fifo, size):
if not self.enable_async:
raise ValueError(
"Async mode is disabled. Set 'True' to AXIM.enable_async.")
self.wait_read_fifo(fsm)
self._read_fifo(fsm, fifo, size)
def wait_read_fifo(self, fsm):
fsm.If(self.write_idle).goto_next()
def _get_write_op_id_fifo(self, fifo):
fifo_id = fifo._id()
op = fifo_id
if op in self.write_op_id_map:
op_id = self.write_op_id_map[op]
else:
op_id = self.write_op_id_count
self.write_op_id_count += 1
self.write_op_id_map[op] = op_id
return op_id
def _read_fifo(self, fsm, fifo, size):
if self.num_data_delay != 0:
raise ValueError('num_data_delay must be 0.')
if not isinstance(fifo, FIFO):
raise TypeError('FIFO object is required.')
start = self._set_flag(fsm)
for _ in range(self.num_cmd_delay + 1):
fsm.goto_next()
self._set_write_request_fifo(fifo, start, size)
self._synthesize_write_fsm_fifo(fifo)
fsm.goto_next()
def _set_write_request_fifo(self, fifo, start, size):
op_id = self._get_write_op_id_fifo(fifo)
if op_id in self.write_ops:
(write_start, write_op_sel, write_size_in) = self.write_ops[op_id]
self.seq.If(start)(
write_start(1),
write_op_sel(op_id)
)
return
write_start = self.m.Reg(
'_'.join(['', self.name, fifo.name, 'write_start']),
initval=0)
write_op_sel = self.m.Reg(
'_'.join(['', self.name, fifo.name, 'write_op_sel']),
self.op_sel_width, initval=0)
write_size = self.m.Reg(
'_'.join(['', self.name, fifo.name, 'write_size']),
self.addrwidth + 1, initval=0)
self.seq(
write_start(0)
)
self.seq.If(start)(
write_start(1),
write_op_sel(op_id),
write_size(size),
)
self.write_reqs[op_id] = (write_start, write_op_sel, write_size)
if self.num_cmd_delay > 0:
write_start = self.seq.Prev(write_start, self.num_cmd_delay)
write_op_sel = self.seq.Prev(write_op_sel, self.num_cmd_delay)
write_size = self.seq.Prev(write_size, self.num_cmd_delay)
self.seq.If(write_start)(
self.write_idle(0)
)
self.seq.If(write_start)(
self.write_start(1),
self.write_op_sel(write_op_sel),
self.write_size(write_size),
)
def _synthesize_write_fsm_fifo(self, fifo):
fifo_datawidth = fifo.datawidth
if not isinstance(fifo_datawidth, int):
raise TypeError("fifo_datawidth must be int, not '%s'" %
str(type(fifo_datawidth)))
if self.datawidth == fifo_datawidth:
return self._synthesize_write_fsm_fifo_same(fifo, fifo_datawidth)
if self.datawidth < fifo_datawidth:
return self._synthesize_write_fsm_fifo_narrow(fifo, fifo_datawidth)
return self._synthesize_write_fsm_fifo_wide(fifo, fifo_datawidth)
def _synthesize_write_fsm_fifo_same(self, fifo, fifo_datawidth):
op_id = self._get_write_op_id_fifo(fifo)
if op_id in self.write_ops:
""" already synthesized op """
return
if self.write_fsm is not None:
""" new op """
self.write_ops.append(op_id)
fsm = self.write_fsm
counter = self.write_counter
# state 0
fsm.set_index(0)
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
fifo_counter = self.m.TmpReg(prefix='_'.join(['', self.name, 'write_fifo_counter']),
width=self.addrwidth + 1, initval=0)
fsm.If(self.write_start)(
fifo_counter(self.write_size)
)
fsm.If(cond).goto_next()
# state 1
fsm.set_index(1)
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
fifo_ready = vtypes.Not(fifo.empty)
deq_cond = vtypes.Ands(cond, write_ready, fifo_ready, fifo_counter > 0)
rdata, rvalid, _ = fifo.deq_rtl(cond=deq_cond)
rlast = self.m.TmpReg(prefix='rlast', initval=0)
self.seq.If(deq_cond)(
rlast(fifo_counter <= 1)
)
fsm.If(deq_cond)(
fifo_counter.dec()
)
repeat_rvalid = self.m.TmpReg(prefix='repeat_rvalid', initval=0)
self.seq(repeat_rvalid(0))
self.seq.If(rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
self.seq.If(repeat_rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
cur_rvalid = vtypes.Ors(rvalid, repeat_rvalid)
_ = self.write_data(rdata, rlast, cond=cur_rvalid)
return
""" new op and fsm """
fsm = FSM(self.m, '_'.join(['', self.name, 'write_fsm']),
self.clk, self.rst, as_module=self.fsm_as_module)
self.write_fsm = fsm
self.write_ops.append(op_id)
# state 0
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
counter = self.m.Reg('_'.join(['', self.name, 'write_counter']),
self.addrwidth + 1, initval=0)
self.write_counter = counter
fsm.If(self.write_start)(
counter(self.write_size)
)
fifo_counter = self.m.TmpReg(prefix='_'.join(['', self.name, 'write_fifo_counter']),
width=self.addrwidth + 1, initval=0)
fsm.If(self.write_start)(
fifo_counter(self.write_size)
)
fsm.If(cond).goto_next()
# state 1
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
fifo_ready = vtypes.Not(fifo.empty)
deq_cond = vtypes.Ands(cond, write_ready, fifo_ready, fifo_counter > 0)
rdata, rvalid, _ = fifo.deq_rtl(cond=deq_cond)
rlast = self.m.TmpReg(prefix='rlast', initval=0)
self.seq.If(deq_cond)(
rlast(fifo_counter <= 1)
)
fsm.If(deq_cond)(
fifo_counter.dec()
)
repeat_rvalid = self.m.TmpReg(prefix='repeat_rvalid', initval=0)
self.seq(repeat_rvalid(0))
self.seq.If(rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
self.seq.If(repeat_rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
cur_rvalid = vtypes.Ors(rvalid, repeat_rvalid)
_ = self.write_data(rdata, rlast, cond=cur_rvalid)
ack = vtypes.Ands(self.tdata.tvalid, self.tdata.tready)
fsm.If(ack)(
counter.dec()
)
done = counter == 0
fsm.If(done).goto_next()
# state 2
set_idle = self._set_flag(fsm)
self.seq.If(set_idle)(
self.write_idle(1)
)
fsm.goto_init()
def _synthesize_write_fsm_fifo_narrow(self, fifo, fifo_datawidth):
""" axi.datawidth < fifo.datawidth """
if fifo_datawidth % self.datawidth != 0:
raise ValueError(
'fifo_datawidth must be multiple number of axi.datawidth')
pack_size = fifo_datawidth // self.datawidth
dma_size = (self.write_size << int(math.log(pack_size, 2))
if math.log(pack_size, 2) % 1.0 == 0.0 else
self.write_size * pack_size)
op_id = self._get_write_op_id_fifo(fifo)
if op_id in self.write_ops:
""" already synthesized op """
return
if pack_size in self.write_narrow_fsms:
""" new op """
self.write_ops.append(op_id)
fsm = self.write_narrow_fsms[pack_size]
counter = self.write_narrow_counters[pack_size]
wdata = self.write_narrow_wdatas[pack_size]
wvalid = self.write_narrow_wvalids[pack_size]
wlast = self.write_narrow_wlasts[pack_size]
pack_count = self.write_narrow_pack_counts[pack_size]
# state 0
fsm.set_index(0)
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
fifo_counter = self.m.TmpReg(prefix='_'.join(
['', self.name, 'write_narrow', str(pack_size), 'counter']),
width=self.addrwidth + 1, initval=0)
fsm.If(self.write_start)(
fifo_counter(self.write_size)
)
fsm.If(cond).goto_next()
# state 1
fsm.set_index(1)
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
fifo_ready = vtypes.Not(fifo.empty)
deq_cond = vtypes.Ands(cond, write_ready, fifo_ready,
vtypes.Ors(pack_count == pack_size - 1,
vtypes.Ands(pack_count == 0,
fifo_counter == self.write_size)),
fifo_counter > 0)
rdata, rvalid, _ = fifo.deq_rtl(cond=deq_cond)
rlast = self.m.TmpReg(prefix='rlast', initval=0)
self.seq.If(deq_cond)(
rlast(fifo_counter <= 1)
)
fsm.If(deq_cond)(
fifo_counter.dec()
)
repeat_rvalid = self.m.TmpReg(prefix='repeat_rvalid', initval=0)
self.seq(repeat_rvalid(0))
self.seq.If(rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
self.seq.If(repeat_rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
cur_rvalid = vtypes.Ors(rvalid, repeat_rvalid)
stay_cond = self.write_op_sel == op_id
self.seq.If(write_ready, cur_rvalid, stay_cond)(
wdata(rdata),
wvalid(1),
wlast(0),
pack_count.inc()
)
self.seq.If(write_ready, pack_count == pack_size - 1)(
wdata(wdata >> self.datawidth),
wvalid(1),
wlast(rlast),
pack_count(0)
)
return
""" new op and fsm """
fsm = FSM(self.m, '_'.join(['', self.name,
'write_narrow', str(pack_size),
'fsm']),
self.clk, self.rst, as_module=self.fsm_as_module)
self.write_narrow_fsms[pack_size] = fsm
self.write_ops.append(op_id)
# state 0
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
counter = self.m.Reg('_'.join(['', self.name,
'write_narrow', str(pack_size), 'counter']),
self.addrwidth + 1, initval=0)
self.write_narrow_counters[pack_size] = counter
fsm.If(self.write_start)(
counter(dma_size)
)
fifo_counter = self.m.TmpReg(prefix='_'.join(['', self.name,
'write_narrow', str(pack_size), 'counter']),
width=self.addrwidth + 1, initval=0)
fsm.If(self.write_start)(
fifo_counter(self.write_size)
)
fsm.If(cond).goto_next()
# state 1
wdata = self.m.Reg('_'.join(['', self.name,
'write_narrow', str(pack_size),
'wdata']),
fifo_datawidth, initval=0)
self.write_narrow_wdatas[pack_size] = wdata
wvalid = self.m.Reg('_'.join(['', self.name,
'write_narrow', str(pack_size),
'wvalid']),
initval=0)
self.write_narrow_wvalids[pack_size] = wvalid
wlast = self.m.Reg('_'.join(['', self.name,
'write_narrow', str(pack_size),
'wlast']),
initval=0)
self.write_narrow_wlasts[pack_size] = wlast
pack_count = self.m.Reg('_'.join(['', self.name,
'write_narrow', str(pack_size),
'pack_count']),
int(math.ceil(math.log(pack_size, 2))), initval=0)
self.write_narrow_pack_counts[pack_size] = pack_count
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
fifo_ready = vtypes.Not(fifo.empty)
deq_cond = vtypes.Ands(cond, write_ready, fifo_ready,
vtypes.Ors(pack_count == pack_size - 1,
vtypes.Ands(pack_count == 0,
fifo_counter == self.write_size)),
fifo_counter > 0)
rdata, rvalid, _ = fifo.deq_rtl(cond=deq_cond)
rlast = self.m.TmpReg(prefix='rlast', initval=0)
self.seq.If(deq_cond)(
rlast(fifo_counter <= 1)
)
fsm.If(deq_cond)(
fifo_counter.dec()
)
repeat_rvalid = self.m.TmpReg(prefix='repeat_rvalid', initval=0)
self.seq(repeat_rvalid(0))
self.seq.If(rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
self.seq.If(repeat_rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
cur_rvalid = vtypes.Ors(rvalid, repeat_rvalid)
self.m.TmpWireLike(rdata, prefix='debug_rdata').assign(rdata)
self.m.TmpWireLike(rvalid, prefix='debug_rvalid').assign(rvalid)
stay_cond = self.write_op_sel == op_id
self.seq.If(write_ready)(
wvalid(0),
wlast(0)
)
self.seq.If(write_ready, cur_rvalid, stay_cond)(
wdata(rdata),
wvalid(1),
wlast(0),
pack_count.inc()
)
self.seq.If(write_ready, pack_count > 0)(
wdata(wdata >> self.datawidth),
wvalid(1),
wlast(0),
pack_count.inc()
)
self.seq.If(write_ready, pack_count == pack_size - 1)(
wdata(wdata >> self.datawidth),
wvalid(1),
wlast(rlast),
pack_count(0)
)
_ = self.write_data(wdata, wlast, cond=wvalid)
ack = vtypes.Ands(self.tdata.tvalid, self.tdata.tready)
fsm.If(ack)(
counter.dec()
)
done = counter == 0
fsm.If(done).goto_next()
# state 2
set_idle = self._set_flag(fsm)
self.seq.If(set_idle)(
self.write_idle(1)
)
fsm.goto_init()
def _synthesize_write_fsm_fifo_wide(self, fifo, fifo_datawidth):
""" axi.datawidth > fifo.datawidth """
if self.datawidth % fifo_datawidth != 0:
raise ValueError(
'axi.datawidth must be multiple number of fifo_datawidth')
pack_size = self.datawidth // fifo_datawidth
shamt = int(math.log(pack_size, 2))
res = vtypes.Mux(
vtypes.And(self.write_size, 2 ** shamt - 1) > 0, 1, 0)
dma_size = (self.write_size >> shamt) + res
actual_write_size = dma_size << shamt
op_id = self._get_write_op_id_fifo(fifo)
if op_id in self.write_ops:
""" already synthesized op """
return
if pack_size in self.write_wide_fsms:
""" new op """
self.write_ops.append(op_id)
fsm = self.write_narrow_fsms[pack_size]
counter = self.write_narrow_counters[pack_size]
wdata = self.write_narrow_wdatas[pack_size]
wvalid = self.write_narrow_wvalids[pack_size]
wlast = self.write_narrow_wlasts[pack_size]
pack_count = self.write_narrow_pack_counts[pack_size]
# state 0
fsm.set_index(0)
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
fsm.If(cond).goto_next()
# state 1
fsm.set_index(1)
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
fifo_ready = vtypes.Not(fifo.empty)
deq_cond = vtypes.Ands(cond, fifo_ready, counter > 0)
rdata, rvalid, _ = fifo.deq_rtl(cond=deq_cond)
rlast = counter <= 1
repeat_rvalid = self.m.TmpReg(prefix='repeat_rvalid', initval=0)
self.seq(repeat_rvalid(0))
self.seq.If(rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
self.seq.If(repeat_rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
cur_rvalid = vtypes.Ors(rvalid, repeat_rvalid)
stay_cond = self.write_op_sel == op_id
self.seq.If(write_ready)(
wvalid(0),
wlast(0)
)
self.seq.If(cur_rvalid, stay_cond)(
wdata(vtypes.Cat(rdata, wdata[fifo_datawidth:self.datawidth])),
wvalid(0),
wlast(0),
pack_count.inc()
)
self.seq.If(cur_rvalid, stay_cond, pack_count == pack_size - 1)(
wdata(vtypes.Cat(rdata, wdata[fifo_datawidth:self.datawidth])),
wvalid(1),
wlast(rlast),
pack_count(0)
)
return
""" new op and fsm """
fsm = FSM(self.m, '_'.join(['', self.name,
'write_wide', str(pack_size),
'fsm']),
self.clk, self.rst, as_module=self.fsm_as_module)
self.write_wide_fsms[pack_size] = fsm
self.write_ops.append(op_id)
# state 0
cond = vtypes.Ands(self.write_start, self.write_op_sel == op_id)
counter = self.m.Reg('_'.join(['', self.name,
'write_wide', str(pack_size), 'counter']),
self.addrwidth + 1, initval=0)
self.write_wide_counters[pack_size] = counter
fsm.If(self.write_start)(
counter(dma_size)
)
fsm.If(cond).goto_next()
# state 1
wdata = self.m.Reg('_'.join(['', self.name,
'write_wide', str(pack_size),
'wdata']),
self.datawidth, initval=0)
self.write_wide_wdatas[pack_size] = wdata
wvalid = self.m.Reg('_'.join(['', self.name,
'write_wide', str(pack_size),
'wvalid']),
initval=0)
self.write_wide_wvalids[pack_size] = wvalid
wlast = self.m.Reg('_'.join(['', self.name,
'write_wide', str(pack_size),
'wlast']),
initval=0)
self.write_wide_wlasts[pack_size] = wlast
pack_count = self.m.Reg('_'.join(['', self.name,
'write_wide', str(pack_size),
'pack_count']),
int(math.ceil(math.log(pack_size, 2))), initval=0)
self.write_wide_pack_counts[pack_size] = pack_count
cond = vtypes.Ands(fsm.here, self.write_op_sel == op_id)
write_ready = vtypes.Ors(self.tdata.tready, vtypes.Not(self.tdata.tvalid))
fifo_ready = vtypes.Not(fifo.empty)
deq_cond = vtypes.Ands(cond, fifo_ready, counter > 0)
rdata, rvalid, _ = fifo.deq_rtl(cond=deq_cond)
rlast = counter <= 1
repeat_rvalid = self.m.TmpReg(prefix='repeat_rvalid', initval=0)
self.seq(repeat_rvalid(0))
self.seq.If(rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
self.seq.If(repeat_rvalid, vtypes.Not(write_ready))(repeat_rvalid(1))
cur_rvalid = vtypes.Ors(rvalid, repeat_rvalid)
stay_cond = self.write_op_sel == op_id
self.seq.If(write_ready)(
wvalid(0),
wlast(0)
)
self.seq.If(cur_rvalid, stay_cond)(
wdata(vtypes.Cat(rdata, wdata[fifo_datawidth:self.datawidth])),
wvalid(0),
wlast(0),
pack_count.inc()
)
self.seq.If(cur_rvalid, stay_cond, pack_count == pack_size - 1)(
wdata(vtypes.Cat(rdata, wdata[fifo_datawidth:self.datawidth])),
wvalid(1),
wlast(rlast),
pack_count(0)
)
_ = self.write_data(wdata, wlast, cond=wvalid)
ack = vtypes.Ands(self.tdata.tvalid, self.tdata.tready)
fsm.If(ack)(
counter.dec()
)
done = counter == 0
fsm.If(done).goto_next()
# state 2
set_idle = self._set_flag(fsm)
self.seq.If(set_idle)(
self.write_idle(1)
)
fsm.goto_init()
| 35.257249 | 98 | 0.540689 | 5,758 | 47,421 | 4.170024 | 0.033692 | 0.088085 | 0.022906 | 0.026904 | 0.901628 | 0.877848 | 0.8539 | 0.819166 | 0.801674 | 0.788389 | 0 | 0.009229 | 0.34877 | 47,421 | 1,344 | 99 | 35.283482 | 0.768279 | 0.013117 | 0 | 0.735086 | 0 | 0 | 0.033179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025278 | false | 0 | 0.012133 | 0 | 0.064712 | 0.001011 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1afe58a52768dc716e2aa363e4f4e671e009be4a | 4,257 | py | Python | test_gillcup/test_animations.py | encukou/gillcup | f824741fdbe06e4eadb8ade690a011ca40419c6a | [
"BSD-3-Clause"
] | 4 | 2015-10-25T19:05:32.000Z | 2018-05-10T18:00:43.000Z | test_gillcup/test_animations.py | encukou/gillcup | f824741fdbe06e4eadb8ade690a011ca40419c6a | [
"BSD-3-Clause"
] | null | null | null | test_gillcup/test_animations.py | encukou/gillcup | f824741fdbe06e4eadb8ade690a011ca40419c6a | [
"BSD-3-Clause"
] | null | null | null | import math
import pytest
from gillcup.animations import anim
τ = math.pi * 2
ε = 0.00000001
def test_anim_basic(clock):
animation = anim(1, 3, 2, clock)
assert animation == 1
clock.advance_sync(1)
assert animation == 2
clock.advance_sync(1)
assert animation == 3
clock.advance_sync(1)
assert animation == 3
def test_anim_basic_vector(clock):
animation = anim((1, 2), (3, 4), 2, clock)
assert all(animation == (1, 2))
clock.advance_sync(1)
assert all(animation == (2, 3))
clock.advance_sync(1)
assert all(animation == (3, 4))
def test_anim_delay(clock):
animation = anim(1, 3, 2, clock, delay=1)
assert animation == 1
clock.advance_sync(1)
assert animation == 1
clock.advance_sync(1)
assert animation == 2
clock.advance_sync(1)
assert animation == 3
clock.advance_sync(1)
assert animation == 3
def test_anim_infinite(clock):
animation = anim(1, 3, 2, clock, infinite=True)
assert animation == 1
clock.advance_sync(1)
assert animation == 2
clock.advance_sync(1)
assert animation == 3
clock.advance_sync(1)
assert animation == 4
clock.advance_sync(1)
assert animation == 5
def test_anim_delay_infinite(clock):
animation = anim(1, 3, 2, clock, delay=1, infinite=True)
assert animation == 0
clock.advance_sync(1)
assert animation == 1
clock.advance_sync(1)
assert animation == 2
clock.advance_sync(1)
assert animation == 3
clock.advance_sync(1)
assert animation == 4
clock.advance_sync(1)
assert animation == 5
def test_anim_negative_duration(clock):
animation = anim(1, 3, -2, clock, delay=2)
assert animation == 3
clock.advance_sync(1)
assert animation == 2
clock.advance_sync(1)
assert animation == 1
clock.advance_sync(1)
assert animation == 1
def test_anim_negative_duration_past(clock):
animation = anim(1, 3, -2, clock)
assert animation == 1
clock.advance_sync(1)
assert animation == 1
def test_anim_heaviside(clock):
animation = anim(1, 3, 0, clock, delay=1)
assert animation == 1
clock.advance_sync(1)
assert animation == 3
clock.advance_sync(1)
assert animation == 3
def test_anim_heaviside_past(clock):
animation = anim(1, 3, 0, clock, delay=-1)
assert animation == 3
clock.advance_sync(1)
assert animation == 3
def test_anim_heaviside_infinite(clock):
with pytest.raises(ValueError):
anim(1, 3, 0, clock, infinite=True)
@pytest.mark.parametrize('n', [0, 1, 0.5, 2, -1, 100])
def test_anim_strength(clock, n):
animation = anim(1, 3, 2, clock, strength=n)
assert animation == 1
clock.advance_sync(1)
assert animation == 1 + n
clock.advance_sync(1)
assert animation == 1 + n * 2
def test_easing_name(clock):
animation = anim(1, 3, 2, clock, easing='quad')
assert animation == 1
clock.advance_sync(1)
assert animation == 1.5
clock.advance_sync(1)
assert animation == 3
clock.advance_sync(1)
assert animation == 3
def test_easing_func_infinite(clock):
animation = anim(1, 3, 2, clock, easing=math.sin, infinite=True)
assert abs(float(animation) - 1) < ε
clock.advance_sync(τ / 4)
assert abs(float(animation) - (1 + 2 / math.sqrt(2))) < ε
clock.advance_sync(τ / 4)
assert abs(float(animation) - 3) < ε
clock.advance_sync(τ / 4)
assert abs(float(animation) - (1 + 2 / math.sqrt(2))) < ε
clock.advance_sync(τ / 4)
assert abs(float(animation) - 1) < ε
clock.advance_sync(τ / 4)
assert abs(float(animation) - (1 - 2 / math.sqrt(2))) < ε
clock.advance_sync(τ / 4)
assert abs(float(animation) - -1) < ε
clock.advance_sync(τ / 4)
assert abs(float(animation) - (1 - 2 / math.sqrt(2))) < ε
clock.advance_sync(τ / 4)
assert abs(float(animation) - 1) < ε
def test_done(clock):
lst = []
animation = anim(1, 3, 2, clock)
animation.done.add_done_callback(lambda fut: lst.append('done'))
assert lst == []
clock.advance_sync(1)
assert lst == []
clock.advance_sync(1)
assert lst == ['done']
clock.advance_sync(1)
assert lst == ['done']
clock.advance_sync(1)
assert lst == ['done']
| 25.644578 | 68 | 0.64435 | 622 | 4,257 | 4.282958 | 0.09164 | 0.189189 | 0.252252 | 0.216967 | 0.828453 | 0.811937 | 0.792417 | 0.766141 | 0.685435 | 0.659535 | 0 | 0.0526 | 0.22739 | 4,257 | 165 | 69 | 25.8 | 0.757373 | 0 | 0 | 0.671642 | 0 | 0 | 0.004933 | 0 | 0 | 0 | 0 | 0 | 0.410448 | 1 | 0.104478 | false | 0 | 0.022388 | 0 | 0.126866 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
210ed6eb18670a3c0798667d78f573a187acdbfb | 34,062 | py | Python | octopus_deploy_swagger_client/octopus_deploy_client/server_status_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/octopus_deploy_client/server_status_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/octopus_deploy_client/server_status_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from octopus_deploy_swagger_client.api_client import ApiClient
class ServerStatusApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def custom_action_response_descriptor_octopus_server_web_api_actions_status_extension_stats_responder(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_extension_stats_responder # noqa: E501
Provides statistics for the loaded server extensions. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_extension_stats_responder(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: list[ExtensionsInfoResource]
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_action_response_descriptor_octopus_server_web_api_actions_status_extension_stats_responder_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.custom_action_response_descriptor_octopus_server_web_api_actions_status_extension_stats_responder_with_http_info(**kwargs) # noqa: E501
return data
def custom_action_response_descriptor_octopus_server_web_api_actions_status_extension_stats_responder_with_http_info(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_extension_stats_responder # noqa: E501
Provides statistics for the loaded server extensions. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_extension_stats_responder_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: list[ExtensionsInfoResource]
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_action_response_descriptor_octopus_server_web_api_actions_status_extension_stats_responder" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/serverstatus/extensions', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='list[ExtensionsInfoResource]', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_action_response_descriptor_octopus_server_web_api_actions_status_recent_logs_responder(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_recent_logs_responder # noqa: E501
Retrieves the most recent high-priority log messages from this execution of the Octopus Server process. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_recent_logs_responder(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_action_response_descriptor_octopus_server_web_api_actions_status_recent_logs_responder_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.custom_action_response_descriptor_octopus_server_web_api_actions_status_recent_logs_responder_with_http_info(**kwargs) # noqa: E501
return data
def custom_action_response_descriptor_octopus_server_web_api_actions_status_recent_logs_responder_with_http_info(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_recent_logs_responder # noqa: E501
Retrieves the most recent high-priority log messages from this execution of the Octopus Server process. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_recent_logs_responder_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_action_response_descriptor_octopus_server_web_api_actions_status_recent_logs_responder" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/serverstatus/logs', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_health_responder(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_health_responder # noqa: E501
Provides a super simple interface perfect for checking the general health of your entire Octopus Server cluster. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_health_responder(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: ServerStatusHealthResource
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_health_responder_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_health_responder_with_http_info(**kwargs) # noqa: E501
return data
def custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_health_responder_with_http_info(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_health_responder # noqa: E501
Provides a super simple interface perfect for checking the general health of your entire Octopus Server cluster. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_health_responder_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: ServerStatusHealthResource
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_health_responder" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = [] # noqa: E501
return self.api_client.call_api(
'/api/serverstatus/health', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ServerStatusHealthResource', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_responder(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_responder # noqa: E501
Shows information about the status of the Octopus Server. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_responder(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_responder_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_responder_with_http_info(**kwargs) # noqa: E501
return data
def custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_responder_with_http_info(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_responder # noqa: E501
Shows information about the status of the Octopus Server. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_responder_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_action_response_descriptor_octopus_server_web_api_actions_status_server_status_responder" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/serverstatus', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_action_response_descriptor_octopus_server_web_api_actions_status_system_garbage_collect_responder(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_system_garbage_collect_responder # noqa: E501
Forces a GC collect. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_garbage_collect_responder(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_garbage_collect_responder_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_garbage_collect_responder_with_http_info(**kwargs) # noqa: E501
return data
def custom_action_response_descriptor_octopus_server_web_api_actions_status_system_garbage_collect_responder_with_http_info(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_system_garbage_collect_responder # noqa: E501
Forces a GC collect. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_garbage_collect_responder_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_action_response_descriptor_octopus_server_web_api_actions_status_system_garbage_collect_responder" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/serverstatus/gc-collect', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_action_response_descriptor_octopus_server_web_api_actions_status_system_info_responder(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_system_info_responder # noqa: E501
Provides information about the Octopus Server process and the machine on which it is running. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_info_responder(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_info_responder_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_info_responder_with_http_info(**kwargs) # noqa: E501
return data
def custom_action_response_descriptor_octopus_server_web_api_actions_status_system_info_responder_with_http_info(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_system_info_responder # noqa: E501
Provides information about the Octopus Server process and the machine on which it is running. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_info_responder_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_action_response_descriptor_octopus_server_web_api_actions_status_system_info_responder" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/serverstatus/system-info', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_action_response_descriptor_octopus_server_web_api_actions_status_system_report_responder(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_system_report_responder # noqa: E501
Creates a .zip archive containing an aggregate of the other system information APIs. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_report_responder(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_report_responder_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_report_responder_with_http_info(**kwargs) # noqa: E501
return data
def custom_action_response_descriptor_octopus_server_web_api_actions_status_system_report_responder_with_http_info(self, **kwargs): # noqa: E501
"""custom_action_response_descriptor_octopus_server_web_api_actions_status_system_report_responder # noqa: E501
Creates a .zip archive containing an aggregate of the other system information APIs. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_action_response_descriptor_octopus_server_web_api_actions_status_system_report_responder_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_action_response_descriptor_octopus_server_web_api_actions_status_system_report_responder" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/serverstatus/system-report', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def custom_query_response_descriptor_octopus_server_web_api_actions_list_server_timezones_responder(self, **kwargs): # noqa: E501
"""custom_query_response_descriptor_octopus_server_web_api_actions_list_server_timezones_responder # noqa: E501
Lists timezones supported by the server. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_query_response_descriptor_octopus_server_web_api_actions_list_server_timezones_responder(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: list[ServerTimezoneResource]
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.custom_query_response_descriptor_octopus_server_web_api_actions_list_server_timezones_responder_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.custom_query_response_descriptor_octopus_server_web_api_actions_list_server_timezones_responder_with_http_info(**kwargs) # noqa: E501
return data
def custom_query_response_descriptor_octopus_server_web_api_actions_list_server_timezones_responder_with_http_info(self, **kwargs): # noqa: E501
"""custom_query_response_descriptor_octopus_server_web_api_actions_list_server_timezones_responder # noqa: E501
Lists timezones supported by the server. NOTE: This definition is not complete. We will be adding more detail in future releases of Octopus. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.custom_query_response_descriptor_octopus_server_web_api_actions_list_server_timezones_responder_with_http_info(async_req=True)
>>> result = thread.get()
:param async_req bool
:return: list[ServerTimezoneResource]
If the method is called asynchronously,
returns the request thread.
"""
all_params = [] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method custom_query_response_descriptor_octopus_server_web_api_actions_list_server_timezones_responder" % key
)
params[key] = val
del params['kwargs']
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['APIKeyHeader', 'APIKeyQuery', 'NugetApiKeyHeader'] # noqa: E501
return self.api_client.call_api(
'/api/serverstatus/timezones', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='list[ServerTimezoneResource]', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 46.596443 | 235 | 0.682021 | 4,013 | 34,062 | 5.397209 | 0.053327 | 0.035828 | 0.083106 | 0.103052 | 0.970451 | 0.970451 | 0.970451 | 0.965188 | 0.965188 | 0.965188 | 0 | 0.013088 | 0.248547 | 34,062 | 730 | 236 | 46.660274 | 0.833099 | 0.383301 | 0 | 0.820779 | 1 | 0 | 0.168957 | 0.080658 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044156 | false | 0 | 0.01039 | 0 | 0.119481 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
213d24f428b13423a96156f5e48fd2f066e995e9 | 184,847 | py | Python | mysite/patterns/78.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 19 | 2016-06-17T23:36:27.000Z | 2020-01-13T16:41:55.000Z | mysite/patterns/78.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 13 | 2016-06-06T12:57:05.000Z | 2019-02-05T02:21:00.000Z | patterns/78.py | OmnesRes/GRIMMER | 173c99ebdb6a9edb1242d24a791d0c5d778ff643 | [
"MIT"
] | 7 | 2017-03-28T18:12:22.000Z | 2021-06-16T09:32:59.000Z | pattern_zero=[0.0, 0.01265614727, 0.02498356345, 0.02564102564, 0.03698224852, 0.03829717291, 0.0486522025, 0.05062458909, 0.05128205128, 0.05999342538, 0.06262327416, 0.06393819855, 0.07100591716, 0.07429322814, 0.07626561473, 0.07692307692, 0.08168967784, 0.08563445102, 0.0882642998, 0.0895792242, 0.09204470743, 0.0966469428, 0.09993425378, 0.10190664037, 0.10207100592, 0.10256410256, 0.10733070349, 0.11127547666, 0.11176857331, 0.11390532544, 0.11522024984, 0.11768573307, 0.1211374096, 0.12228796844, 0.12557527942, 0.12754766601, 0.12771203156, 0.12820512821, 0.13017751479, 0.13297172913, 0.1369165023, 0.13740959895, 0.13888888889, 0.13954635109, 0.14086127548, 0.14332675871, 0.14677843524, 0.14727153189, 0.14792899408, 0.15121630506, 0.15318869165, 0.1533530572, 0.15384615385, 0.15532544379, 0.15581854043, 0.15861275477, 0.16255752794, 0.16305062459, 0.16452991453, 0.16518737673, 0.16650230112, 0.16896778435, 0.17044707429, 0.17241946088, 0.17291255753, 0.17357001972, 0.1768573307, 0.1775147929, 0.17882971729, 0.17899408284, 0.17948717949, 0.18096646943, 0.18145956608, 0.18425378041, 0.18819855358, 0.18869165023, 0.19017094017, 0.19066403682, 0.19082840237, 0.19214332676, 0.19460880999, 0.19608809993, 0.19674556213, 0.19806048652, 0.19855358317, 0.19921104537, 0.20249835635, 0.20315581854, 0.20447074293, 0.20463510848, 0.20512820513, 0.20660749507, 0.20710059172, 0.20792241946, 0.20989480605, 0.21301775148, 0.21383957922, 0.21433267587, 0.21581196581, 0.21630506246, 0.21646942801, 0.2177843524, 0.22024983563, 0.22172912558, 0.22222222222, 0.22238658777, 0.22370151216, 0.22419460881, 0.22485207101, 0.22633136095, 0.22813938199, 0.22879684418, 0.23011176857, 0.23027613412, 0.23076923077, 0.23224852071, 0.23274161736, 0.2335634451, 0.23553583169, 0.23668639053, 0.23865877712, 0.23948060487, 0.23997370151, 0.24145299145, 0.2419460881, 0.24211045365, 0.24342537804, 0.24408284024, 0.24589086128, 0.24737015122, 0.24786324786, 0.24802761341, 0.24852071006, 0.2493425378, 0.24983563445, 0.25, 0.25049309665, 0.25197238659, 0.25378040763, 0.25443786982, 0.25575279421, 0.25591715976, 0.25641025641, 0.25788954635, 0.258382643, 0.25920447074, 0.26117685733, 0.26232741617, 0.26429980276, 0.26512163051, 0.26561472715, 0.26709401709, 0.26758711374, 0.26775147929, 0.26906640368, 0.26972386588, 0.27153188692, 0.27301117686, 0.2735042735, 0.27366863905, 0.2741617357, 0.27498356345, 0.27547666009, 0.27564102564, 0.27613412229, 0.27761341223, 0.27942143327, 0.28007889546, 0.28139381986, 0.2815581854, 0.28205128205, 0.28353057199, 0.28402366864, 0.28484549638, 0.28681788297, 0.28796844182, 0.2899408284, 0.29076265615, 0.29125575279, 0.29273504274, 0.29322813938, 0.29339250493, 0.29470742932, 0.29536489152, 0.29717291256, 0.2986522025, 0.29914529915, 0.29930966469, 0.29980276134, 0.30062458909, 0.30111768573, 0.30128205128, 0.30177514793, 0.30325443787, 0.30506245891, 0.30571992111, 0.3070348455, 0.30719921105, 0.30769230769, 0.30917159763, 0.30966469428, 0.31048652203, 0.31245890861, 0.31360946746, 0.31558185404, 0.31640368179, 0.31689677844, 0.31837606838, 0.31886916502, 0.31903353057, 0.32034845496, 0.32100591716, 0.3228139382, 0.32429322814, 0.32478632479, 0.32495069034, 0.32544378698, 0.32626561473, 0.32675871137, 0.32692307692, 0.32741617357, 0.32889546351, 0.33070348455, 0.33136094675, 0.33267587114, 0.33284023669, 0.33333333333, 0.33481262327, 0.33530571992, 0.33612754767, 0.33809993425, 0.3392504931, 0.34122287968, 0.34204470743, 0.34253780408, 0.34401709402, 0.34451019066, 0.34467455621, 0.34598948061, 0.3466469428, 0.34845496384, 0.34993425378, 0.35042735043, 0.35059171598, 0.35108481262, 0.35190664037, 0.35239973702, 0.35256410256, 0.35305719921, 0.35453648915, 0.35634451019, 0.35700197239, 0.35831689678, 0.35848126233, 0.35897435897, 0.36045364892, 0.36094674556, 0.36176857331, 0.3637409599, 0.36489151874, 0.36686390533, 0.36768573307, 0.36817882972, 0.36965811966, 0.37015121631, 0.37031558185, 0.37163050625, 0.37228796844, 0.37409598948, 0.37557527942, 0.37606837607, 0.37623274162, 0.37672583826, 0.37754766601, 0.37804076266, 0.37820512821, 0.37869822485, 0.38017751479, 0.38198553583, 0.38264299803, 0.38395792242, 0.38412228797, 0.38461538462, 0.38609467456, 0.3865877712, 0.38740959895, 0.38938198554, 0.39053254438, 0.39250493097, 0.39332675871, 0.39381985536, 0.3952991453, 0.39579224195, 0.3959566075, 0.39727153189, 0.39792899408, 0.39973701512, 0.40121630506, 0.40170940171, 0.40187376726, 0.40236686391, 0.40318869165, 0.4036817883, 0.40384615385, 0.40433925049, 0.40581854043, 0.40762656147, 0.40828402367, 0.40959894806, 0.40976331361, 0.41025641026, 0.4117357002, 0.41222879684, 0.41305062459, 0.41502301118, 0.41617357002, 0.41814595661, 0.41896778435, 0.419460881, 0.42094017094, 0.42143326759, 0.42159763314, 0.42291255753, 0.42357001972, 0.42537804076, 0.4268573307, 0.42735042735, 0.4275147929, 0.42800788955, 0.42882971729, 0.42932281394, 0.42948717949, 0.42998027613, 0.43145956608, 0.43326758711, 0.43392504931, 0.4352399737, 0.43540433925, 0.4358974359, 0.43737672584, 0.43786982249, 0.43869165023, 0.44066403682, 0.44181459566, 0.44378698225, 0.44460880999, 0.44510190664, 0.44658119658, 0.44707429323, 0.44723865878, 0.44855358317, 0.44921104537, 0.4510190664, 0.45249835635, 0.45299145299, 0.45315581854, 0.45364891519, 0.45447074293, 0.45496383958, 0.45512820513, 0.45562130178, 0.45710059172, 0.45890861276, 0.45956607495, 0.46088099934, 0.46104536489, 0.46153846154, 0.46301775148, 0.46351084813, 0.46433267587, 0.46630506246, 0.4674556213, 0.46942800789, 0.47024983563, 0.47074293228, 0.47222222222, 0.47271531887, 0.47287968442, 0.47419460881, 0.47485207101, 0.47666009205, 0.47813938199, 0.47863247863, 0.47879684418, 0.47928994083, 0.48011176857, 0.48060486522, 0.48076923077, 0.48126232742, 0.48274161736, 0.4845496384, 0.48520710059, 0.48652202498, 0.48668639053, 0.48717948718, 0.48865877712, 0.48915187377, 0.48997370151, 0.4919460881, 0.49309664694, 0.49506903353, 0.49589086128, 0.49638395792, 0.49786324786, 0.49835634451, 0.49852071006, 0.49983563445, 0.50049309665, 0.50230111769, 0.50378040763, 0.50427350427, 0.50443786982, 0.50493096647, 0.50575279421, 0.50624589086, 0.50641025641, 0.50690335306, 0.508382643, 0.51019066404, 0.51084812623, 0.51216305063, 0.51232741617, 0.51282051282, 0.51429980276, 0.51479289941, 0.51561472715, 0.51758711374, 0.51873767258, 0.52071005917, 0.52153188692, 0.52202498356, 0.5235042735, 0.52399737015, 0.5241617357, 0.52547666009, 0.52613412229, 0.52794214333, 0.52942143327, 0.52991452992, 0.53007889546, 0.53057199211, 0.53139381986, 0.5318869165, 0.53205128205, 0.5325443787, 0.53402366864, 0.53583168968, 0.53648915187, 0.53780407627, 0.53796844182, 0.53846153846, 0.5399408284, 0.54043392505, 0.54125575279, 0.54322813938, 0.54437869823, 0.54635108481, 0.54717291256, 0.5476660092, 0.54914529915, 0.54963839579, 0.54980276134, 0.55111768573, 0.55177514793, 0.55358316897, 0.55506245891, 0.55555555556, 0.55571992111, 0.55621301775, 0.5570348455, 0.55752794214, 0.55769230769, 0.55818540434, 0.55966469428, 0.56147271532, 0.56213017752, 0.56344510191, 0.56360946746, 0.5641025641, 0.56558185404, 0.56607495069, 0.56689677844, 0.56886916502, 0.57001972387, 0.57199211045, 0.5728139382, 0.57330703485, 0.57478632479, 0.57527942143, 0.57544378698, 0.57675871137, 0.57741617357, 0.57922419461, 0.58070348455, 0.5811965812, 0.58136094675, 0.58185404339, 0.58267587114, 0.58316896778, 0.58333333333, 0.58382642998, 0.58530571992, 0.58711374096, 0.58777120316, 0.58908612755, 0.5892504931, 0.58974358974, 0.59122287968, 0.59171597633, 0.59253780408, 0.59451019066, 0.59566074951, 0.5976331361, 0.59845496384, 0.59894806049, 0.60042735043, 0.60092044707, 0.60108481262, 0.60239973702, 0.60305719921, 0.60486522025, 0.60634451019, 0.60683760684, 0.60700197239, 0.60749506903, 0.60831689678, 0.60880999343, 0.60897435897, 0.60946745562, 0.61094674556, 0.6127547666, 0.6134122288, 0.61472715319, 0.61489151874, 0.61538461539, 0.61686390533, 0.61735700197, 0.61817882972, 0.62015121631, 0.62130177515, 0.62327416174, 0.62409598948, 0.62458908613, 0.62606837607, 0.62656147272, 0.62672583826, 0.62804076266, 0.62869822485, 0.63050624589, 0.63198553583, 0.63247863248, 0.63264299803, 0.63313609468, 0.63395792242, 0.63445101907, 0.63461538462, 0.63510848126, 0.6365877712, 0.63839579224, 0.63905325444, 0.64036817883, 0.64053254438, 0.64102564103, 0.64250493097, 0.64299802761, 0.64381985536, 0.64579224195, 0.64694280079, 0.64891518738, 0.64973701512, 0.65023011177, 0.65170940171, 0.65220249836, 0.65236686391, 0.6536817883, 0.65433925049, 0.65614727153, 0.65762656147, 0.65811965812, 0.65828402367, 0.65877712032, 0.65959894806, 0.66009204471, 0.66025641026, 0.6607495069, 0.66222879684, 0.66403681788, 0.66469428008, 0.66600920447, 0.66617357002, 0.66666666667, 0.66814595661, 0.66863905325, 0.669460881, 0.67143326759, 0.67258382643, 0.67455621302, 0.67537804076, 0.67587113741, 0.67735042735, 0.677843524, 0.67800788955, 0.67932281394, 0.67998027613, 0.68178829717, 0.68326758711, 0.68376068376, 0.68392504931, 0.68441814596, 0.6852399737, 0.68573307035, 0.6858974359, 0.68639053254, 0.68786982249, 0.68967784352, 0.69033530572, 0.69165023011, 0.69181459566, 0.69230769231, 0.69378698225, 0.6942800789, 0.69510190664, 0.69707429323, 0.69822485207, 0.70019723866, 0.7010190664, 0.70151216305, 0.70299145299, 0.70348454964, 0.70364891519, 0.70496383958, 0.70562130178, 0.70742932281, 0.70890861276, 0.7094017094, 0.70956607495, 0.7100591716, 0.71088099934, 0.71137409599, 0.71153846154, 0.71203155819, 0.71351084813, 0.71531886917, 0.71597633136, 0.71729125575, 0.7174556213, 0.71794871795, 0.71942800789, 0.71992110454, 0.72074293228, 0.72271531887, 0.72386587771, 0.7258382643, 0.72666009205, 0.72715318869, 0.72863247863, 0.72912557528, 0.72928994083, 0.73060486522, 0.73126232742, 0.73307034846, 0.7345496384, 0.73504273504, 0.73520710059, 0.73570019724, 0.73652202498, 0.73701512163, 0.73717948718, 0.73767258383, 0.73915187377, 0.74095989481, 0.741617357, 0.74293228139, 0.74309664694, 0.74358974359, 0.74506903353, 0.74556213018, 0.74638395792, 0.74835634451, 0.74950690335, 0.75147928994, 0.75230111769, 0.75279421433, 0.75427350427, 0.75476660092, 0.75493096647, 0.75624589086, 0.75690335306, 0.7587113741, 0.76019066404, 0.76068376068, 0.76084812623, 0.76134122288, 0.76216305063, 0.76265614727, 0.76282051282, 0.76331360947, 0.76479289941, 0.76660092045, 0.76725838264, 0.76857330704, 0.76873767258, 0.76923076923, 0.77071005917, 0.77120315582, 0.77202498356, 0.77399737015, 0.77514792899, 0.77712031558, 0.77794214333, 0.77843523997, 0.77991452992, 0.78040762656, 0.78057199211, 0.7818869165, 0.7825443787, 0.78435239974, 0.78583168968, 0.78632478633, 0.78648915187, 0.78698224852, 0.78780407627, 0.78829717291, 0.78846153846, 0.78895463511, 0.79043392505, 0.79224194609, 0.79289940828, 0.79421433268, 0.79437869823, 0.79487179487, 0.79635108481, 0.79684418146, 0.7976660092, 0.79963839579, 0.80078895464, 0.80276134122, 0.80358316897, 0.80407626562, 0.80555555556, 0.8060486522, 0.80621301775, 0.80752794214, 0.80818540434, 0.80999342538, 0.81147271532, 0.81196581197, 0.81213017752, 0.81262327416, 0.81344510191, 0.81393819855, 0.8141025641, 0.81459566075, 0.81607495069, 0.81788297173, 0.81854043393, 0.81985535832, 0.82001972387, 0.82051282051, 0.82199211045, 0.8224852071, 0.82330703485, 0.82527942143, 0.82642998028, 0.82840236686, 0.82922419461, 0.82971729126, 0.8311965812, 0.83168967784, 0.83185404339, 0.83316896778, 0.83382642998, 0.83563445102, 0.83711374096, 0.83760683761, 0.83777120316, 0.8382642998, 0.83908612755, 0.8395792242, 0.83974358974, 0.84023668639, 0.84171597633, 0.84352399737, 0.84418145957, 0.84549638396, 0.84566074951, 0.84615384615, 0.8476331361, 0.84812623274, 0.84894806049, 0.85092044707, 0.85207100592, 0.85404339251, 0.85486522025, 0.8553583169, 0.85683760684, 0.85733070349, 0.85749506903, 0.85880999343, 0.85946745562, 0.86127547666, 0.8627547666, 0.86324786325, 0.8634122288, 0.86390532544, 0.86472715319, 0.86522024984, 0.86538461539, 0.86587771203, 0.86735700197, 0.86916502301, 0.86982248521, 0.8711374096, 0.87130177515, 0.8717948718, 0.87327416174, 0.87376725838, 0.87458908613, 0.87656147272, 0.87771203156, 0.87968441815, 0.88050624589, 0.88099934254, 0.88247863248, 0.88297172913, 0.88313609468, 0.88445101907, 0.88510848126, 0.8869165023, 0.88839579224, 0.88888888889, 0.88905325444, 0.88954635109, 0.89036817883, 0.89086127548, 0.89102564103, 0.89151873767, 0.89299802761, 0.89480604865, 0.89546351085, 0.89677843524, 0.89694280079, 0.89743589744, 0.89891518738, 0.89940828402, 0.90023011177, 0.90220249836, 0.9033530572, 0.90532544379, 0.90614727153, 0.90664036818, 0.90811965812, 0.90861275477, 0.90877712032, 0.91009204471, 0.9107495069, 0.91255752794, 0.91403681788, 0.91452991453, 0.91469428008, 0.91518737673, 0.91600920447, 0.91650230112, 0.91666666667, 0.91715976331, 0.91863905325, 0.92044707429, 0.92110453649, 0.92241946088, 0.92258382643, 0.92307692308, 0.92455621302, 0.92504930967, 0.92587113741, 0.927843524, 0.92899408284, 0.93096646943, 0.93178829717, 0.93228139382, 0.93376068376, 0.93425378041, 0.93441814596, 0.93573307035, 0.93639053254, 0.93819855358, 0.93967784352, 0.94017094017, 0.94033530572, 0.94082840237, 0.94165023011, 0.94214332676, 0.94230769231, 0.94280078896, 0.9442800789, 0.94608809993, 0.94674556213, 0.94806048652, 0.94822485207, 0.94871794872, 0.95019723866, 0.95069033531, 0.95151216305, 0.95348454964, 0.95463510848, 0.95660749507, 0.95742932281, 0.95792241946, 0.9594017094, 0.95989480605, 0.9600591716, 0.96137409599, 0.96203155819, 0.96383957922, 0.96531886917, 0.96581196581, 0.96597633136, 0.96646942801, 0.96729125575, 0.9677843524, 0.96794871795, 0.9684418146, 0.96992110454, 0.97172912558, 0.97238658777, 0.97370151216, 0.97386587771, 0.97435897436, 0.9758382643, 0.97633136095, 0.97715318869, 0.97912557528, 0.98027613412, 0.98224852071, 0.98307034846, 0.9835634451, 0.98504273504, 0.98553583169, 0.98570019724, 0.98701512163, 0.98767258383, 0.98948060487, 0.99095989481, 0.99145299145, 0.991617357, 0.99211045365, 0.99293228139, 0.99342537804, 0.99358974359, 0.99408284024, 0.99556213018, 0.99737015122, 0.99802761341, 0.9993425378, 0.99950690335]
pattern_odd=[0.0, 0.00147928994, 0.00197238659, 0.00279421433, 0.00476660092, 0.00591715976, 0.00788954635, 0.0087113741, 0.00920447074, 0.01068376068, 0.01117685733, 0.01134122288, 0.01265614727, 0.01331360947, 0.01512163051, 0.01660092045, 0.01709401709, 0.01725838264, 0.01775147929, 0.01857330704, 0.01906640368, 0.01923076923, 0.01972386588, 0.02120315582, 0.02301117686, 0.02366863905, 0.02498356345, 0.02514792899, 0.02564102564, 0.02712031558, 0.02761341223, 0.02843523997, 0.03040762656, 0.0315581854, 0.03353057199, 0.03435239974, 0.03484549638, 0.03632478633, 0.03681788297, 0.03698224852, 0.03829717291, 0.03895463511, 0.04076265615, 0.04224194609, 0.04273504274, 0.04289940828, 0.04339250493, 0.04421433268, 0.04470742932, 0.04487179487, 0.04536489152, 0.04684418146, 0.0486522025, 0.04930966469, 0.05062458909, 0.05078895464, 0.05128205128, 0.05276134122, 0.05325443787, 0.05407626562, 0.0560486522, 0.05719921105, 0.05917159763, 0.05999342538, 0.06048652203, 0.06196581197, 0.06245890861, 0.06262327416, 0.06393819855, 0.06459566075, 0.06640368179, 0.06788297173, 0.06837606838, 0.06854043393, 0.06903353057, 0.06985535832, 0.07034845496, 0.07051282051, 0.07100591716, 0.0724852071, 0.07429322814, 0.07495069034, 0.07626561473, 0.07642998028, 0.07692307692, 0.07840236686, 0.07889546351, 0.07971729126, 0.08168967784, 0.08284023669, 0.08481262327, 0.08563445102, 0.08612754767, 0.08760683761, 0.08809993425, 0.0882642998, 0.0895792242, 0.09023668639, 0.09204470743, 0.09352399737, 0.09401709402, 0.09418145957, 0.09467455621, 0.09549638396, 0.09598948061, 0.09615384615, 0.0966469428, 0.09812623274, 0.09993425378, 0.10059171598, 0.10190664037, 0.10207100592, 0.10256410256, 0.10404339251, 0.10453648915, 0.1053583169, 0.10733070349, 0.10848126233, 0.11045364892, 0.11127547666, 0.11176857331, 0.11324786325, 0.1137409599, 0.11390532544, 0.11522024984, 0.11587771203, 0.11768573307, 0.11916502301, 0.11965811966, 0.11982248521, 0.12031558185, 0.1211374096, 0.12163050625, 0.1217948718, 0.12228796844, 0.12376725838, 0.12557527942, 0.12623274162, 0.12754766601, 0.12771203156, 0.12820512821, 0.12968441815, 0.13017751479, 0.13099934254, 0.13297172913, 0.13412228797, 0.13609467456, 0.1369165023, 0.13740959895, 0.13888888889, 0.13938198554, 0.13954635109, 0.14086127548, 0.14151873767, 0.14332675871, 0.14480604865, 0.1452991453, 0.14546351085, 0.1459566075, 0.14677843524, 0.14727153189, 0.14743589744, 0.14792899408, 0.14940828402, 0.15121630506, 0.15187376726, 0.15318869165, 0.1533530572, 0.15384615385, 0.15532544379, 0.15581854043, 0.15664036818, 0.15861275477, 0.15976331361, 0.1617357002, 0.16255752794, 0.16305062459, 0.16452991453, 0.16502301118, 0.16518737673, 0.16650230112, 0.16715976331, 0.16896778435, 0.17044707429, 0.17094017094, 0.17110453649, 0.17159763314, 0.17241946088, 0.17291255753, 0.17307692308, 0.17357001972, 0.17504930967, 0.1768573307, 0.1775147929, 0.17882971729, 0.17899408284, 0.17948717949, 0.18096646943, 0.18145956608, 0.18228139382, 0.18425378041, 0.18540433925, 0.18737672584, 0.18819855358, 0.18869165023, 0.19017094017, 0.19066403682, 0.19082840237, 0.19214332676, 0.19280078896, 0.19460880999, 0.19608809993, 0.19658119658, 0.19674556213, 0.19723865878, 0.19806048652, 0.19855358317, 0.19871794872, 0.19921104537, 0.20069033531, 0.20249835635, 0.20315581854, 0.20447074293, 0.20463510848, 0.20512820513, 0.20660749507, 0.20710059172, 0.20792241946, 0.20989480605, 0.21104536489, 0.21301775148, 0.21383957922, 0.21433267587, 0.21581196581, 0.21630506246, 0.21646942801, 0.2177843524, 0.2184418146, 0.22024983563, 0.22172912558, 0.22222222222, 0.22238658777, 0.22287968442, 0.22370151216, 0.22419460881, 0.22435897436, 0.22485207101, 0.22633136095, 0.22813938199, 0.22879684418, 0.23011176857, 0.23027613412, 0.23076923077, 0.23224852071, 0.23274161736, 0.2335634451, 0.23553583169, 0.23668639053, 0.23865877712, 0.23948060487, 0.23997370151, 0.24145299145, 0.2419460881, 0.24211045365, 0.24342537804, 0.24408284024, 0.24589086128, 0.24737015122, 0.24786324786, 0.24802761341, 0.24852071006, 0.2493425378, 0.24983563445, 0.25, 0.25049309665, 0.25197238659, 0.25378040763, 0.25443786982, 0.25575279421, 0.25591715976, 0.25641025641, 0.25788954635, 0.258382643, 0.25920447074, 0.26117685733, 0.26232741617, 0.26429980276, 0.26512163051, 0.26561472715, 0.26709401709, 0.26758711374, 0.26775147929, 0.26906640368, 0.26972386588, 0.27153188692, 0.27301117686, 0.2735042735, 0.27366863905, 0.2741617357, 0.27498356345, 0.27547666009, 0.27564102564, 0.27613412229, 0.27761341223, 0.27942143327, 0.28007889546, 0.28139381986, 0.2815581854, 0.28205128205, 0.28353057199, 0.28402366864, 0.28484549638, 0.28681788297, 0.28796844182, 0.2899408284, 0.29076265615, 0.29125575279, 0.29273504274, 0.29322813938, 0.29339250493, 0.29470742932, 0.29536489152, 0.29717291256, 0.2986522025, 0.29914529915, 0.29930966469, 0.29980276134, 0.30062458909, 0.30111768573, 0.30128205128, 0.30177514793, 0.30325443787, 0.30506245891, 0.30571992111, 0.3070348455, 0.30719921105, 0.30769230769, 0.30917159763, 0.30966469428, 0.31048652203, 0.31245890861, 0.31360946746, 0.31558185404, 0.31640368179, 0.31689677844, 0.31837606838, 0.31886916502, 0.31903353057, 0.32034845496, 0.32100591716, 0.3228139382, 0.32429322814, 0.32478632479, 0.32495069034, 0.32544378698, 0.32626561473, 0.32675871137, 0.32692307692, 0.32741617357, 0.32889546351, 0.33070348455, 0.33136094675, 0.33267587114, 0.33284023669, 0.33333333333, 0.33481262327, 0.33530571992, 0.33612754767, 0.33809993425, 0.3392504931, 0.34122287968, 0.34204470743, 0.34253780408, 0.34401709402, 0.34451019066, 0.34467455621, 0.34598948061, 0.3466469428, 0.34845496384, 0.34993425378, 0.35042735043, 0.35059171598, 0.35108481262, 0.35190664037, 0.35239973702, 0.35256410256, 0.35305719921, 0.35453648915, 0.35634451019, 0.35700197239, 0.35831689678, 0.35848126233, 0.35897435897, 0.36045364892, 0.36094674556, 0.36176857331, 0.3637409599, 0.36489151874, 0.36686390533, 0.36768573307, 0.36817882972, 0.36965811966, 0.37015121631, 0.37031558185, 0.37163050625, 0.37228796844, 0.37409598948, 0.37557527942, 0.37606837607, 0.37623274162, 0.37672583826, 0.37754766601, 0.37804076266, 0.37820512821, 0.37869822485, 0.38017751479, 0.38198553583, 0.38264299803, 0.38395792242, 0.38412228797, 0.38461538462, 0.38609467456, 0.3865877712, 0.38740959895, 0.38938198554, 0.39053254438, 0.39250493097, 0.39332675871, 0.39381985536, 0.3952991453, 0.39579224195, 0.3959566075, 0.39727153189, 0.39792899408, 0.39973701512, 0.40121630506, 0.40170940171, 0.40187376726, 0.40236686391, 0.40318869165, 0.4036817883, 0.40384615385, 0.40433925049, 0.40581854043, 0.40762656147, 0.40828402367, 0.40959894806, 0.40976331361, 0.41025641026, 0.4117357002, 0.41222879684, 0.41305062459, 0.41502301118, 0.41617357002, 0.41814595661, 0.41896778435, 0.419460881, 0.42094017094, 0.42143326759, 0.42159763314, 0.42291255753, 0.42357001972, 0.42537804076, 0.4268573307, 0.42735042735, 0.4275147929, 0.42800788955, 0.42882971729, 0.42932281394, 0.42948717949, 0.42998027613, 0.43145956608, 0.43326758711, 0.43392504931, 0.4352399737, 0.43540433925, 0.4358974359, 0.43737672584, 0.43786982249, 0.43869165023, 0.44066403682, 0.44181459566, 0.44378698225, 0.44460880999, 0.44510190664, 0.44658119658, 0.44707429323, 0.44723865878, 0.44855358317, 0.44921104537, 0.4510190664, 0.45249835635, 0.45299145299, 0.45315581854, 0.45364891519, 0.45447074293, 0.45496383958, 0.45512820513, 0.45562130178, 0.45710059172, 0.45890861276, 0.45956607495, 0.46088099934, 0.46104536489, 0.46153846154, 0.46301775148, 0.46351084813, 0.46433267587, 0.46630506246, 0.4674556213, 0.46942800789, 0.47024983563, 0.47074293228, 0.47222222222, 0.47271531887, 0.47287968442, 0.47419460881, 0.47485207101, 0.47666009205, 0.47813938199, 0.47863247863, 0.47879684418, 0.47928994083, 0.48011176857, 0.48060486522, 0.48076923077, 0.48126232742, 0.48274161736, 0.4845496384, 0.48520710059, 0.48652202498, 0.48668639053, 0.48717948718, 0.48865877712, 0.48915187377, 0.48997370151, 0.4919460881, 0.49309664694, 0.49506903353, 0.49589086128, 0.49638395792, 0.49786324786, 0.49835634451, 0.49852071006, 0.49983563445, 0.50049309665, 0.50230111769, 0.50378040763, 0.50427350427, 0.50443786982, 0.50493096647, 0.50575279421, 0.50624589086, 0.50641025641, 0.50690335306, 0.508382643, 0.51019066404, 0.51084812623, 0.51216305063, 0.51232741617, 0.51282051282, 0.51429980276, 0.51479289941, 0.51561472715, 0.51758711374, 0.51873767258, 0.52071005917, 0.52153188692, 0.52202498356, 0.5235042735, 0.52399737015, 0.5241617357, 0.52547666009, 0.52613412229, 0.52794214333, 0.52942143327, 0.52991452992, 0.53007889546, 0.53057199211, 0.53139381986, 0.5318869165, 0.53205128205, 0.5325443787, 0.53402366864, 0.53583168968, 0.53648915187, 0.53780407627, 0.53796844182, 0.53846153846, 0.5399408284, 0.54043392505, 0.54125575279, 0.54322813938, 0.54437869823, 0.54635108481, 0.54717291256, 0.5476660092, 0.54914529915, 0.54963839579, 0.54980276134, 0.55111768573, 0.55177514793, 0.55358316897, 0.55506245891, 0.55555555556, 0.55571992111, 0.55621301775, 0.5570348455, 0.55752794214, 0.55769230769, 0.55818540434, 0.55966469428, 0.56147271532, 0.56213017752, 0.56344510191, 0.56360946746, 0.5641025641, 0.56558185404, 0.56607495069, 0.56689677844, 0.56886916502, 0.57001972387, 0.57199211045, 0.5728139382, 0.57330703485, 0.57478632479, 0.57527942143, 0.57544378698, 0.57675871137, 0.57741617357, 0.57922419461, 0.58070348455, 0.5811965812, 0.58136094675, 0.58185404339, 0.58267587114, 0.58316896778, 0.58333333333, 0.58382642998, 0.58530571992, 0.58711374096, 0.58777120316, 0.58908612755, 0.5892504931, 0.58974358974, 0.59122287968, 0.59171597633, 0.59253780408, 0.59451019066, 0.59566074951, 0.5976331361, 0.59845496384, 0.59894806049, 0.60042735043, 0.60092044707, 0.60108481262, 0.60239973702, 0.60305719921, 0.60486522025, 0.60634451019, 0.60683760684, 0.60700197239, 0.60749506903, 0.60831689678, 0.60880999343, 0.60897435897, 0.60946745562, 0.61094674556, 0.6127547666, 0.6134122288, 0.61472715319, 0.61489151874, 0.61538461539, 0.61686390533, 0.61735700197, 0.61817882972, 0.62015121631, 0.62130177515, 0.62327416174, 0.62409598948, 0.62458908613, 0.62606837607, 0.62656147272, 0.62672583826, 0.62804076266, 0.62869822485, 0.63050624589, 0.63198553583, 0.63247863248, 0.63264299803, 0.63313609468, 0.63395792242, 0.63445101907, 0.63461538462, 0.63510848126, 0.6365877712, 0.63839579224, 0.63905325444, 0.64036817883, 0.64053254438, 0.64102564103, 0.64250493097, 0.64299802761, 0.64381985536, 0.64579224195, 0.64694280079, 0.64891518738, 0.64973701512, 0.65023011177, 0.65170940171, 0.65220249836, 0.65236686391, 0.6536817883, 0.65433925049, 0.65614727153, 0.65762656147, 0.65811965812, 0.65828402367, 0.65877712032, 0.65959894806, 0.66009204471, 0.66025641026, 0.6607495069, 0.66222879684, 0.66403681788, 0.66469428008, 0.66600920447, 0.66617357002, 0.66666666667, 0.66814595661, 0.66863905325, 0.669460881, 0.67143326759, 0.67258382643, 0.67455621302, 0.67537804076, 0.67587113741, 0.67735042735, 0.677843524, 0.67800788955, 0.67932281394, 0.67998027613, 0.68178829717, 0.68326758711, 0.68376068376, 0.68392504931, 0.68441814596, 0.6852399737, 0.68573307035, 0.6858974359, 0.68639053254, 0.68786982249, 0.68967784352, 0.69033530572, 0.69165023011, 0.69181459566, 0.69230769231, 0.69378698225, 0.6942800789, 0.69510190664, 0.69707429323, 0.69822485207, 0.70019723866, 0.7010190664, 0.70151216305, 0.70299145299, 0.70348454964, 0.70364891519, 0.70496383958, 0.70562130178, 0.70742932281, 0.70890861276, 0.7094017094, 0.70956607495, 0.7100591716, 0.71088099934, 0.71137409599, 0.71153846154, 0.71203155819, 0.71351084813, 0.71531886917, 0.71597633136, 0.71729125575, 0.7174556213, 0.71794871795, 0.71942800789, 0.71992110454, 0.72074293228, 0.72271531887, 0.72386587771, 0.7258382643, 0.72666009205, 0.72715318869, 0.72863247863, 0.72912557528, 0.72928994083, 0.73060486522, 0.73126232742, 0.73307034846, 0.7345496384, 0.73504273504, 0.73520710059, 0.73570019724, 0.73652202498, 0.73701512163, 0.73717948718, 0.73767258383, 0.73915187377, 0.74095989481, 0.741617357, 0.74293228139, 0.74309664694, 0.74358974359, 0.74506903353, 0.74556213018, 0.74638395792, 0.74835634451, 0.74950690335, 0.75147928994, 0.75230111769, 0.75279421433, 0.75427350427, 0.75476660092, 0.75493096647, 0.75624589086, 0.75690335306, 0.7587113741, 0.76019066404, 0.76068376068, 0.76084812623, 0.76134122288, 0.76216305063, 0.76265614727, 0.76282051282, 0.76331360947, 0.76479289941, 0.76660092045, 0.76725838264, 0.76857330704, 0.76873767258, 0.76923076923, 0.77071005917, 0.77120315582, 0.77202498356, 0.77399737015, 0.77514792899, 0.77712031558, 0.77794214333, 0.77843523997, 0.77991452992, 0.78040762656, 0.78057199211, 0.7818869165, 0.7825443787, 0.78435239974, 0.78583168968, 0.78632478633, 0.78648915187, 0.78698224852, 0.78780407627, 0.78829717291, 0.78846153846, 0.78895463511, 0.79043392505, 0.79224194609, 0.79289940828, 0.79421433268, 0.79437869823, 0.79487179487, 0.79635108481, 0.79684418146, 0.7976660092, 0.79963839579, 0.80078895464, 0.80276134122, 0.80358316897, 0.80407626562, 0.80555555556, 0.8060486522, 0.80621301775, 0.80752794214, 0.80818540434, 0.80999342538, 0.81147271532, 0.81196581197, 0.81213017752, 0.81262327416, 0.81344510191, 0.81393819855, 0.8141025641, 0.81459566075, 0.81607495069, 0.81788297173, 0.81854043393, 0.81985535832, 0.82001972387, 0.82051282051, 0.82199211045, 0.8224852071, 0.82330703485, 0.82527942143, 0.82642998028, 0.82840236686, 0.82922419461, 0.82971729126, 0.8311965812, 0.83168967784, 0.83185404339, 0.83316896778, 0.83382642998, 0.83563445102, 0.83711374096, 0.83760683761, 0.83777120316, 0.8382642998, 0.83908612755, 0.8395792242, 0.83974358974, 0.84023668639, 0.84171597633, 0.84352399737, 0.84418145957, 0.84549638396, 0.84566074951, 0.84615384615, 0.8476331361, 0.84812623274, 0.84894806049, 0.85092044707, 0.85207100592, 0.85404339251, 0.85486522025, 0.8553583169, 0.85683760684, 0.85733070349, 0.85749506903, 0.85880999343, 0.85946745562, 0.86127547666, 0.8627547666, 0.86324786325, 0.8634122288, 0.86390532544, 0.86472715319, 0.86522024984, 0.86538461539, 0.86587771203, 0.86735700197, 0.86916502301, 0.86982248521, 0.8711374096, 0.87130177515, 0.8717948718, 0.87327416174, 0.87376725838, 0.87458908613, 0.87656147272, 0.87771203156, 0.87968441815, 0.88050624589, 0.88099934254, 0.88247863248, 0.88297172913, 0.88313609468, 0.88445101907, 0.88510848126, 0.8869165023, 0.88839579224, 0.88888888889, 0.88905325444, 0.88954635109, 0.89036817883, 0.89086127548, 0.89102564103, 0.89151873767, 0.89299802761, 0.89480604865, 0.89546351085, 0.89677843524, 0.89694280079, 0.89743589744, 0.89891518738, 0.89940828402, 0.90023011177, 0.90220249836, 0.9033530572, 0.90532544379, 0.90614727153, 0.90664036818, 0.90811965812, 0.90861275477, 0.90877712032, 0.91009204471, 0.9107495069, 0.91255752794, 0.91403681788, 0.91452991453, 0.91469428008, 0.91518737673, 0.91600920447, 0.91650230112, 0.91666666667, 0.91715976331, 0.91863905325, 0.92044707429, 0.92110453649, 0.92241946088, 0.92258382643, 0.92307692308, 0.92455621302, 0.92504930967, 0.92587113741, 0.927843524, 0.92899408284, 0.93096646943, 0.93178829717, 0.93228139382, 0.93376068376, 0.93425378041, 0.93441814596, 0.93573307035, 0.93639053254, 0.93819855358, 0.93967784352, 0.94017094017, 0.94033530572, 0.94082840237, 0.94165023011, 0.94214332676, 0.94230769231, 0.94280078896, 0.9442800789, 0.94608809993, 0.94674556213, 0.94806048652, 0.94822485207, 0.94871794872, 0.95019723866, 0.95069033531, 0.95151216305, 0.95348454964, 0.95463510848, 0.95660749507, 0.95742932281, 0.95792241946, 0.9594017094, 0.95989480605, 0.9600591716, 0.96137409599, 0.96203155819, 0.96383957922, 0.96531886917, 0.96581196581, 0.96597633136, 0.96646942801, 0.96729125575, 0.9677843524, 0.96794871795, 0.9684418146, 0.96992110454, 0.97172912558, 0.97238658777, 0.97370151216, 0.97386587771, 0.97435897436, 0.9758382643, 0.97633136095, 0.97715318869, 0.97912557528, 0.98027613412, 0.98224852071, 0.98307034846, 0.9835634451, 0.98504273504, 0.98553583169, 0.98570019724, 0.98701512163, 0.98767258383, 0.98948060487, 0.99095989481, 0.99145299145, 0.991617357, 0.99211045365, 0.99293228139, 0.99342537804, 0.99358974359, 0.99408284024, 0.99556213018, 0.99737015122, 0.99802761341, 0.9993425378, 0.99950690335]
pattern_even=[0.0, 0.00147928994, 0.00197238659, 0.00279421433, 0.00476660092, 0.00591715976, 0.00788954635, 0.0087113741, 0.00920447074, 0.01068376068, 0.01117685733, 0.01134122288, 0.01265614727, 0.01331360947, 0.01512163051, 0.01660092045, 0.01709401709, 0.01725838264, 0.01775147929, 0.01857330704, 0.01906640368, 0.01923076923, 0.01972386588, 0.02120315582, 0.02301117686, 0.02366863905, 0.02498356345, 0.02514792899, 0.02564102564, 0.02712031558, 0.02761341223, 0.02843523997, 0.03040762656, 0.0315581854, 0.03353057199, 0.03435239974, 0.03484549638, 0.03632478633, 0.03681788297, 0.03698224852, 0.03829717291, 0.03895463511, 0.04076265615, 0.04224194609, 0.04273504274, 0.04289940828, 0.04339250493, 0.04421433268, 0.04470742932, 0.04487179487, 0.04536489152, 0.04684418146, 0.0486522025, 0.04930966469, 0.05062458909, 0.05078895464, 0.05128205128, 0.05276134122, 0.05325443787, 0.05407626562, 0.0560486522, 0.05719921105, 0.05917159763, 0.05999342538, 0.06048652203, 0.06196581197, 0.06245890861, 0.06262327416, 0.06393819855, 0.06459566075, 0.06640368179, 0.06788297173, 0.06837606838, 0.06854043393, 0.06903353057, 0.06985535832, 0.07034845496, 0.07051282051, 0.07100591716, 0.0724852071, 0.07429322814, 0.07495069034, 0.07626561473, 0.07642998028, 0.07692307692, 0.07840236686, 0.07889546351, 0.07971729126, 0.08168967784, 0.08284023669, 0.08481262327, 0.08563445102, 0.08612754767, 0.08760683761, 0.08809993425, 0.0882642998, 0.0895792242, 0.09023668639, 0.09204470743, 0.09352399737, 0.09401709402, 0.09418145957, 0.09467455621, 0.09549638396, 0.09598948061, 0.09615384615, 0.0966469428, 0.09812623274, 0.09993425378, 0.10059171598, 0.10190664037, 0.10207100592, 0.10256410256, 0.10404339251, 0.10453648915, 0.1053583169, 0.10733070349, 0.10848126233, 0.11045364892, 0.11127547666, 0.11176857331, 0.11324786325, 0.1137409599, 0.11390532544, 0.11522024984, 0.11587771203, 0.11768573307, 0.11916502301, 0.11965811966, 0.11982248521, 0.12031558185, 0.1211374096, 0.12163050625, 0.1217948718, 0.12228796844, 0.12376725838, 0.12557527942, 0.12623274162, 0.12754766601, 0.12771203156, 0.12820512821, 0.12968441815, 0.13017751479, 0.13099934254, 0.13297172913, 0.13412228797, 0.13609467456, 0.1369165023, 0.13740959895, 0.13888888889, 0.13938198554, 0.13954635109, 0.14086127548, 0.14151873767, 0.14332675871, 0.14480604865, 0.1452991453, 0.14546351085, 0.1459566075, 0.14677843524, 0.14727153189, 0.14743589744, 0.14792899408, 0.14940828402, 0.15121630506, 0.15187376726, 0.15318869165, 0.1533530572, 0.15384615385, 0.15532544379, 0.15581854043, 0.15664036818, 0.15861275477, 0.15976331361, 0.1617357002, 0.16255752794, 0.16305062459, 0.16452991453, 0.16502301118, 0.16518737673, 0.16650230112, 0.16715976331, 0.16896778435, 0.17044707429, 0.17094017094, 0.17110453649, 0.17159763314, 0.17241946088, 0.17291255753, 0.17307692308, 0.17357001972, 0.17504930967, 0.1768573307, 0.1775147929, 0.17882971729, 0.17899408284, 0.17948717949, 0.18096646943, 0.18145956608, 0.18228139382, 0.18425378041, 0.18540433925, 0.18737672584, 0.18819855358, 0.18869165023, 0.19017094017, 0.19066403682, 0.19082840237, 0.19214332676, 0.19280078896, 0.19460880999, 0.19608809993, 0.19658119658, 0.19674556213, 0.19723865878, 0.19806048652, 0.19855358317, 0.19871794872, 0.19921104537, 0.20069033531, 0.20249835635, 0.20315581854, 0.20447074293, 0.20463510848, 0.20512820513, 0.20660749507, 0.20710059172, 0.20792241946, 0.20989480605, 0.21104536489, 0.21301775148, 0.21383957922, 0.21433267587, 0.21581196581, 0.21630506246, 0.21646942801, 0.2177843524, 0.2184418146, 0.22024983563, 0.22172912558, 0.22222222222, 0.22238658777, 0.22287968442, 0.22370151216, 0.22419460881, 0.22435897436, 0.22485207101, 0.22633136095, 0.22813938199, 0.22879684418, 0.23011176857, 0.23027613412, 0.23076923077, 0.23224852071, 0.23274161736, 0.2335634451, 0.23553583169, 0.23668639053, 0.23865877712, 0.23948060487, 0.23997370151, 0.24145299145, 0.2419460881, 0.24211045365, 0.24342537804, 0.24408284024, 0.24589086128, 0.24737015122, 0.24786324786, 0.24802761341, 0.24852071006, 0.2493425378, 0.24983563445, 0.25, 0.25049309665, 0.25197238659, 0.25378040763, 0.25443786982, 0.25575279421, 0.25591715976, 0.25641025641, 0.25788954635, 0.258382643, 0.25920447074, 0.26117685733, 0.26232741617, 0.26429980276, 0.26512163051, 0.26561472715, 0.26709401709, 0.26758711374, 0.26775147929, 0.26906640368, 0.26972386588, 0.27153188692, 0.27301117686, 0.2735042735, 0.27366863905, 0.2741617357, 0.27498356345, 0.27547666009, 0.27564102564, 0.27613412229, 0.27761341223, 0.27942143327, 0.28007889546, 0.28139381986, 0.2815581854, 0.28205128205, 0.28353057199, 0.28402366864, 0.28484549638, 0.28681788297, 0.28796844182, 0.2899408284, 0.29076265615, 0.29125575279, 0.29273504274, 0.29322813938, 0.29339250493, 0.29470742932, 0.29536489152, 0.29717291256, 0.2986522025, 0.29914529915, 0.29930966469, 0.29980276134, 0.30062458909, 0.30111768573, 0.30128205128, 0.30177514793, 0.30325443787, 0.30506245891, 0.30571992111, 0.3070348455, 0.30719921105, 0.30769230769, 0.30917159763, 0.30966469428, 0.31048652203, 0.31245890861, 0.31360946746, 0.31558185404, 0.31640368179, 0.31689677844, 0.31837606838, 0.31886916502, 0.31903353057, 0.32034845496, 0.32100591716, 0.3228139382, 0.32429322814, 0.32478632479, 0.32495069034, 0.32544378698, 0.32626561473, 0.32675871137, 0.32692307692, 0.32741617357, 0.32889546351, 0.33070348455, 0.33136094675, 0.33267587114, 0.33284023669, 0.33333333333, 0.33481262327, 0.33530571992, 0.33612754767, 0.33809993425, 0.3392504931, 0.34122287968, 0.34204470743, 0.34253780408, 0.34401709402, 0.34451019066, 0.34467455621, 0.34598948061, 0.3466469428, 0.34845496384, 0.34993425378, 0.35042735043, 0.35059171598, 0.35108481262, 0.35190664037, 0.35239973702, 0.35256410256, 0.35305719921, 0.35453648915, 0.35634451019, 0.35700197239, 0.35831689678, 0.35848126233, 0.35897435897, 0.36045364892, 0.36094674556, 0.36176857331, 0.3637409599, 0.36489151874, 0.36686390533, 0.36768573307, 0.36817882972, 0.36965811966, 0.37015121631, 0.37031558185, 0.37163050625, 0.37228796844, 0.37409598948, 0.37557527942, 0.37606837607, 0.37623274162, 0.37672583826, 0.37754766601, 0.37804076266, 0.37820512821, 0.37869822485, 0.38017751479, 0.38198553583, 0.38264299803, 0.38395792242, 0.38412228797, 0.38461538462, 0.38609467456, 0.3865877712, 0.38740959895, 0.38938198554, 0.39053254438, 0.39250493097, 0.39332675871, 0.39381985536, 0.3952991453, 0.39579224195, 0.3959566075, 0.39727153189, 0.39792899408, 0.39973701512, 0.40121630506, 0.40170940171, 0.40187376726, 0.40236686391, 0.40318869165, 0.4036817883, 0.40384615385, 0.40433925049, 0.40581854043, 0.40762656147, 0.40828402367, 0.40959894806, 0.40976331361, 0.41025641026, 0.4117357002, 0.41222879684, 0.41305062459, 0.41502301118, 0.41617357002, 0.41814595661, 0.41896778435, 0.419460881, 0.42094017094, 0.42143326759, 0.42159763314, 0.42291255753, 0.42357001972, 0.42537804076, 0.4268573307, 0.42735042735, 0.4275147929, 0.42800788955, 0.42882971729, 0.42932281394, 0.42948717949, 0.42998027613, 0.43145956608, 0.43326758711, 0.43392504931, 0.4352399737, 0.43540433925, 0.4358974359, 0.43737672584, 0.43786982249, 0.43869165023, 0.44066403682, 0.44181459566, 0.44378698225, 0.44460880999, 0.44510190664, 0.44658119658, 0.44707429323, 0.44723865878, 0.44855358317, 0.44921104537, 0.4510190664, 0.45249835635, 0.45299145299, 0.45315581854, 0.45364891519, 0.45447074293, 0.45496383958, 0.45512820513, 0.45562130178, 0.45710059172, 0.45890861276, 0.45956607495, 0.46088099934, 0.46104536489, 0.46153846154, 0.46301775148, 0.46351084813, 0.46433267587, 0.46630506246, 0.4674556213, 0.46942800789, 0.47024983563, 0.47074293228, 0.47222222222, 0.47271531887, 0.47287968442, 0.47419460881, 0.47485207101, 0.47666009205, 0.47813938199, 0.47863247863, 0.47879684418, 0.47928994083, 0.48011176857, 0.48060486522, 0.48076923077, 0.48126232742, 0.48274161736, 0.4845496384, 0.48520710059, 0.48652202498, 0.48668639053, 0.48717948718, 0.48865877712, 0.48915187377, 0.48997370151, 0.4919460881, 0.49309664694, 0.49506903353, 0.49589086128, 0.49638395792, 0.49786324786, 0.49835634451, 0.49852071006, 0.49983563445, 0.50049309665, 0.50230111769, 0.50378040763, 0.50427350427, 0.50443786982, 0.50493096647, 0.50575279421, 0.50624589086, 0.50641025641, 0.50690335306, 0.508382643, 0.51019066404, 0.51084812623, 0.51216305063, 0.51232741617, 0.51282051282, 0.51429980276, 0.51479289941, 0.51561472715, 0.51758711374, 0.51873767258, 0.52071005917, 0.52153188692, 0.52202498356, 0.5235042735, 0.52399737015, 0.5241617357, 0.52547666009, 0.52613412229, 0.52794214333, 0.52942143327, 0.52991452992, 0.53007889546, 0.53057199211, 0.53139381986, 0.5318869165, 0.53205128205, 0.5325443787, 0.53402366864, 0.53583168968, 0.53648915187, 0.53780407627, 0.53796844182, 0.53846153846, 0.5399408284, 0.54043392505, 0.54125575279, 0.54322813938, 0.54437869823, 0.54635108481, 0.54717291256, 0.5476660092, 0.54914529915, 0.54963839579, 0.54980276134, 0.55111768573, 0.55177514793, 0.55358316897, 0.55506245891, 0.55555555556, 0.55571992111, 0.55621301775, 0.5570348455, 0.55752794214, 0.55769230769, 0.55818540434, 0.55966469428, 0.56147271532, 0.56213017752, 0.56344510191, 0.56360946746, 0.5641025641, 0.56558185404, 0.56607495069, 0.56689677844, 0.56886916502, 0.57001972387, 0.57199211045, 0.5728139382, 0.57330703485, 0.57478632479, 0.57527942143, 0.57544378698, 0.57675871137, 0.57741617357, 0.57922419461, 0.58070348455, 0.5811965812, 0.58136094675, 0.58185404339, 0.58267587114, 0.58316896778, 0.58333333333, 0.58382642998, 0.58530571992, 0.58711374096, 0.58777120316, 0.58908612755, 0.5892504931, 0.58974358974, 0.59122287968, 0.59171597633, 0.59253780408, 0.59451019066, 0.59566074951, 0.5976331361, 0.59845496384, 0.59894806049, 0.60042735043, 0.60092044707, 0.60108481262, 0.60239973702, 0.60305719921, 0.60486522025, 0.60634451019, 0.60683760684, 0.60700197239, 0.60749506903, 0.60831689678, 0.60880999343, 0.60897435897, 0.60946745562, 0.61094674556, 0.6127547666, 0.6134122288, 0.61472715319, 0.61489151874, 0.61538461539, 0.61686390533, 0.61735700197, 0.61817882972, 0.62015121631, 0.62130177515, 0.62327416174, 0.62409598948, 0.62458908613, 0.62606837607, 0.62656147272, 0.62672583826, 0.62804076266, 0.62869822485, 0.63050624589, 0.63198553583, 0.63247863248, 0.63264299803, 0.63313609468, 0.63395792242, 0.63445101907, 0.63461538462, 0.63510848126, 0.6365877712, 0.63839579224, 0.63905325444, 0.64036817883, 0.64053254438, 0.64102564103, 0.64250493097, 0.64299802761, 0.64381985536, 0.64579224195, 0.64694280079, 0.64891518738, 0.64973701512, 0.65023011177, 0.65170940171, 0.65220249836, 0.65236686391, 0.6536817883, 0.65433925049, 0.65614727153, 0.65762656147, 0.65811965812, 0.65828402367, 0.65877712032, 0.65959894806, 0.66009204471, 0.66025641026, 0.6607495069, 0.66222879684, 0.66403681788, 0.66469428008, 0.66600920447, 0.66617357002, 0.66666666667, 0.66814595661, 0.66863905325, 0.669460881, 0.67143326759, 0.67258382643, 0.67455621302, 0.67537804076, 0.67587113741, 0.67735042735, 0.677843524, 0.67800788955, 0.67932281394, 0.67998027613, 0.68178829717, 0.68326758711, 0.68376068376, 0.68392504931, 0.68441814596, 0.6852399737, 0.68573307035, 0.6858974359, 0.68639053254, 0.68786982249, 0.68967784352, 0.69033530572, 0.69165023011, 0.69181459566, 0.69230769231, 0.69378698225, 0.6942800789, 0.69510190664, 0.69707429323, 0.69822485207, 0.70019723866, 0.7010190664, 0.70151216305, 0.70299145299, 0.70348454964, 0.70364891519, 0.70496383958, 0.70562130178, 0.70742932281, 0.70890861276, 0.7094017094, 0.70956607495, 0.7100591716, 0.71088099934, 0.71137409599, 0.71153846154, 0.71203155819, 0.71351084813, 0.71531886917, 0.71597633136, 0.71729125575, 0.7174556213, 0.71794871795, 0.71942800789, 0.71992110454, 0.72074293228, 0.72271531887, 0.72386587771, 0.7258382643, 0.72666009205, 0.72715318869, 0.72863247863, 0.72912557528, 0.72928994083, 0.73060486522, 0.73126232742, 0.73307034846, 0.7345496384, 0.73504273504, 0.73520710059, 0.73570019724, 0.73652202498, 0.73701512163, 0.73717948718, 0.73767258383, 0.73915187377, 0.74095989481, 0.741617357, 0.74293228139, 0.74309664694, 0.74358974359, 0.74506903353, 0.74556213018, 0.74638395792, 0.74835634451, 0.74950690335, 0.75147928994, 0.75230111769, 0.75279421433, 0.75427350427, 0.75476660092, 0.75493096647, 0.75624589086, 0.75690335306, 0.7587113741, 0.76019066404, 0.76068376068, 0.76084812623, 0.76134122288, 0.76216305063, 0.76265614727, 0.76282051282, 0.76331360947, 0.76479289941, 0.76660092045, 0.76725838264, 0.76857330704, 0.76873767258, 0.76923076923, 0.77071005917, 0.77120315582, 0.77202498356, 0.77399737015, 0.77514792899, 0.77712031558, 0.77794214333, 0.77843523997, 0.77991452992, 0.78040762656, 0.78057199211, 0.7818869165, 0.7825443787, 0.78435239974, 0.78583168968, 0.78632478633, 0.78648915187, 0.78698224852, 0.78780407627, 0.78829717291, 0.78846153846, 0.78895463511, 0.79043392505, 0.79224194609, 0.79289940828, 0.79421433268, 0.79437869823, 0.79487179487, 0.79635108481, 0.79684418146, 0.7976660092, 0.79963839579, 0.80078895464, 0.80276134122, 0.80358316897, 0.80407626562, 0.80555555556, 0.8060486522, 0.80621301775, 0.80752794214, 0.80818540434, 0.80999342538, 0.81147271532, 0.81196581197, 0.81213017752, 0.81262327416, 0.81344510191, 0.81393819855, 0.8141025641, 0.81459566075, 0.81607495069, 0.81788297173, 0.81854043393, 0.81985535832, 0.82001972387, 0.82051282051, 0.82199211045, 0.8224852071, 0.82330703485, 0.82527942143, 0.82642998028, 0.82840236686, 0.82922419461, 0.82971729126, 0.8311965812, 0.83168967784, 0.83185404339, 0.83316896778, 0.83382642998, 0.83563445102, 0.83711374096, 0.83760683761, 0.83777120316, 0.8382642998, 0.83908612755, 0.8395792242, 0.83974358974, 0.84023668639, 0.84171597633, 0.84352399737, 0.84418145957, 0.84549638396, 0.84566074951, 0.84615384615, 0.8476331361, 0.84812623274, 0.84894806049, 0.85092044707, 0.85207100592, 0.85404339251, 0.85486522025, 0.8553583169, 0.85683760684, 0.85733070349, 0.85749506903, 0.85880999343, 0.85946745562, 0.86127547666, 0.8627547666, 0.86324786325, 0.8634122288, 0.86390532544, 0.86472715319, 0.86522024984, 0.86538461539, 0.86587771203, 0.86735700197, 0.86916502301, 0.86982248521, 0.8711374096, 0.87130177515, 0.8717948718, 0.87327416174, 0.87376725838, 0.87458908613, 0.87656147272, 0.87771203156, 0.87968441815, 0.88050624589, 0.88099934254, 0.88247863248, 0.88297172913, 0.88313609468, 0.88445101907, 0.88510848126, 0.8869165023, 0.88839579224, 0.88888888889, 0.88905325444, 0.88954635109, 0.89036817883, 0.89086127548, 0.89102564103, 0.89151873767, 0.89299802761, 0.89480604865, 0.89546351085, 0.89677843524, 0.89694280079, 0.89743589744, 0.89891518738, 0.89940828402, 0.90023011177, 0.90220249836, 0.9033530572, 0.90532544379, 0.90614727153, 0.90664036818, 0.90811965812, 0.90861275477, 0.90877712032, 0.91009204471, 0.9107495069, 0.91255752794, 0.91403681788, 0.91452991453, 0.91469428008, 0.91518737673, 0.91600920447, 0.91650230112, 0.91666666667, 0.91715976331, 0.91863905325, 0.92044707429, 0.92110453649, 0.92241946088, 0.92258382643, 0.92307692308, 0.92455621302, 0.92504930967, 0.92587113741, 0.927843524, 0.92899408284, 0.93096646943, 0.93178829717, 0.93228139382, 0.93376068376, 0.93425378041, 0.93441814596, 0.93573307035, 0.93639053254, 0.93819855358, 0.93967784352, 0.94017094017, 0.94033530572, 0.94082840237, 0.94165023011, 0.94214332676, 0.94230769231, 0.94280078896, 0.9442800789, 0.94608809993, 0.94674556213, 0.94806048652, 0.94822485207, 0.94871794872, 0.95019723866, 0.95069033531, 0.95151216305, 0.95348454964, 0.95463510848, 0.95660749507, 0.95742932281, 0.95792241946, 0.9594017094, 0.95989480605, 0.9600591716, 0.96137409599, 0.96203155819, 0.96383957922, 0.96531886917, 0.96581196581, 0.96597633136, 0.96646942801, 0.96729125575, 0.9677843524, 0.96794871795, 0.9684418146, 0.96992110454, 0.97172912558, 0.97238658777, 0.97370151216, 0.97386587771, 0.97435897436, 0.9758382643, 0.97633136095, 0.97715318869, 0.97912557528, 0.98027613412, 0.98224852071, 0.98307034846, 0.9835634451, 0.98504273504, 0.98553583169, 0.98570019724, 0.98701512163, 0.98767258383, 0.98948060487, 0.99095989481, 0.99145299145, 0.991617357, 0.99211045365, 0.99293228139, 0.99342537804, 0.99358974359, 0.99408284024, 0.99556213018, 0.99737015122, 0.99802761341, 0.9993425378, 0.99950690335]
averages_even={0.0: [0.0], 0.25: [0.5], 0.04536489152: [0.0769230769231, 0.9230769230769], 0.12031558185: [0.5384615384615, 0.4615384615385], 0.48126232742: [0.0769230769231, 0.9230769230769], 0.04224194609: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.43392504931: [0.7692307692308, 0.2307692307692], 0.30128205128: [0.5], 0.53007889546: [0.2692307692308, 0.7307692307692], 0.05276134122: [0.1923076923077, 0.8076923076923], 0.99342537804: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.35042735043: [0.3333333333333, 0.6666666666667], 0.82001972387: [0.8846153846154, 0.1153846153846], 0.95348454964: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.39792899408: [0.5769230769231, 0.4230769230769], 0.63264299803: [0.2692307692308, 0.7307692307692], 0.28007889546: [0.7692307692308, 0.2307692307692], 0.96137409599: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.5235042735: [0.8333333333333, 0.1666666666667], 0.0087113741: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.18145956608: [0.8461538461538, 0.1538461538462], 0.17504930967: [0.3461538461538, 0.6538461538462], 0.73520710059: [0.2692307692308, 0.7307692307692], 0.16896778435: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.08284023669: [0.3846153846154, 0.6153846153846], 0.37557527942: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.62606837607: [0.8333333333333, 0.1666666666667], 0.97715318869: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.29470742932: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.65170940171: [0.8333333333333, 0.1666666666667], 0.85092044707: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.20069033531: [0.3461538461538, 0.6538461538462], 0.5325443787: [0.0769230769231, 0.9230769230769], 0.38264299803: [0.7692307692308, 0.2307692307692], 0.03698224852: [0.9615384615385, 0.0384615384615], 0.44460880999: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.34598948061: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.65614727153: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.22633136095: [0.3461538461538, 0.6538461538462], 0.57922419461: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.92258382643: [0.8846153846154, 0.1153846153846], 0.7100591716: [0.5384615384615, 0.4615384615385], 0.6858974359: [0.5], 0.5811965812: [0.3333333333333, 0.6666666666667], 0.7587113741: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.82840236686: [0.6923076923077, 0.3076923076923], 0.67143326759: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.57544378698: [0.9615384615385, 0.0384615384615], 0.34253780408: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.05917159763: [0.6923076923077, 0.3076923076923], 0.09401709402: [0.3333333333333, 0.6666666666667], 0.41617357002: [0.3846153846154, 0.6153846153846], 0.67258382643: [0.3846153846154, 0.6153846153846], 0.67800788955: [0.9615384615385, 0.0384615384615], 0.44921104537: [0.5769230769231, 0.4230769230769], 0.91403681788: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.94230769231: [0.5], 0.42735042735: [0.3333333333333, 0.6666666666667], 0.07100591716: [0.0769230769231, 0.9230769230769], 0.66009204471: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.53139381986: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.74556213018: [0.8461538461538, 0.1538461538462], 0.46301775148: [0.1923076923077, 0.8076923076923], 0.70890861276: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.66666666667: [0.0], 0.06459566075: [0.5769230769231, 0.4230769230769], 0.11965811966: [0.3333333333333, 0.6666666666667], 0.89694280079: [0.8846153846154, 0.1153846153846], 0.33530571992: [0.8461538461538, 0.1538461538462], 0.63395792242: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.84812623274: [0.8461538461538, 0.1538461538462], 0.9684418146: [0.0769230769231, 0.9230769230769], 0.2986522025: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.97435897436: [0.0], 0.38740959895: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.58530571992: [0.3461538461538, 0.6538461538462], 0.52399737015: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.13099934254: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.04339250493: [0.5384615384615, 0.4615384615385], 0.70151216305: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.95069033531: [0.8461538461538, 0.1538461538462], 0.27547666009: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.66403681788: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.43869165023: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.68178829717: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.29536489152: [0.5769230769231, 0.4230769230769], 0.77120315582: [0.8461538461538, 0.1538461538462], 0.20315581854: [0.7692307692308, 0.2307692307692], 0.38412228797: [0.8846153846154, 0.1153846153846], 0.53846153846: [0.0], 0.94871794872: [0.0], 0.48997370151: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.3466469428: [0.5769230769231, 0.4230769230769], 0.43540433925: [0.8846153846154, 0.1153846153846], 0.49506903353: [0.6923076923077, 0.3076923076923], 0.58333333333: [0.5], 0.12771203156: [0.8846153846154, 0.1153846153846], 0.93639053254: [0.5769230769231, 0.4230769230769], 0.51873767258: [0.3846153846154, 0.6153846153846], 0.48668639053: [0.8846153846154, 0.1153846153846], 0.8717948718: [0.0], 0.32544378698: [0.5384615384615, 0.4615384615385], 0.93178829717: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.25049309665: [0.0769230769231, 0.9230769230769], 0.1533530572: [0.8846153846154, 0.1153846153846], 0.57675871137: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.50427350427: [0.3333333333333, 0.6666666666667], 0.52202498356: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.09418145957: [0.2692307692308, 0.7307692307692], 0.87376725838: [0.8461538461538, 0.1538461538462], 0.51282051282: [0.0], 0.17899408284: [0.8846153846154, 0.1153846153846], 0.67932281394: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.5476660092: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.60683760684: [0.3333333333333, 0.6666666666667], 0.3392504931: [0.3846153846154, 0.6153846153846], 0.42800788955: [0.5384615384615, 0.4615384615385], 0.94017094017: [0.6666666666667, 0.3333333333333], 0.82330703485: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.50230111769: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.48011176857: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.66600920447: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.7094017094: [0.3333333333333, 0.6666666666667], 0.73915187377: [0.3461538461538, 0.6538461538462], 0.22172912558: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.78435239974: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.56360946746: [0.8846153846154, 0.1153846153846], 0.74293228139: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.28139381986: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.37015121631: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.1217948718: [0.5], 0.24737015122: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.70364891519: [0.9615384615385, 0.0384615384615], 0.89102564103: [0.5], 0.66617357002: [0.8846153846154, 0.1153846153846], 0.95019723866: [0.1923076923077, 0.8076923076923], 0.33267587114: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.0315581854: [0.3846153846154, 0.6153846153846], 0.1053583169: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.55621301775: [0.5384615384615, 0.4615384615385], 0.12968441815: [0.1923076923077, 0.8076923076923], 0.81854043393: [0.7692307692308, 0.2307692307692], 0.54437869823: [0.3846153846154, 0.6153846153846], 0.47271531887: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.65959894806: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.65877712032: [0.5384615384615, 0.4615384615385], 0.68639053254: [0.0769230769231, 0.9230769230769], 0.10453648915: [0.8461538461538, 0.1538461538462], 0.29273504274: [0.8333333333333, 0.1666666666667], 0.13740959895: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.61538461539: [0.0], 0.33136094675: [0.7692307692308, 0.2307692307692], 0.24408284024: [0.5769230769231, 0.4230769230769], 0.17241946088: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.46942800789: [0.6923076923077, 0.3076923076923], 0.01660092045: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.16305062459: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.16255752794: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.99408284024: [0.0769230769231, 0.9230769230769], 0.61472715319: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.75690335306: [0.5769230769231, 0.4230769230769], 0.19806048652: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.93441814596: [0.9615384615385, 0.0384615384615], 0.99950690335: [0.8846153846154, 0.1153846153846], 0.31886916502: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.91518737673: [0.5384615384615, 0.4615384615385], 0.18869165023: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.56607495069: [0.8461538461538, 0.1538461538462], 0.76857330704: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.93228139382: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.3228139382: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.92587113741: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.22370151216: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.47928994083: [0.5384615384615, 0.4615384615385], 0.68441814596: [0.5384615384615, 0.4615384615385], 0.40762656147: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.76265614727: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.09352399737: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.92110453649: [0.7692307692308, 0.2307692307692], 0.2493425378: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.48076923077: [0.5], 0.74950690335: [0.3846153846154, 0.6153846153846], 0.54322813938: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.80276134122: [0.6923076923077, 0.3076923076923], 0.42537804076: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.07051282051: [0.5], 0.18540433925: [0.3846153846154, 0.6153846153846], 0.70496383958: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.64694280079: [0.3846153846154, 0.6153846153846], 0.94165023011: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.81262327416: [0.5384615384615, 0.4615384615385], 0.89940828402: [0.8461538461538, 0.1538461538462], 0.90861275477: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.21104536489: [0.3846153846154, 0.6153846153846], 0.63445101907: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.03484549638: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.13938198554: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.92899408284: [0.3846153846154, 0.6153846153846], 0.73504273504: [0.6666666666667, 0.3333333333333], 0.89891518738: [0.1923076923077, 0.8076923076923], 0.47419460881: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.49786324786: [0.8333333333333, 0.1666666666667], 0.23668639053: [0.3846153846154, 0.6153846153846], 0.35848126233: [0.8846153846154, 0.1153846153846], 0.16502301118: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.83760683761: [0.6666666666667, 0.3333333333333], 0.29339250493: [0.9615384615385, 0.0384615384615], 0.72863247863: [0.8333333333333, 0.1666666666667], 0.51429980276: [0.1923076923077, 0.8076923076923], 0.39973701512: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.66863905325: [0.8461538461538, 0.1538461538462], 0.65433925049: [0.5769230769231, 0.4230769230769], 0.08168967784: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.32675871137: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.61686390533: [0.1923076923077, 0.8076923076923], 0.86522024984: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.19674556213: [0.2692307692308, 0.7307692307692], 0.13609467456: [0.6923076923077, 0.3076923076923], 0.90614727153: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.63198553583: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.50690335306: [0.0769230769231, 0.9230769230769], 0.12820512821: [0.0], 0.17110453649: [0.2692307692308, 0.7307692307692], 0.71942800789: [0.1923076923077, 0.8076923076923], 0.1617357002: [0.6923076923077, 0.3076923076923], 0.9993425378: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.60946745562: [0.0769230769231, 0.9230769230769], 0.28681788297: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.01972386588: [0.0769230769231, 0.9230769230769], 0.18737672584: [0.6923076923077, 0.3076923076923], 0.11587771203: [0.5769230769231, 0.4230769230769], 0.33809993425: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.22238658777: [0.2692307692308, 0.7307692307692], 0.80555555556: [0.8333333333333, 0.1666666666667], 0.98553583169: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.28353057199: [0.1923076923077, 0.8076923076923], 0.78040762656: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.75427350427: [0.8333333333333, 0.1666666666667], 0.07642998028: [0.8846153846154, 0.1153846153846], 0.80752794214: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.47813938199: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.33481262327: [0.1923076923077, 0.8076923076923], 0.46351084813: [0.8461538461538, 0.1538461538462], 0.84549638396: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.40976331361: [0.8846153846154, 0.1153846153846], 0.27942143327: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.87130177515: [0.8846153846154, 0.1153846153846], 0.09204470743: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.64036817883: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.47485207101: [0.5769230769231, 0.4230769230769], 0.5570348455: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.66222879684: [0.3461538461538, 0.6538461538462], 0.14743589744: [0.5], 0.419460881: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.06903353057: [0.5384615384615, 0.4615384615385], 0.36489151874: [0.3846153846154, 0.6153846153846], 0.98504273504: [0.8333333333333, 0.1666666666667], 0.30769230769: [0.0], 0.17307692308: [0.5], 0.11768573307: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.32741617357: [0.0769230769231, 0.9230769230769], 0.10404339251: [0.1923076923077, 0.8076923076923], 0.29076265615: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.19871794872: [0.5], 0.8476331361: [0.1923076923077, 0.8076923076923], 0.97238658777: [0.7692307692308, 0.2307692307692], 0.00591715976: [0.3846153846154, 0.6153846153846], 0.68573307035: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.4674556213: [0.3846153846154, 0.6153846153846], 0.86587771203: [0.0769230769231, 0.9230769230769], 0.45562130178: [0.0769230769231, 0.9230769230769], 0.37623274162: [0.2692307692308, 0.7307692307692], 0.24145299145: [0.8333333333333, 0.1666666666667], 0.64053254438: [0.8846153846154, 0.1153846153846], 0.89086127548: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.4275147929: [0.2692307692308, 0.7307692307692], 0.87458908613: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.7258382643: [0.6923076923077, 0.3076923076923], 0.05128205128: [0.0], 0.74506903353: [0.1923076923077, 0.8076923076923], 0.66025641026: [0.5], 0.47879684418: [0.2692307692308, 0.7307692307692], 0.83185404339: [0.9615384615385, 0.0384615384615], 0.11522024984: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.63510848126: [0.0769230769231, 0.9230769230769], 0.59845496384: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.14940828402: [0.3461538461538, 0.6538461538462], 0.86127547666: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.77514792899: [0.3846153846154, 0.6153846153846], 0.91600920447: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.92044707429: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.04487179487: [0.5], 0.14677843524: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.05719921105: [0.3846153846154, 0.6153846153846], 0.70019723866: [0.6923076923077, 0.3076923076923], 0.87771203156: [0.3846153846154, 0.6153846153846], 0.84023668639: [0.0769230769231, 0.9230769230769], 0.55358316897: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.72912557528: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.47222222222: [0.8333333333333, 0.1666666666667], 0.81213017752: [0.2692307692308, 0.7307692307692], 0.55752794214: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.32889546351: [0.3461538461538, 0.6538461538462], 0.62130177515: [0.3846153846154, 0.6153846153846], 0.2177843524: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.88297172913: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.37606837607: [0.3333333333333, 0.6666666666667], 0.01709401709: [0.3333333333333, 0.6666666666667], 0.06837606838: [0.3333333333333, 0.6666666666667], 0.6127547666: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.37031558185: [0.9615384615385, 0.0384615384615], 0.24342537804: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.48274161736: [0.3461538461538, 0.6538461538462], 0.35897435897: [0.0], 0.32478632479: [0.3333333333333, 0.6666666666667], 0.43145956608: [0.3461538461538, 0.6538461538462], 0.70299145299: [0.8333333333333, 0.1666666666667], 0.54043392505: [0.8461538461538, 0.1538461538462], 0.50378040763: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.80818540434: [0.5769230769231, 0.4230769230769], 0.50641025641: [0.5], 0.55966469428: [0.3461538461538, 0.6538461538462], 0.64299802761: [0.8461538461538, 0.1538461538462], 0.10256410256: [0.0], 0.20512820513: [0.0], 0.17094017094: [0.3333333333333, 0.6666666666667], 0.28484549638: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.94674556213: [0.7692307692308, 0.2307692307692], 0.76134122288: [0.5384615384615, 0.4615384615385], 0.06985535832: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.74638395792: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.76873767258: [0.8846153846154, 0.1153846153846], 0.23076923077: [0.0], 0.98701512163: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.33612754767: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.79635108481: [0.1923076923077, 0.8076923076923], 0.76479289941: [0.3461538461538, 0.6538461538462], 0.87968441815: [0.6923076923077, 0.3076923076923], 0.29980276134: [0.5384615384615, 0.4615384615385], 0.2815581854: [0.8846153846154, 0.1153846153846], 0.02301117686: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.90532544379: [0.6923076923077, 0.3076923076923], 0.91650230112: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.33284023669: [0.8846153846154, 0.1153846153846], 0.42159763314: [0.9615384615385, 0.0384615384615], 0.56886916502: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.0895792242: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.38609467456: [0.1923076923077, 0.8076923076923], 0.42948717949: [0.5], 0.44181459566: [0.3846153846154, 0.6153846153846], 0.42291255753: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.1137409599: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.48652202498: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.03895463511: [0.5769230769231, 0.4230769230769], 0.79684418146: [0.8461538461538, 0.1538461538462], 0.65828402367: [0.2692307692308, 0.7307692307692], 0.01775147929: [0.5384615384615, 0.4615384615385], 0.99211045365: [0.5384615384615, 0.4615384615385], 0.54914529915: [0.8333333333333, 0.1666666666667], 0.82051282051: [0.0], 0.06854043393: [0.2692307692308, 0.7307692307692], 0.04289940828: [0.2692307692308, 0.7307692307692], 0.01134122288: [0.9615384615385, 0.0384615384615], 0.32626561473: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.21646942801: [0.9615384615385, 0.0384615384615], 0.83711374096: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.06788297173: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.14480604865: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.20710059172: [0.8461538461538, 0.1538461538462], 0.31903353057: [0.9615384615385, 0.0384615384615], 0.86390532544: [0.5384615384615, 0.4615384615385], 0.86538461539: [0.5], 0.01331360947: [0.5769230769231, 0.4230769230769], 0.37754766601: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.24211045365: [0.9615384615385, 0.0384615384615], 0.46630506246: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.17044707429: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.23274161736: [0.8461538461538, 0.1538461538462], 0.61094674556: [0.3461538461538, 0.6538461538462], 0.42882971729: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.927843524: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.26758711374: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.19608809993: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.95151216305: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.82642998028: [0.3846153846154, 0.6153846153846], 0.07971729126: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.47863247863: [0.3333333333333, 0.6666666666667], 0.10190664037: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.3952991453: [0.8333333333333, 0.1666666666667], 0.26429980276: [0.6923076923077, 0.3076923076923], 0.96794871795: [0.5], 0.79963839579: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.16715976331: [0.5769230769231, 0.4230769230769], 0.45890861276: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.78648915187: [0.2692307692308, 0.7307692307692], 0.92307692308: [0.0], 0.07889546351: [0.8461538461538, 0.1538461538462], 0.59451019066: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.8382642998: [0.5384615384615, 0.4615384615385], 0.51561472715: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.99145299145: [0.6666666666667, 0.3333333333333], 0.19280078896: [0.5769230769231, 0.4230769230769], 0.7345496384: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.36686390533: [0.6923076923077, 0.3076923076923], 0.96729125575: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.11390532544: [0.9615384615385, 0.0384615384615], 0.88247863248: [0.8333333333333, 0.1666666666667], 0.62458908613: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.90023011177: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.2184418146: [0.5769230769231, 0.4230769230769], 0.27564102564: [0.5], 0.35239973702: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.81459566075: [0.0769230769231, 0.9230769230769], 0.83563445102: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.56147271532: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.72715318869: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.47024983563: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.69230769231: [0.0], 0.32692307692: [0.5], 0.60897435897: [0.5], 0.85946745562: [0.5769230769231, 0.4230769230769], 0.82971729126: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.47074293228: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.27153188692: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.37820512821: [0.5], 0.03353057199: [0.6923076923077, 0.3076923076923], 0.68392504931: [0.2692307692308, 0.7307692307692], 0.98767258383: [0.5769230769231, 0.4230769230769], 0.5728139382: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.75279421433: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.77399737015: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.44658119658: [0.8333333333333, 0.1666666666667], 0.13412228797: [0.3846153846154, 0.6153846153846], 0.35700197239: [0.7692307692308, 0.2307692307692], 0.06393819855: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.67735042735: [0.8333333333333, 0.1666666666667], 0.32034845496: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.37869822485: [0.0769230769231, 0.9230769230769], 0.15976331361: [0.3846153846154, 0.6153846153846], 0.60239973702: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.10207100592: [0.8846153846154, 0.1153846153846], 0.52991452992: [0.3333333333333, 0.6666666666667], 0.37163050625: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.55818540434: [0.0769230769231, 0.9230769230769], 0.84171597633: [0.3461538461538, 0.6538461538462], 0.75493096647: [0.9615384615385, 0.0384615384615], 0.34451019066: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.45956607495: [0.7692307692308, 0.2307692307692], 0.63247863248: [0.3333333333333, 0.6666666666667], 0.58711374096: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.01265614727: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.05062458909: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.9442800789: [0.3461538461538, 0.6538461538462], 0.6607495069: [0.0769230769231, 0.9230769230769], 0.93819855358: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.99737015122: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.95742932281: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.79487179487: [0.0], 0.22813938199: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.5892504931: [0.8846153846154, 0.1153846153846], 0.52071005917: [0.6923076923077, 0.3076923076923], 0.65023011177: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.55177514793: [0.5769230769231, 0.4230769230769], 0.72928994083: [0.9615384615385, 0.0384615384615], 0.72386587771: [0.3846153846154, 0.6153846153846], 0.45299145299: [0.3333333333333, 0.6666666666667], 0.11324786325: [0.8333333333333, 0.1666666666667], 0.63905325444: [0.7692307692308, 0.2307692307692], 0.30966469428: [0.8461538461538, 0.1538461538462], 0.00147928994: [0.1923076923077, 0.8076923076923], 0.42932281394: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.58267587114: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.05999342538: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.27301117686: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.72271531887: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.09023668639: [0.5769230769231, 0.4230769230769], 0.22485207101: [0.0769230769231, 0.9230769230769], 0.40828402367: [0.7692307692308, 0.2307692307692], 0.78698224852: [0.5384615384615, 0.4615384615385], 0.15318869165: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.57527942143: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.41222879684: [0.8461538461538, 0.1538461538462], 0.80407626562: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.79437869823: [0.8846153846154, 0.1153846153846], 0.53780407627: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.01117685733: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.31245890861: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.46433267587: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.50575279421: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.32100591716: [0.5769230769231, 0.4230769230769], 0.85486522025: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.21383957922: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.76331360947: [0.0769230769231, 0.9230769230769], 0.68326758711: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.20447074293: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.53205128205: [0.5], 0.26561472715: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.00788954635: [0.6923076923077, 0.3076923076923], 0.28402366864: [0.8461538461538, 0.1538461538462], 0.93376068376: [0.8333333333333, 0.1666666666667], 0.23948060487: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.46104536489: [0.8846153846154, 0.1153846153846], 0.4845496384: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.23011176857: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.63461538462: [0.5], 0.31689677844: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.62327416174: [0.6923076923077, 0.3076923076923], 0.42357001972: [0.5769230769231, 0.4230769230769], 0.95660749507: [0.6923076923077, 0.3076923076923], 0.26232741617: [0.3846153846154, 0.6153846153846], 0.73717948718: [0.5], 0.66469428008: [0.7692307692308, 0.2307692307692], 0.62804076266: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.31360946746: [0.3846153846154, 0.6153846153846], 0.10059171598: [0.7692307692308, 0.2307692307692], 0.64579224195: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.76725838264: [0.7692307692308, 0.2307692307692], 0.8395792242: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.73060486522: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.71794871795: [0.0], 0.97172912558: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.16452991453: [0.8333333333333, 0.1666666666667], 0.45364891519: [0.5384615384615, 0.4615384615385], 0.01923076923: [0.5], 0.991617357: [0.2692307692308, 0.7307692307692], 0.86982248521: [0.7692307692308, 0.2307692307692], 0.27366863905: [0.2692307692308, 0.7307692307692], 0.38395792242: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.19017094017: [0.8333333333333, 0.1666666666667], 0.97370151216: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.96581196581: [0.6666666666667, 0.3333333333333], 0.81344510191: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.3637409599: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.78057199211: [0.9615384615385, 0.0384615384615], 0.8224852071: [0.8461538461538, 0.1538461538462], 0.32495069034: [0.2692307692308, 0.7307692307692], 0.3070348455: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.47666009205: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.21581196581: [0.8333333333333, 0.1666666666667], 0.93096646943: [0.6923076923077, 0.3076923076923], 0.00197238659: [0.8461538461538, 0.1538461538462], 0.89743589744: [0.0], 0.7174556213: [0.8846153846154, 0.1153846153846], 0.94082840237: [0.5384615384615, 0.4615384615385], 0.20249835635: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.67998027613: [0.5769230769231, 0.4230769230769], 0.11176857331: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.60749506903: [0.5384615384615, 0.4615384615385], 0.15187376726: [0.7692307692308, 0.2307692307692], 0.64250493097: [0.1923076923077, 0.8076923076923], 0.79421433268: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.57001972387: [0.3846153846154, 0.6153846153846], 0.40959894806: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.49835634451: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.7010190664: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.1775147929: [0.7692307692308, 0.2307692307692], 0.78632478633: [0.3333333333333, 0.6666666666667], 0.51084812623: [0.7692307692308, 0.2307692307692], 0.31837606838: [0.8333333333333, 0.1666666666667], 0.14086127548: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.78829717291: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.05078895464: [0.8846153846154, 0.1153846153846], 0.85733070349: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.12376725838: [0.3461538461538, 0.6538461538462], 0.36965811966: [0.8333333333333, 0.1666666666667], 0.93573307035: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.84418145957: [0.7692307692308, 0.2307692307692], 0.16650230112: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.84352399737: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.42094017094: [0.8333333333333, 0.1666666666667], 0.8060486522: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.27761341223: [0.3461538461538, 0.6538461538462], 0.19214332676: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.94608809993: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.41502301118: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.98570019724: [0.9615384615385, 0.0384615384615], 0.09993425378: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.02498356345: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.5641025641: [0.0], 0.25641025641: [0.0], 0.9677843524: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.62672583826: [0.9615384615385, 0.0384615384615], 0.88839579224: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.4510190664: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.38461538462: [0.0], 0.07692307692: [0.0], 0.77202498356: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.89036817883: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.54125575279: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.58974358974: [0.0], 0.17948717949: [0.0], 0.6134122288: [0.7692307692308, 0.2307692307692], 0.89546351085: [0.7692307692308, 0.2307692307692], 0.60880999343: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.07034845496: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.26775147929: [0.9615384615385, 0.0384615384615], 0.93425378041: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.70348454964: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.99802761341: [0.7692307692308, 0.2307692307692], 0.5318869165: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.22222222222: [0.3333333333333, 0.6666666666667], 0.46088099934: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.30111768573: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.19460880999: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.81393819855: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.52613412229: [0.5769230769231, 0.4230769230769], 0.24786324786: [0.3333333333333, 0.6666666666667], 0.06196581197: [0.8333333333333, 0.1666666666667], 0.08809993425: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.66814595661: [0.1923076923077, 0.8076923076923], 0.84894806049: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.0560486522: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.58185404339: [0.5384615384615, 0.4615384615385], 0.13954635109: [0.9615384615385, 0.0384615384615], 0.37672583826: [0.5384615384615, 0.4615384615385], 0.4036817883: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.52153188692: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.13017751479: [0.8461538461538, 0.1538461538462], 0.35831689678: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.69822485207: [0.3846153846154, 0.6153846153846], 0.99095989481: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.01906640368: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.02843523997: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.62409598948: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.15581854043: [0.8461538461538, 0.1538461538462], 0.80078895464: [0.3846153846154, 0.6153846153846], 0.27498356345: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.6942800789: [0.8461538461538, 0.1538461538462], 0.19082840237: [0.9615384615385, 0.0384615384615], 0.83316896778: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.72666009205: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.71597633136: [0.7692307692308, 0.2307692307692], 0.9033530572: [0.3846153846154, 0.6153846153846], 0.86472715319: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.69181459566: [0.8846153846154, 0.1153846153846], 0.19855358317: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.88445101907: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.25378040763: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.36045364892: [0.1923076923077, 0.8076923076923], 0.2335634451: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.85207100592: [0.3846153846154, 0.6153846153846], 0.53648915187: [0.7692307692308, 0.2307692307692], 0.22419460881: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.07626561473: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.4117357002: [0.1923076923077, 0.8076923076923], 0.96383957922: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.8311965812: [0.8333333333333, 0.1666666666667], 0.24983563445: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.71351084813: [0.3461538461538, 0.6538461538462], 0.82922419461: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.35634451019: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.73767258383: [0.0769230769231, 0.9230769230769], 0.11127547666: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.06245890861: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.30177514793: [0.0769230769231, 0.9230769230769], 0.54963839579: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.29717291256: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.81607495069: [0.3461538461538, 0.6538461538462], 0.26512163051: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.52942143327: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.74358974359: [0.0], 0.49638395792: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.14546351085: [0.2692307692308, 0.7307692307692], 0.0882642998: [0.9615384615385, 0.0384615384615], 0.22879684418: [0.7692307692308, 0.2307692307692], 0.669460881: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.02761341223: [0.8461538461538, 0.1538461538462], 0.31640368179: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.55769230769: [0.5], 0.84615384615: [0.0], 0.94280078896: [0.0769230769231, 0.9230769230769], 0.32429322814: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.40433925049: [0.0769230769231, 0.9230769230769], 0.91666666667: [0.5], 0.27613412229: [0.0769230769231, 0.9230769230769], 0.36768573307: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.44510190664: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.83168967784: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.20989480605: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.91863905325: [0.3461538461538, 0.6538461538462], 0.97386587771: [0.8846153846154, 0.1153846153846], 0.58908612755: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.23553583169: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.05407626562: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.36094674556: [0.8461538461538, 0.1538461538462], 0.89480604865: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.58136094675: [0.2692307692308, 0.7307692307692], 0.56689677844: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.25443786982: [0.7692307692308, 0.2307692307692], 0.9835634451: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.9594017094: [0.8333333333333, 0.1666666666667], 0.34401709402: [0.8333333333333, 0.1666666666667], 0.76923076923: [0.0], 0.64891518738: [0.6923076923077, 0.3076923076923], 0.88905325444: [0.2692307692308, 0.7307692307692], 0.6852399737: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.30571992111: [0.7692307692308, 0.2307692307692], 0.14151873767: [0.5769230769231, 0.4230769230769], 0.53796844182: [0.8846153846154, 0.1153846153846], 0.12557527942: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.75147928994: [0.6923076923077, 0.3076923076923], 0.8869165023: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.23224852071: [0.1923076923077, 0.8076923076923], 0.80358316897: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.71531886917: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.22287968442: [0.5384615384615, 0.4615384615385], 0.15121630506: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.99358974359: [0.5], 0.85404339251: [0.6923076923077, 0.3076923076923], 0.78895463511: [0.0769230769231, 0.9230769230769], 0.24852071006: [0.5384615384615, 0.4615384615385], 0.1768573307: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.04421433268: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.91009204471: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.83777120316: [0.2692307692308, 0.7307692307692], 0.29914529915: [0.3333333333333, 0.6666666666667], 0.40581854043: [0.3461538461538, 0.6538461538462], 0.98027613412: [0.3846153846154, 0.6153846153846], 0.85683760684: [0.8333333333333, 0.1666666666667], 0.5241617357: [0.9615384615385, 0.0384615384615], 0.82527942143: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.08760683761: [0.8333333333333, 0.1666666666667], 0.06048652203: [0.2051282051282, 0.7948717948718, 0.1282051282051, 0.8717948717949], 0.45710059172: [0.3461538461538, 0.6538461538462], 0.14792899408: [0.0769230769231, 0.9230769230769], 0.55506245891: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.00476660092: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.40170940171: [0.3333333333333, 0.6666666666667], 0.51758711374: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.9107495069: [0.5769230769231, 0.4230769230769], 0.258382643: [0.8461538461538, 0.1538461538462], 0.11045364892: [0.6923076923077, 0.3076923076923], 0.17357001972: [0.0769230769231, 0.9230769230769], 0.74835634451: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.65762656147: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.30506245891: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.31048652203: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.40236686391: [0.5384615384615, 0.4615384615385], 0.05325443787: [0.8461538461538, 0.1538461538462], 0.62015121631: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.8711374096: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.1369165023: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.88954635109: [0.5384615384615, 0.4615384615385], 0.19921104537: [0.0769230769231, 0.9230769230769], 0.85880999343: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.90811965812: [0.8333333333333, 0.1666666666667], 0.12754766601: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.98948060487: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.36176857331: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.30719921105: [0.8846153846154, 0.1153846153846], 0.04470742932: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.81147271532: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.97633136095: [0.8461538461538, 0.1538461538462], 0.03829717291: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.82199211045: [0.1923076923077, 0.8076923076923], 0.41305062459: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.34122287968: [0.6923076923077, 0.3076923076923], 0.26972386588: [0.5769230769231, 0.4230769230769], 0.01512163051: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.18819855358: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.55571992111: [0.2692307692308, 0.7307692307692], 0.00279421433: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.79043392505: [0.3461538461538, 0.6538461538462], 0.94033530572: [0.2692307692308, 0.7307692307692], 0.60700197239: [0.2692307692308, 0.7307692307692], 0.78780407627: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.99556213018: [0.3461538461538, 0.6538461538462], 0.2735042735: [0.3333333333333, 0.6666666666667], 0.98307034846: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.49852071006: [0.9615384615385, 0.0384615384615], 0.677843524: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.97912557528: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.70956607495: [0.2692307692308, 0.7307692307692], 0.88510848126: [0.5769230769231, 0.4230769230769], 0.10848126233: [0.3846153846154, 0.6153846153846], 0.60042735043: [0.8333333333333, 0.1666666666667], 0.07495069034: [0.7692307692308, 0.2307692307692], 0.38017751479: [0.3461538461538, 0.6538461538462], 0.56213017752: [0.7692307692308, 0.2307692307692], 0.8553583169: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.52547666009: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.49309664694: [0.3846153846154, 0.6153846153846], 0.35108481262: [0.5384615384615, 0.4615384615385], 0.1452991453: [0.3333333333333, 0.6666666666667], 0.42143326759: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.96203155819: [0.5769230769231, 0.4230769230769], 0.94822485207: [0.8846153846154, 0.1153846153846], 0.68786982249: [0.3461538461538, 0.6538461538462], 0.40318869165: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.13888888889: [0.8333333333333, 0.1666666666667], 0.73307034846: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.98224852071: [0.6923076923077, 0.3076923076923], 0.67537804076: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.45447074293: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.81788297173: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.29322813938: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.54980276134: [0.9615384615385, 0.0384615384615], 0.96531886917: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.51232741617: [0.8846153846154, 0.1153846153846], 0.25575279421: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.92455621302: [0.1923076923077, 0.8076923076923], 0.99293228139: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.90664036818: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.08612754767: [0.2051282051282, 0.7948717948718, 0.1282051282051, 0.8717948717949], 0.65236686391: [0.9615384615385, 0.0384615384615], 0.06640368179: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.8627547666: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.15384615385: [0.0], 0.61489151874: [0.8846153846154, 0.1153846153846], 0.39579224195: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.12623274162: [0.7692307692308, 0.2307692307692], 0.1211374096: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.01725838264: [0.2692307692308, 0.7307692307692], 0.37228796844: [0.5769230769231, 0.4230769230769], 0.50624589086: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.67587113741: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.60831689678: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.53583168968: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.09812623274: [0.3461538461538, 0.6538461538462], 0.39250493097: [0.6923076923077, 0.3076923076923], 0.95792241946: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.26709401709: [0.8333333333333, 0.1666666666667], 0.55555555556: [0.3333333333333, 0.6666666666667], 0.71088099934: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.92504930967: [0.8461538461538, 0.1538461538462], 0.04273504274: [0.3333333333333, 0.6666666666667], 0.63839579224: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.44378698225: [0.6923076923077, 0.3076923076923], 0.60092044707: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.76019066404: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.0486522025: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.77991452992: [0.8333333333333, 0.1666666666667], 0.49589086128: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.74095989481: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.35256410256: [0.5], 0.77794214333: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.90877712032: [0.9615384615385, 0.0384615384615], 0.7818869165: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.22024983563: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.88099934254: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.07429322814: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.01857330704: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.40384615385: [0.5], 0.77071005917: [0.1923076923077, 0.8076923076923], 0.24589086128: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.57478632479: [0.8333333333333, 0.1666666666667], 0.34845496384: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.45512820513: [0.5], 0.58777120316: [0.7692307692308, 0.2307692307692], 0.48717948718: [0.0], 0.55111768573: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.95463510848: [0.3846153846154, 0.6153846153846], 0.58382642998: [0.0769230769231, 0.9230769230769], 0.31558185404: [0.6923076923077, 0.3076923076923], 0.03435239974: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.69033530572: [0.7692307692308, 0.2307692307692], 0.02712031558: [0.1923076923077, 0.8076923076923], 0.45315581854: [0.2692307692308, 0.7307692307692], 0.03632478633: [0.8333333333333, 0.1666666666667], 0.39727153189: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.79289940828: [0.7692307692308, 0.2307692307692], 0.64381985536: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.48520710059: [0.7692307692308, 0.2307692307692], 0.01068376068: [0.8333333333333, 0.1666666666667], 0.16518737673: [0.9615384615385, 0.0384615384615], 0.50049309665: [0.5769230769231, 0.4230769230769], 0.44855358317: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.91715976331: [0.0769230769231, 0.9230769230769], 0.89299802761: [0.3461538461538, 0.6538461538462], 0.51216305063: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.61817882972: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.19658119658: [0.3333333333333, 0.6666666666667], 0.49983563445: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.68376068376: [0.3333333333333, 0.6666666666667], 0.51019066404: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.4268573307: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.87327416174: [0.1923076923077, 0.8076923076923], 0.88050624589: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.02564102564: [0.0], 0.60305719921: [0.5769230769231, 0.4230769230769], 0.68967784352: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.78846153846: [0.5], 0.53057199211: [0.5384615384615, 0.4615384615385], 0.41025641026: [0.0], 0.65220249836: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.74309664694: [0.8846153846154, 0.1153846153846], 0.70562130178: [0.5769230769231, 0.4230769230769], 0.63313609468: [0.5384615384615, 0.4615384615385], 0.59566074951: [0.3846153846154, 0.6153846153846], 0.60634451019: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.0966469428: [0.0769230769231, 0.9230769230769], 0.26117685733: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.5976331361: [0.6923076923077, 0.3076923076923], 0.9600591716: [0.9615384615385, 0.0384615384615], 0.34993425378: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.04076265615: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.36817882972: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.15664036818: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.94214332676: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.43786982249: [0.8461538461538, 0.1538461538462], 0.00920447074: [0.2051282051282, 0.7948717948718, 0.1282051282051, 0.8717948717949], 0.03681788297: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.40121630506: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.76660092045: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.25788954635: [0.1923076923077, 0.8076923076923], 0.18228139382: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.12228796844: [0.0769230769231, 0.9230769230769], 0.07840236686: [0.1923076923077, 0.8076923076923], 0.17291255753: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.45249835635: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.30917159763: [0.1923076923077, 0.8076923076923], 0.29125575279: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.20792241946: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.94806048652: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.508382643: [0.3461538461538, 0.6538461538462], 0.02514792899: [0.8846153846154, 0.1153846153846], 0.08563445102: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.04684418146: [0.3461538461538, 0.6538461538462], 0.04930966469: [0.7692307692308, 0.2307692307692], 0.93967784352: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.28796844182: [0.3846153846154, 0.6153846153846], 0.79224194609: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.91469428008: [0.2692307692308, 0.7307692307692], 0.47287968442: [0.9615384615385, 0.0384615384615], 0.46153846154: [0.0], 0.39381985536: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.06262327416: [0.9615384615385, 0.0384615384615], 0.89677843524: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.56558185404: [0.1923076923077, 0.8076923076923], 0.08481262327: [0.6923076923077, 0.3076923076923], 0.02120315582: [0.3461538461538, 0.6538461538462], 0.64102564103: [0.0], 0.20463510848: [0.8846153846154, 0.1153846153846], 0.13297172913: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.39053254438: [0.3846153846154, 0.6153846153846], 0.11982248521: [0.2692307692308, 0.7307692307692], 0.75476660092: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.80621301775: [0.9615384615385, 0.0384615384615], 0.95989480605: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.23027613412: [0.8846153846154, 0.1153846153846], 0.15861275477: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.29930966469: [0.2692307692308, 0.7307692307692], 0.81196581197: [0.6666666666667, 0.3333333333333], 0.71137409599: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.59894806049: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.18425378041: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.7825443787: [0.5769230769231, 0.4230769230769], 0.91452991453: [0.6666666666667, 0.3333333333333], 0.19723865878: [0.5384615384615, 0.4615384615385], 0.65811965812: [0.3333333333333, 0.6666666666667], 0.59122287968: [0.1923076923077, 0.8076923076923], 0.09598948061: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.73126232742: [0.5769230769231, 0.4230769230769], 0.69378698225: [0.1923076923077, 0.8076923076923], 0.69707429323: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.26906640368: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.15532544379: [0.1923076923077, 0.8076923076923], 0.38198553583: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.4352399737: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.88313609468: [0.9615384615385, 0.0384615384615], 0.1459566075: [0.5384615384615, 0.4615384615385], 0.76084812623: [0.2692307692308, 0.7307692307692], 0.54717291256: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.54635108481: [0.6923076923077, 0.3076923076923], 0.83382642998: [0.5769230769231, 0.4230769230769], 0.83908612755: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.18096646943: [0.1923076923077, 0.8076923076923], 0.03040762656: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.12163050625: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.17159763314: [0.5384615384615, 0.4615384615385], 0.64973701512: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.20660749507: [0.1923076923077, 0.8076923076923], 0.35305719921: [0.0769230769231, 0.9230769230769], 0.25197238659: [0.3461538461538, 0.6538461538462], 0.76282051282: [0.5], 0.71729125575: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.84566074951: [0.8846153846154, 0.1153846153846], 0.96646942801: [0.5384615384615, 0.4615384615385], 0.21433267587: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.30325443787: [0.3461538461538, 0.6538461538462], 0.81985535832: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.53402366864: [0.3461538461538, 0.6538461538462], 0.80999342538: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.56344510191: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.3865877712: [0.8461538461538, 0.1538461538462], 0.23997370151: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.8634122288: [0.2692307692308, 0.7307692307692], 0.35453648915: [0.3461538461538, 0.6538461538462], 0.62869822485: [0.5769230769231, 0.4230769230769], 0.92241946088: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.6365877712: [0.3461538461538, 0.6538461538462], 0.76068376068: [0.3333333333333, 0.6666666666667], 0.89151873767: [0.0769230769231, 0.9230769230769], 0.86735700197: [0.3461538461538, 0.6538461538462], 0.73652202498: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.6536817883: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.37409598948: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.11916502301: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.33333333333: [0.0], 0.60486522025: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.73570019724: [0.5384615384615, 0.4615384615385], 0.57741617357: [0.5769230769231, 0.4230769230769], 0.59253780408: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.58070348455: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.9758382643: [0.1923076923077, 0.8076923076923], 0.09615384615: [0.5], 0.71153846154: [0.5], 0.25920447074: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.86916502301: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.78583168968: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.7976660092: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.69510190664: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.0724852071: [0.3461538461538, 0.6538461538462], 0.83974358974: [0.5], 0.96597633136: [0.2692307692308, 0.7307692307692], 0.4358974359: [0.0], 0.87656147272: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.50493096647: [0.5384615384615, 0.4615384615385], 0.19066403682: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.25591715976: [0.8846153846154, 0.1153846153846], 0.75624589086: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.34467455621: [0.9615384615385, 0.0384615384615], 0.02366863905: [0.7692307692308, 0.2307692307692], 0.62656147272: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.21630506246: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.3959566075: [0.9615384615385, 0.0384615384615], 0.37804076266: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.88888888889: [0.6666666666667, 0.3333333333333], 0.50443786982: [0.2692307692308, 0.7307692307692], 0.2419460881: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.59171597633: [0.8461538461538, 0.1538461538462], 0.44723865878: [0.9615384615385, 0.0384615384615], 0.10733070349: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.57199211045: [0.6923076923077, 0.3076923076923], 0.73701512163: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.96992110454: [0.3461538461538, 0.6538461538462], 0.14727153189: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.90220249836: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.71203155819: [0.0769230769231, 0.9230769230769], 0.75230111769: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.48060486522: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.45496383958: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.41814595661: [0.6923076923077, 0.3076923076923], 0.67455621302: [0.6923076923077, 0.3076923076923], 0.21301775148: [0.6923076923077, 0.3076923076923], 0.30062458909: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.38938198554: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.52794214333: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.24802761341: [0.2692307692308, 0.7307692307692], 0.28205128205: [0.0], 0.77712031558: [0.6923076923077, 0.3076923076923], 0.5399408284: [0.1923076923077, 0.8076923076923], 0.23865877712: [0.6923076923077, 0.3076923076923], 0.17882971729: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.35190664037: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.41896778435: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.44066403682: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.63050624589: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.741617357: [0.7692307692308, 0.2307692307692], 0.4919460881: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.8141025641: [0.5], 0.86324786325: [0.6666666666667, 0.3333333333333], 0.33070348455: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.43737672584: [0.1923076923077, 0.8076923076923], 0.77843523997: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.51479289941: [0.8461538461538, 0.1538461538462], 0.09549638396: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.48915187377: [0.8461538461538, 0.1538461538462], 0.48865877712: [0.1923076923077, 0.8076923076923], 0.57330703485: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.40187376726: [0.2692307692308, 0.7307692307692], 0.60108481262: [0.9615384615385, 0.0384615384615], 0.61735700197: [0.8461538461538, 0.1538461538462], 0.35059171598: [0.2692307692308, 0.7307692307692], 0.43326758711: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.2899408284: [0.6923076923077, 0.3076923076923], 0.58316896778: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.44707429323: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.09467455621: [0.5384615384615, 0.4615384615385], 0.69165023011: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.72074293228: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.76216305063: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.71992110454: [0.8461538461538, 0.1538461538462], 0.34204470743: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.2741617357: [0.5384615384615, 0.4615384615385], 0.22435897436: [0.5], 0.85749506903: [0.9615384615385, 0.0384615384615], 0.70742932281: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.42998027613: [0.0769230769231, 0.9230769230769], 0.14332675871: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.91255752794: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.39332675871: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641]}
averages_odd={0.0: [0.0], 0.25: [0.5], 0.04536489152: [0.0769230769231, 0.9230769230769], 0.12031558185: [0.5384615384615, 0.4615384615385], 0.48126232742: [0.0769230769231, 0.9230769230769], 0.04224194609: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.43392504931: [0.7692307692308, 0.2307692307692], 0.30128205128: [0.5], 0.53007889546: [0.2692307692308, 0.7307692307692], 0.05276134122: [0.1923076923077, 0.8076923076923], 0.99342537804: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.35042735043: [0.3333333333333, 0.6666666666667], 0.82001972387: [0.8846153846154, 0.1153846153846], 0.95348454964: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.39792899408: [0.5769230769231, 0.4230769230769], 0.63264299803: [0.2692307692308, 0.7307692307692], 0.28007889546: [0.7692307692308, 0.2307692307692], 0.96137409599: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.5235042735: [0.8333333333333, 0.1666666666667], 0.0087113741: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.18145956608: [0.8461538461538, 0.1538461538462], 0.17504930967: [0.3461538461538, 0.6538461538462], 0.73520710059: [0.2692307692308, 0.7307692307692], 0.16896778435: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.08284023669: [0.3846153846154, 0.6153846153846], 0.37557527942: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.62606837607: [0.8333333333333, 0.1666666666667], 0.97715318869: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.29470742932: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.65170940171: [0.8333333333333, 0.1666666666667], 0.85092044707: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.20069033531: [0.3461538461538, 0.6538461538462], 0.5325443787: [0.0769230769231, 0.9230769230769], 0.38264299803: [0.7692307692308, 0.2307692307692], 0.03698224852: [0.9615384615385, 0.0384615384615], 0.44460880999: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.34598948061: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.65614727153: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.22633136095: [0.3461538461538, 0.6538461538462], 0.57922419461: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.92258382643: [0.8846153846154, 0.1153846153846], 0.7100591716: [0.5384615384615, 0.4615384615385], 0.6858974359: [0.5], 0.5811965812: [0.3333333333333, 0.6666666666667], 0.7587113741: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.82840236686: [0.6923076923077, 0.3076923076923], 0.67143326759: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.57544378698: [0.9615384615385, 0.0384615384615], 0.34253780408: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.05917159763: [0.6923076923077, 0.3076923076923], 0.09401709402: [0.3333333333333, 0.6666666666667], 0.41617357002: [0.3846153846154, 0.6153846153846], 0.67258382643: [0.3846153846154, 0.6153846153846], 0.67800788955: [0.9615384615385, 0.0384615384615], 0.44921104537: [0.5769230769231, 0.4230769230769], 0.91403681788: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.94230769231: [0.5], 0.42735042735: [0.3333333333333, 0.6666666666667], 0.07100591716: [0.0769230769231, 0.9230769230769], 0.66009204471: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.53139381986: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.74556213018: [0.8461538461538, 0.1538461538462], 0.46301775148: [0.1923076923077, 0.8076923076923], 0.70890861276: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.66666666667: [0.0], 0.06459566075: [0.5769230769231, 0.4230769230769], 0.11965811966: [0.3333333333333, 0.6666666666667], 0.89694280079: [0.8846153846154, 0.1153846153846], 0.33530571992: [0.8461538461538, 0.1538461538462], 0.63395792242: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.84812623274: [0.8461538461538, 0.1538461538462], 0.9684418146: [0.0769230769231, 0.9230769230769], 0.2986522025: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.97435897436: [0.0], 0.38740959895: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.58530571992: [0.3461538461538, 0.6538461538462], 0.52399737015: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.13099934254: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.04339250493: [0.5384615384615, 0.4615384615385], 0.70151216305: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.95069033531: [0.8461538461538, 0.1538461538462], 0.27547666009: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.66403681788: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.43869165023: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.68178829717: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.29536489152: [0.5769230769231, 0.4230769230769], 0.77120315582: [0.8461538461538, 0.1538461538462], 0.20315581854: [0.7692307692308, 0.2307692307692], 0.38412228797: [0.8846153846154, 0.1153846153846], 0.53846153846: [0.0], 0.94871794872: [0.0], 0.48997370151: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.3466469428: [0.5769230769231, 0.4230769230769], 0.43540433925: [0.8846153846154, 0.1153846153846], 0.49506903353: [0.6923076923077, 0.3076923076923], 0.58333333333: [0.5], 0.12771203156: [0.8846153846154, 0.1153846153846], 0.93639053254: [0.5769230769231, 0.4230769230769], 0.51873767258: [0.3846153846154, 0.6153846153846], 0.48668639053: [0.8846153846154, 0.1153846153846], 0.8717948718: [0.0], 0.32544378698: [0.5384615384615, 0.4615384615385], 0.93178829717: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.25049309665: [0.0769230769231, 0.9230769230769], 0.1533530572: [0.8846153846154, 0.1153846153846], 0.57675871137: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.50427350427: [0.3333333333333, 0.6666666666667], 0.52202498356: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.09418145957: [0.2692307692308, 0.7307692307692], 0.87376725838: [0.8461538461538, 0.1538461538462], 0.51282051282: [0.0], 0.17899408284: [0.8846153846154, 0.1153846153846], 0.67932281394: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.5476660092: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.60683760684: [0.3333333333333, 0.6666666666667], 0.3392504931: [0.3846153846154, 0.6153846153846], 0.42800788955: [0.5384615384615, 0.4615384615385], 0.94017094017: [0.6666666666667, 0.3333333333333], 0.82330703485: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.50230111769: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.48011176857: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.66600920447: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.7094017094: [0.3333333333333, 0.6666666666667], 0.73915187377: [0.3461538461538, 0.6538461538462], 0.22172912558: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.78435239974: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.56360946746: [0.8846153846154, 0.1153846153846], 0.74293228139: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.28139381986: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.37015121631: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.1217948718: [0.5], 0.24737015122: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.70364891519: [0.9615384615385, 0.0384615384615], 0.89102564103: [0.5], 0.66617357002: [0.8846153846154, 0.1153846153846], 0.95019723866: [0.1923076923077, 0.8076923076923], 0.33267587114: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.0315581854: [0.3846153846154, 0.6153846153846], 0.1053583169: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.55621301775: [0.5384615384615, 0.4615384615385], 0.12968441815: [0.1923076923077, 0.8076923076923], 0.81854043393: [0.7692307692308, 0.2307692307692], 0.54437869823: [0.3846153846154, 0.6153846153846], 0.47271531887: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.65959894806: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.65877712032: [0.5384615384615, 0.4615384615385], 0.68639053254: [0.0769230769231, 0.9230769230769], 0.10453648915: [0.8461538461538, 0.1538461538462], 0.29273504274: [0.8333333333333, 0.1666666666667], 0.13740959895: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.61538461539: [0.0], 0.33136094675: [0.7692307692308, 0.2307692307692], 0.24408284024: [0.5769230769231, 0.4230769230769], 0.17241946088: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.46942800789: [0.6923076923077, 0.3076923076923], 0.01660092045: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.16305062459: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.16255752794: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.99408284024: [0.0769230769231, 0.9230769230769], 0.61472715319: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.75690335306: [0.5769230769231, 0.4230769230769], 0.19806048652: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.93441814596: [0.9615384615385, 0.0384615384615], 0.99950690335: [0.8846153846154, 0.1153846153846], 0.31886916502: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.91518737673: [0.5384615384615, 0.4615384615385], 0.18869165023: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.56607495069: [0.8461538461538, 0.1538461538462], 0.76857330704: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.93228139382: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.3228139382: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.92587113741: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.22370151216: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.47928994083: [0.5384615384615, 0.4615384615385], 0.68441814596: [0.5384615384615, 0.4615384615385], 0.40762656147: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.76265614727: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.09352399737: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.92110453649: [0.7692307692308, 0.2307692307692], 0.2493425378: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.48076923077: [0.5], 0.74950690335: [0.3846153846154, 0.6153846153846], 0.54322813938: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.80276134122: [0.6923076923077, 0.3076923076923], 0.42537804076: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.07051282051: [0.5], 0.18540433925: [0.3846153846154, 0.6153846153846], 0.70496383958: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.64694280079: [0.3846153846154, 0.6153846153846], 0.94165023011: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.81262327416: [0.5384615384615, 0.4615384615385], 0.89940828402: [0.8461538461538, 0.1538461538462], 0.90861275477: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.21104536489: [0.3846153846154, 0.6153846153846], 0.63445101907: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.03484549638: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.13938198554: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.92899408284: [0.3846153846154, 0.6153846153846], 0.73504273504: [0.6666666666667, 0.3333333333333], 0.89891518738: [0.1923076923077, 0.8076923076923], 0.47419460881: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.49786324786: [0.8333333333333, 0.1666666666667], 0.23668639053: [0.3846153846154, 0.6153846153846], 0.35848126233: [0.8846153846154, 0.1153846153846], 0.16502301118: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.83760683761: [0.6666666666667, 0.3333333333333], 0.29339250493: [0.9615384615385, 0.0384615384615], 0.72863247863: [0.8333333333333, 0.1666666666667], 0.51429980276: [0.1923076923077, 0.8076923076923], 0.39973701512: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.66863905325: [0.8461538461538, 0.1538461538462], 0.65433925049: [0.5769230769231, 0.4230769230769], 0.08168967784: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.32675871137: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.61686390533: [0.1923076923077, 0.8076923076923], 0.86522024984: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.19674556213: [0.2692307692308, 0.7307692307692], 0.13609467456: [0.6923076923077, 0.3076923076923], 0.90614727153: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.63198553583: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.50690335306: [0.0769230769231, 0.9230769230769], 0.12820512821: [0.0], 0.17110453649: [0.2692307692308, 0.7307692307692], 0.71942800789: [0.1923076923077, 0.8076923076923], 0.1617357002: [0.6923076923077, 0.3076923076923], 0.9993425378: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.60946745562: [0.0769230769231, 0.9230769230769], 0.28681788297: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.01972386588: [0.0769230769231, 0.9230769230769], 0.18737672584: [0.6923076923077, 0.3076923076923], 0.11587771203: [0.5769230769231, 0.4230769230769], 0.33809993425: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.22238658777: [0.2692307692308, 0.7307692307692], 0.80555555556: [0.8333333333333, 0.1666666666667], 0.98553583169: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.28353057199: [0.1923076923077, 0.8076923076923], 0.78040762656: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.75427350427: [0.8333333333333, 0.1666666666667], 0.07642998028: [0.8846153846154, 0.1153846153846], 0.80752794214: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.47813938199: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.33481262327: [0.1923076923077, 0.8076923076923], 0.46351084813: [0.8461538461538, 0.1538461538462], 0.84549638396: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.40976331361: [0.8846153846154, 0.1153846153846], 0.27942143327: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.87130177515: [0.8846153846154, 0.1153846153846], 0.09204470743: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.64036817883: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.47485207101: [0.5769230769231, 0.4230769230769], 0.5570348455: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.66222879684: [0.3461538461538, 0.6538461538462], 0.14743589744: [0.5], 0.419460881: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.06903353057: [0.5384615384615, 0.4615384615385], 0.36489151874: [0.3846153846154, 0.6153846153846], 0.98504273504: [0.8333333333333, 0.1666666666667], 0.30769230769: [0.0], 0.17307692308: [0.5], 0.11768573307: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.32741617357: [0.0769230769231, 0.9230769230769], 0.10404339251: [0.1923076923077, 0.8076923076923], 0.29076265615: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.19871794872: [0.5], 0.8476331361: [0.1923076923077, 0.8076923076923], 0.97238658777: [0.7692307692308, 0.2307692307692], 0.00591715976: [0.3846153846154, 0.6153846153846], 0.68573307035: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.4674556213: [0.3846153846154, 0.6153846153846], 0.86587771203: [0.0769230769231, 0.9230769230769], 0.45562130178: [0.0769230769231, 0.9230769230769], 0.37623274162: [0.2692307692308, 0.7307692307692], 0.24145299145: [0.8333333333333, 0.1666666666667], 0.64053254438: [0.8846153846154, 0.1153846153846], 0.89086127548: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.4275147929: [0.2692307692308, 0.7307692307692], 0.87458908613: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.7258382643: [0.6923076923077, 0.3076923076923], 0.05128205128: [0.0], 0.74506903353: [0.1923076923077, 0.8076923076923], 0.66025641026: [0.5], 0.47879684418: [0.2692307692308, 0.7307692307692], 0.83185404339: [0.9615384615385, 0.0384615384615], 0.11522024984: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.63510848126: [0.0769230769231, 0.9230769230769], 0.59845496384: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.14940828402: [0.3461538461538, 0.6538461538462], 0.86127547666: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.77514792899: [0.3846153846154, 0.6153846153846], 0.91600920447: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.92044707429: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.04487179487: [0.5], 0.14677843524: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.05719921105: [0.3846153846154, 0.6153846153846], 0.70019723866: [0.6923076923077, 0.3076923076923], 0.87771203156: [0.3846153846154, 0.6153846153846], 0.84023668639: [0.0769230769231, 0.9230769230769], 0.55358316897: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.72912557528: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.47222222222: [0.8333333333333, 0.1666666666667], 0.81213017752: [0.2692307692308, 0.7307692307692], 0.55752794214: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.32889546351: [0.3461538461538, 0.6538461538462], 0.62130177515: [0.3846153846154, 0.6153846153846], 0.2177843524: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.88297172913: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.37606837607: [0.3333333333333, 0.6666666666667], 0.01709401709: [0.3333333333333, 0.6666666666667], 0.06837606838: [0.3333333333333, 0.6666666666667], 0.6127547666: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.37031558185: [0.9615384615385, 0.0384615384615], 0.24342537804: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.48274161736: [0.3461538461538, 0.6538461538462], 0.35897435897: [0.0], 0.32478632479: [0.3333333333333, 0.6666666666667], 0.43145956608: [0.3461538461538, 0.6538461538462], 0.70299145299: [0.8333333333333, 0.1666666666667], 0.54043392505: [0.8461538461538, 0.1538461538462], 0.50378040763: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.80818540434: [0.5769230769231, 0.4230769230769], 0.50641025641: [0.5], 0.55966469428: [0.3461538461538, 0.6538461538462], 0.64299802761: [0.8461538461538, 0.1538461538462], 0.10256410256: [0.0], 0.20512820513: [0.0], 0.17094017094: [0.3333333333333, 0.6666666666667], 0.28484549638: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.94674556213: [0.7692307692308, 0.2307692307692], 0.76134122288: [0.5384615384615, 0.4615384615385], 0.06985535832: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.74638395792: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.76873767258: [0.8846153846154, 0.1153846153846], 0.23076923077: [0.0], 0.98701512163: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.33612754767: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.79635108481: [0.1923076923077, 0.8076923076923], 0.76479289941: [0.3461538461538, 0.6538461538462], 0.87968441815: [0.6923076923077, 0.3076923076923], 0.29980276134: [0.5384615384615, 0.4615384615385], 0.2815581854: [0.8846153846154, 0.1153846153846], 0.02301117686: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.90532544379: [0.6923076923077, 0.3076923076923], 0.91650230112: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.33284023669: [0.8846153846154, 0.1153846153846], 0.42159763314: [0.9615384615385, 0.0384615384615], 0.56886916502: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.0895792242: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.38609467456: [0.1923076923077, 0.8076923076923], 0.42948717949: [0.5], 0.44181459566: [0.3846153846154, 0.6153846153846], 0.42291255753: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.1137409599: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.48652202498: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.03895463511: [0.5769230769231, 0.4230769230769], 0.79684418146: [0.8461538461538, 0.1538461538462], 0.65828402367: [0.2692307692308, 0.7307692307692], 0.01775147929: [0.5384615384615, 0.4615384615385], 0.99211045365: [0.5384615384615, 0.4615384615385], 0.54914529915: [0.8333333333333, 0.1666666666667], 0.82051282051: [0.0], 0.06854043393: [0.2692307692308, 0.7307692307692], 0.04289940828: [0.2692307692308, 0.7307692307692], 0.01134122288: [0.9615384615385, 0.0384615384615], 0.32626561473: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.21646942801: [0.9615384615385, 0.0384615384615], 0.83711374096: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.06788297173: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.14480604865: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.20710059172: [0.8461538461538, 0.1538461538462], 0.31903353057: [0.9615384615385, 0.0384615384615], 0.86390532544: [0.5384615384615, 0.4615384615385], 0.86538461539: [0.5], 0.01331360947: [0.5769230769231, 0.4230769230769], 0.37754766601: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.24211045365: [0.9615384615385, 0.0384615384615], 0.46630506246: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.17044707429: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.23274161736: [0.8461538461538, 0.1538461538462], 0.61094674556: [0.3461538461538, 0.6538461538462], 0.42882971729: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.927843524: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.26758711374: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.19608809993: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.95151216305: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.82642998028: [0.3846153846154, 0.6153846153846], 0.07971729126: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.47863247863: [0.3333333333333, 0.6666666666667], 0.10190664037: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.3952991453: [0.8333333333333, 0.1666666666667], 0.26429980276: [0.6923076923077, 0.3076923076923], 0.96794871795: [0.5], 0.79963839579: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.16715976331: [0.5769230769231, 0.4230769230769], 0.45890861276: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.78648915187: [0.2692307692308, 0.7307692307692], 0.92307692308: [0.0], 0.07889546351: [0.8461538461538, 0.1538461538462], 0.59451019066: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.8382642998: [0.5384615384615, 0.4615384615385], 0.51561472715: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.99145299145: [0.6666666666667, 0.3333333333333], 0.19280078896: [0.5769230769231, 0.4230769230769], 0.7345496384: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.36686390533: [0.6923076923077, 0.3076923076923], 0.96729125575: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.11390532544: [0.9615384615385, 0.0384615384615], 0.88247863248: [0.8333333333333, 0.1666666666667], 0.62458908613: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.90023011177: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.2184418146: [0.5769230769231, 0.4230769230769], 0.27564102564: [0.5], 0.35239973702: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.81459566075: [0.0769230769231, 0.9230769230769], 0.83563445102: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.56147271532: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.72715318869: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.47024983563: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.69230769231: [0.0], 0.32692307692: [0.5], 0.60897435897: [0.5], 0.85946745562: [0.5769230769231, 0.4230769230769], 0.82971729126: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.47074293228: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.27153188692: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.37820512821: [0.5], 0.03353057199: [0.6923076923077, 0.3076923076923], 0.68392504931: [0.2692307692308, 0.7307692307692], 0.98767258383: [0.5769230769231, 0.4230769230769], 0.5728139382: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.75279421433: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.77399737015: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.44658119658: [0.8333333333333, 0.1666666666667], 0.13412228797: [0.3846153846154, 0.6153846153846], 0.35700197239: [0.7692307692308, 0.2307692307692], 0.06393819855: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.67735042735: [0.8333333333333, 0.1666666666667], 0.32034845496: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.37869822485: [0.0769230769231, 0.9230769230769], 0.15976331361: [0.3846153846154, 0.6153846153846], 0.60239973702: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.10207100592: [0.8846153846154, 0.1153846153846], 0.52991452992: [0.3333333333333, 0.6666666666667], 0.37163050625: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.55818540434: [0.0769230769231, 0.9230769230769], 0.84171597633: [0.3461538461538, 0.6538461538462], 0.75493096647: [0.9615384615385, 0.0384615384615], 0.34451019066: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.45956607495: [0.7692307692308, 0.2307692307692], 0.63247863248: [0.3333333333333, 0.6666666666667], 0.58711374096: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.01265614727: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.05062458909: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.9442800789: [0.3461538461538, 0.6538461538462], 0.6607495069: [0.0769230769231, 0.9230769230769], 0.93819855358: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.99737015122: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.95742932281: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.79487179487: [0.0], 0.22813938199: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.5892504931: [0.8846153846154, 0.1153846153846], 0.52071005917: [0.6923076923077, 0.3076923076923], 0.65023011177: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.55177514793: [0.5769230769231, 0.4230769230769], 0.72928994083: [0.9615384615385, 0.0384615384615], 0.72386587771: [0.3846153846154, 0.6153846153846], 0.45299145299: [0.3333333333333, 0.6666666666667], 0.11324786325: [0.8333333333333, 0.1666666666667], 0.63905325444: [0.7692307692308, 0.2307692307692], 0.30966469428: [0.8461538461538, 0.1538461538462], 0.00147928994: [0.1923076923077, 0.8076923076923], 0.42932281394: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.58267587114: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.05999342538: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.27301117686: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.72271531887: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.09023668639: [0.5769230769231, 0.4230769230769], 0.22485207101: [0.0769230769231, 0.9230769230769], 0.40828402367: [0.7692307692308, 0.2307692307692], 0.78698224852: [0.5384615384615, 0.4615384615385], 0.15318869165: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.57527942143: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.41222879684: [0.8461538461538, 0.1538461538462], 0.80407626562: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.79437869823: [0.8846153846154, 0.1153846153846], 0.53780407627: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.01117685733: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.31245890861: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.46433267587: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.50575279421: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.32100591716: [0.5769230769231, 0.4230769230769], 0.85486522025: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.21383957922: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.76331360947: [0.0769230769231, 0.9230769230769], 0.68326758711: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.20447074293: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.53205128205: [0.5], 0.26561472715: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.00788954635: [0.6923076923077, 0.3076923076923], 0.28402366864: [0.8461538461538, 0.1538461538462], 0.93376068376: [0.8333333333333, 0.1666666666667], 0.23948060487: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.46104536489: [0.8846153846154, 0.1153846153846], 0.4845496384: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.23011176857: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.63461538462: [0.5], 0.31689677844: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.62327416174: [0.6923076923077, 0.3076923076923], 0.42357001972: [0.5769230769231, 0.4230769230769], 0.95660749507: [0.6923076923077, 0.3076923076923], 0.26232741617: [0.3846153846154, 0.6153846153846], 0.73717948718: [0.5], 0.66469428008: [0.7692307692308, 0.2307692307692], 0.62804076266: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.31360946746: [0.3846153846154, 0.6153846153846], 0.10059171598: [0.7692307692308, 0.2307692307692], 0.64579224195: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.76725838264: [0.7692307692308, 0.2307692307692], 0.8395792242: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.73060486522: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.71794871795: [0.0], 0.97172912558: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.16452991453: [0.8333333333333, 0.1666666666667], 0.45364891519: [0.5384615384615, 0.4615384615385], 0.01923076923: [0.5], 0.991617357: [0.2692307692308, 0.7307692307692], 0.86982248521: [0.7692307692308, 0.2307692307692], 0.27366863905: [0.2692307692308, 0.7307692307692], 0.38395792242: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.19017094017: [0.8333333333333, 0.1666666666667], 0.97370151216: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.96581196581: [0.6666666666667, 0.3333333333333], 0.81344510191: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.3637409599: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.78057199211: [0.9615384615385, 0.0384615384615], 0.8224852071: [0.8461538461538, 0.1538461538462], 0.32495069034: [0.2692307692308, 0.7307692307692], 0.3070348455: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.47666009205: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.21581196581: [0.8333333333333, 0.1666666666667], 0.93096646943: [0.6923076923077, 0.3076923076923], 0.00197238659: [0.8461538461538, 0.1538461538462], 0.89743589744: [0.0], 0.7174556213: [0.8846153846154, 0.1153846153846], 0.94082840237: [0.5384615384615, 0.4615384615385], 0.20249835635: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.67998027613: [0.5769230769231, 0.4230769230769], 0.11176857331: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.60749506903: [0.5384615384615, 0.4615384615385], 0.15187376726: [0.7692307692308, 0.2307692307692], 0.64250493097: [0.1923076923077, 0.8076923076923], 0.79421433268: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.57001972387: [0.3846153846154, 0.6153846153846], 0.40959894806: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.49835634451: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.7010190664: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.1775147929: [0.7692307692308, 0.2307692307692], 0.78632478633: [0.3333333333333, 0.6666666666667], 0.51084812623: [0.7692307692308, 0.2307692307692], 0.31837606838: [0.8333333333333, 0.1666666666667], 0.14086127548: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.78829717291: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.05078895464: [0.8846153846154, 0.1153846153846], 0.85733070349: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.12376725838: [0.3461538461538, 0.6538461538462], 0.36965811966: [0.8333333333333, 0.1666666666667], 0.93573307035: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.84418145957: [0.7692307692308, 0.2307692307692], 0.16650230112: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.84352399737: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.42094017094: [0.8333333333333, 0.1666666666667], 0.8060486522: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.27761341223: [0.3461538461538, 0.6538461538462], 0.19214332676: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.94608809993: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.41502301118: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.98570019724: [0.9615384615385, 0.0384615384615], 0.09993425378: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.02498356345: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.5641025641: [0.0], 0.25641025641: [0.0], 0.9677843524: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.62672583826: [0.9615384615385, 0.0384615384615], 0.88839579224: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.4510190664: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.38461538462: [0.0], 0.07692307692: [0.0], 0.77202498356: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.89036817883: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.54125575279: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.58974358974: [0.0], 0.17948717949: [0.0], 0.6134122288: [0.7692307692308, 0.2307692307692], 0.89546351085: [0.7692307692308, 0.2307692307692], 0.60880999343: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.07034845496: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.26775147929: [0.9615384615385, 0.0384615384615], 0.93425378041: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.70348454964: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.99802761341: [0.7692307692308, 0.2307692307692], 0.5318869165: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.22222222222: [0.3333333333333, 0.6666666666667], 0.46088099934: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.30111768573: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.19460880999: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.81393819855: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.52613412229: [0.5769230769231, 0.4230769230769], 0.24786324786: [0.3333333333333, 0.6666666666667], 0.06196581197: [0.8333333333333, 0.1666666666667], 0.08809993425: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.66814595661: [0.1923076923077, 0.8076923076923], 0.84894806049: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.0560486522: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.58185404339: [0.5384615384615, 0.4615384615385], 0.13954635109: [0.9615384615385, 0.0384615384615], 0.37672583826: [0.5384615384615, 0.4615384615385], 0.4036817883: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.52153188692: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.13017751479: [0.8461538461538, 0.1538461538462], 0.35831689678: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.69822485207: [0.3846153846154, 0.6153846153846], 0.99095989481: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.01906640368: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.02843523997: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.62409598948: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.15581854043: [0.8461538461538, 0.1538461538462], 0.80078895464: [0.3846153846154, 0.6153846153846], 0.27498356345: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.6942800789: [0.8461538461538, 0.1538461538462], 0.19082840237: [0.9615384615385, 0.0384615384615], 0.83316896778: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.72666009205: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.71597633136: [0.7692307692308, 0.2307692307692], 0.9033530572: [0.3846153846154, 0.6153846153846], 0.86472715319: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.69181459566: [0.8846153846154, 0.1153846153846], 0.19855358317: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.88445101907: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.25378040763: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.36045364892: [0.1923076923077, 0.8076923076923], 0.2335634451: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.85207100592: [0.3846153846154, 0.6153846153846], 0.53648915187: [0.7692307692308, 0.2307692307692], 0.22419460881: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.07626561473: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.4117357002: [0.1923076923077, 0.8076923076923], 0.96383957922: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.8311965812: [0.8333333333333, 0.1666666666667], 0.24983563445: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.71351084813: [0.3461538461538, 0.6538461538462], 0.82922419461: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.35634451019: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.73767258383: [0.0769230769231, 0.9230769230769], 0.11127547666: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.06245890861: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.30177514793: [0.0769230769231, 0.9230769230769], 0.54963839579: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.29717291256: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.81607495069: [0.3461538461538, 0.6538461538462], 0.26512163051: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.52942143327: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.74358974359: [0.0], 0.49638395792: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.14546351085: [0.2692307692308, 0.7307692307692], 0.0882642998: [0.9615384615385, 0.0384615384615], 0.22879684418: [0.7692307692308, 0.2307692307692], 0.669460881: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.02761341223: [0.8461538461538, 0.1538461538462], 0.31640368179: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.55769230769: [0.5], 0.84615384615: [0.0], 0.94280078896: [0.0769230769231, 0.9230769230769], 0.32429322814: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.40433925049: [0.0769230769231, 0.9230769230769], 0.91666666667: [0.5], 0.27613412229: [0.0769230769231, 0.9230769230769], 0.36768573307: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.44510190664: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.83168967784: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.20989480605: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.91863905325: [0.3461538461538, 0.6538461538462], 0.97386587771: [0.8846153846154, 0.1153846153846], 0.58908612755: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.23553583169: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.05407626562: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.36094674556: [0.8461538461538, 0.1538461538462], 0.89480604865: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.58136094675: [0.2692307692308, 0.7307692307692], 0.56689677844: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.25443786982: [0.7692307692308, 0.2307692307692], 0.9835634451: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.9594017094: [0.8333333333333, 0.1666666666667], 0.34401709402: [0.8333333333333, 0.1666666666667], 0.76923076923: [0.0], 0.64891518738: [0.6923076923077, 0.3076923076923], 0.88905325444: [0.2692307692308, 0.7307692307692], 0.6852399737: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.30571992111: [0.7692307692308, 0.2307692307692], 0.14151873767: [0.5769230769231, 0.4230769230769], 0.53796844182: [0.8846153846154, 0.1153846153846], 0.12557527942: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.75147928994: [0.6923076923077, 0.3076923076923], 0.8869165023: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.23224852071: [0.1923076923077, 0.8076923076923], 0.80358316897: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.71531886917: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.22287968442: [0.5384615384615, 0.4615384615385], 0.15121630506: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.99358974359: [0.5], 0.85404339251: [0.6923076923077, 0.3076923076923], 0.78895463511: [0.0769230769231, 0.9230769230769], 0.24852071006: [0.5384615384615, 0.4615384615385], 0.1768573307: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.04421433268: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.91009204471: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.83777120316: [0.2692307692308, 0.7307692307692], 0.29914529915: [0.3333333333333, 0.6666666666667], 0.40581854043: [0.3461538461538, 0.6538461538462], 0.98027613412: [0.3846153846154, 0.6153846153846], 0.85683760684: [0.8333333333333, 0.1666666666667], 0.5241617357: [0.9615384615385, 0.0384615384615], 0.82527942143: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.08760683761: [0.8333333333333, 0.1666666666667], 0.06048652203: [0.2051282051282, 0.7948717948718, 0.1282051282051, 0.8717948717949], 0.45710059172: [0.3461538461538, 0.6538461538462], 0.14792899408: [0.0769230769231, 0.9230769230769], 0.55506245891: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.00476660092: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.40170940171: [0.3333333333333, 0.6666666666667], 0.51758711374: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.9107495069: [0.5769230769231, 0.4230769230769], 0.258382643: [0.8461538461538, 0.1538461538462], 0.11045364892: [0.6923076923077, 0.3076923076923], 0.17357001972: [0.0769230769231, 0.9230769230769], 0.74835634451: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.65762656147: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.30506245891: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.31048652203: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.40236686391: [0.5384615384615, 0.4615384615385], 0.05325443787: [0.8461538461538, 0.1538461538462], 0.62015121631: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.8711374096: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.1369165023: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.88954635109: [0.5384615384615, 0.4615384615385], 0.19921104537: [0.0769230769231, 0.9230769230769], 0.85880999343: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.90811965812: [0.8333333333333, 0.1666666666667], 0.12754766601: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.98948060487: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.36176857331: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.30719921105: [0.8846153846154, 0.1153846153846], 0.04470742932: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.81147271532: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.97633136095: [0.8461538461538, 0.1538461538462], 0.03829717291: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.82199211045: [0.1923076923077, 0.8076923076923], 0.41305062459: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.34122287968: [0.6923076923077, 0.3076923076923], 0.26972386588: [0.5769230769231, 0.4230769230769], 0.01512163051: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.18819855358: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.55571992111: [0.2692307692308, 0.7307692307692], 0.00279421433: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.79043392505: [0.3461538461538, 0.6538461538462], 0.94033530572: [0.2692307692308, 0.7307692307692], 0.60700197239: [0.2692307692308, 0.7307692307692], 0.78780407627: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.99556213018: [0.3461538461538, 0.6538461538462], 0.2735042735: [0.3333333333333, 0.6666666666667], 0.98307034846: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.49852071006: [0.9615384615385, 0.0384615384615], 0.677843524: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.97912557528: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.70956607495: [0.2692307692308, 0.7307692307692], 0.88510848126: [0.5769230769231, 0.4230769230769], 0.10848126233: [0.3846153846154, 0.6153846153846], 0.60042735043: [0.8333333333333, 0.1666666666667], 0.07495069034: [0.7692307692308, 0.2307692307692], 0.38017751479: [0.3461538461538, 0.6538461538462], 0.56213017752: [0.7692307692308, 0.2307692307692], 0.8553583169: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.52547666009: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.49309664694: [0.3846153846154, 0.6153846153846], 0.35108481262: [0.5384615384615, 0.4615384615385], 0.1452991453: [0.3333333333333, 0.6666666666667], 0.42143326759: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.96203155819: [0.5769230769231, 0.4230769230769], 0.94822485207: [0.8846153846154, 0.1153846153846], 0.68786982249: [0.3461538461538, 0.6538461538462], 0.40318869165: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.13888888889: [0.8333333333333, 0.1666666666667], 0.73307034846: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.98224852071: [0.6923076923077, 0.3076923076923], 0.67537804076: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.45447074293: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.81788297173: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.29322813938: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.54980276134: [0.9615384615385, 0.0384615384615], 0.96531886917: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.51232741617: [0.8846153846154, 0.1153846153846], 0.25575279421: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.92455621302: [0.1923076923077, 0.8076923076923], 0.99293228139: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.90664036818: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.08612754767: [0.2051282051282, 0.7948717948718, 0.1282051282051, 0.8717948717949], 0.65236686391: [0.9615384615385, 0.0384615384615], 0.06640368179: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.8627547666: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.15384615385: [0.0], 0.61489151874: [0.8846153846154, 0.1153846153846], 0.39579224195: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.12623274162: [0.7692307692308, 0.2307692307692], 0.1211374096: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.01725838264: [0.2692307692308, 0.7307692307692], 0.37228796844: [0.5769230769231, 0.4230769230769], 0.50624589086: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.67587113741: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.60831689678: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.53583168968: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.09812623274: [0.3461538461538, 0.6538461538462], 0.39250493097: [0.6923076923077, 0.3076923076923], 0.95792241946: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.26709401709: [0.8333333333333, 0.1666666666667], 0.55555555556: [0.3333333333333, 0.6666666666667], 0.71088099934: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.92504930967: [0.8461538461538, 0.1538461538462], 0.04273504274: [0.3333333333333, 0.6666666666667], 0.63839579224: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.44378698225: [0.6923076923077, 0.3076923076923], 0.60092044707: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.76019066404: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.0486522025: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.77991452992: [0.8333333333333, 0.1666666666667], 0.49589086128: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.74095989481: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.35256410256: [0.5], 0.77794214333: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.90877712032: [0.9615384615385, 0.0384615384615], 0.7818869165: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.22024983563: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.88099934254: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.07429322814: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.01857330704: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.40384615385: [0.5], 0.77071005917: [0.1923076923077, 0.8076923076923], 0.24589086128: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.57478632479: [0.8333333333333, 0.1666666666667], 0.34845496384: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.45512820513: [0.5], 0.58777120316: [0.7692307692308, 0.2307692307692], 0.48717948718: [0.0], 0.55111768573: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.95463510848: [0.3846153846154, 0.6153846153846], 0.58382642998: [0.0769230769231, 0.9230769230769], 0.31558185404: [0.6923076923077, 0.3076923076923], 0.03435239974: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.69033530572: [0.7692307692308, 0.2307692307692], 0.02712031558: [0.1923076923077, 0.8076923076923], 0.45315581854: [0.2692307692308, 0.7307692307692], 0.03632478633: [0.8333333333333, 0.1666666666667], 0.39727153189: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.79289940828: [0.7692307692308, 0.2307692307692], 0.64381985536: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.48520710059: [0.7692307692308, 0.2307692307692], 0.01068376068: [0.8333333333333, 0.1666666666667], 0.16518737673: [0.9615384615385, 0.0384615384615], 0.50049309665: [0.5769230769231, 0.4230769230769], 0.44855358317: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.91715976331: [0.0769230769231, 0.9230769230769], 0.89299802761: [0.3461538461538, 0.6538461538462], 0.51216305063: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.61817882972: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.19658119658: [0.3333333333333, 0.6666666666667], 0.49983563445: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.68376068376: [0.3333333333333, 0.6666666666667], 0.51019066404: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.4268573307: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.87327416174: [0.1923076923077, 0.8076923076923], 0.88050624589: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.02564102564: [0.0], 0.60305719921: [0.5769230769231, 0.4230769230769], 0.68967784352: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.78846153846: [0.5], 0.53057199211: [0.5384615384615, 0.4615384615385], 0.41025641026: [0.0], 0.65220249836: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.74309664694: [0.8846153846154, 0.1153846153846], 0.70562130178: [0.5769230769231, 0.4230769230769], 0.63313609468: [0.5384615384615, 0.4615384615385], 0.59566074951: [0.3846153846154, 0.6153846153846], 0.60634451019: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.0966469428: [0.0769230769231, 0.9230769230769], 0.26117685733: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.5976331361: [0.6923076923077, 0.3076923076923], 0.9600591716: [0.9615384615385, 0.0384615384615], 0.34993425378: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.04076265615: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.36817882972: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.15664036818: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.94214332676: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.43786982249: [0.8461538461538, 0.1538461538462], 0.00920447074: [0.2051282051282, 0.7948717948718, 0.1282051282051, 0.8717948717949], 0.03681788297: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.40121630506: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.76660092045: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.25788954635: [0.1923076923077, 0.8076923076923], 0.18228139382: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.12228796844: [0.0769230769231, 0.9230769230769], 0.07840236686: [0.1923076923077, 0.8076923076923], 0.17291255753: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.45249835635: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.30917159763: [0.1923076923077, 0.8076923076923], 0.29125575279: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.20792241946: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.94806048652: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.508382643: [0.3461538461538, 0.6538461538462], 0.02514792899: [0.8846153846154, 0.1153846153846], 0.08563445102: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.04684418146: [0.3461538461538, 0.6538461538462], 0.04930966469: [0.7692307692308, 0.2307692307692], 0.93967784352: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.28796844182: [0.3846153846154, 0.6153846153846], 0.79224194609: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.91469428008: [0.2692307692308, 0.7307692307692], 0.47287968442: [0.9615384615385, 0.0384615384615], 0.46153846154: [0.0], 0.39381985536: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.06262327416: [0.9615384615385, 0.0384615384615], 0.89677843524: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.56558185404: [0.1923076923077, 0.8076923076923], 0.08481262327: [0.6923076923077, 0.3076923076923], 0.02120315582: [0.3461538461538, 0.6538461538462], 0.64102564103: [0.0], 0.20463510848: [0.8846153846154, 0.1153846153846], 0.13297172913: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.39053254438: [0.3846153846154, 0.6153846153846], 0.11982248521: [0.2692307692308, 0.7307692307692], 0.75476660092: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.80621301775: [0.9615384615385, 0.0384615384615], 0.95989480605: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.23027613412: [0.8846153846154, 0.1153846153846], 0.15861275477: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.29930966469: [0.2692307692308, 0.7307692307692], 0.81196581197: [0.6666666666667, 0.3333333333333], 0.71137409599: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.59894806049: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.18425378041: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.7825443787: [0.5769230769231, 0.4230769230769], 0.91452991453: [0.6666666666667, 0.3333333333333], 0.19723865878: [0.5384615384615, 0.4615384615385], 0.65811965812: [0.3333333333333, 0.6666666666667], 0.59122287968: [0.1923076923077, 0.8076923076923], 0.09598948061: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.73126232742: [0.5769230769231, 0.4230769230769], 0.69378698225: [0.1923076923077, 0.8076923076923], 0.69707429323: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.26906640368: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.15532544379: [0.1923076923077, 0.8076923076923], 0.38198553583: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.4352399737: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.88313609468: [0.9615384615385, 0.0384615384615], 0.1459566075: [0.5384615384615, 0.4615384615385], 0.76084812623: [0.2692307692308, 0.7307692307692], 0.54717291256: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.54635108481: [0.6923076923077, 0.3076923076923], 0.83382642998: [0.5769230769231, 0.4230769230769], 0.83908612755: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.18096646943: [0.1923076923077, 0.8076923076923], 0.03040762656: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.12163050625: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.17159763314: [0.5384615384615, 0.4615384615385], 0.64973701512: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.20660749507: [0.1923076923077, 0.8076923076923], 0.35305719921: [0.0769230769231, 0.9230769230769], 0.25197238659: [0.3461538461538, 0.6538461538462], 0.76282051282: [0.5], 0.71729125575: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.84566074951: [0.8846153846154, 0.1153846153846], 0.96646942801: [0.5384615384615, 0.4615384615385], 0.21433267587: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.30325443787: [0.3461538461538, 0.6538461538462], 0.81985535832: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.53402366864: [0.3461538461538, 0.6538461538462], 0.80999342538: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.56344510191: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.3865877712: [0.8461538461538, 0.1538461538462], 0.23997370151: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.8634122288: [0.2692307692308, 0.7307692307692], 0.35453648915: [0.3461538461538, 0.6538461538462], 0.62869822485: [0.5769230769231, 0.4230769230769], 0.92241946088: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.6365877712: [0.3461538461538, 0.6538461538462], 0.76068376068: [0.3333333333333, 0.6666666666667], 0.89151873767: [0.0769230769231, 0.9230769230769], 0.86735700197: [0.3461538461538, 0.6538461538462], 0.73652202498: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.6536817883: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.37409598948: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.11916502301: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.33333333333: [0.0], 0.60486522025: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.73570019724: [0.5384615384615, 0.4615384615385], 0.57741617357: [0.5769230769231, 0.4230769230769], 0.59253780408: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.58070348455: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.9758382643: [0.1923076923077, 0.8076923076923], 0.09615384615: [0.5], 0.71153846154: [0.5], 0.25920447074: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.86916502301: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.78583168968: [0.4487179487179, 0.7820512820513, 0.5512820512821, 0.2179487179487], 0.7976660092: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.69510190664: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.0724852071: [0.3461538461538, 0.6538461538462], 0.83974358974: [0.5], 0.96597633136: [0.2692307692308, 0.7307692307692], 0.4358974359: [0.0], 0.87656147272: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.50493096647: [0.5384615384615, 0.4615384615385], 0.19066403682: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.25591715976: [0.8846153846154, 0.1153846153846], 0.75624589086: [0.0128205128205, 0.3205128205128, 0.9871794871795, 0.6794871794872], 0.34467455621: [0.9615384615385, 0.0384615384615], 0.02366863905: [0.7692307692308, 0.2307692307692], 0.62656147272: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.21630506246: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.3959566075: [0.9615384615385, 0.0384615384615], 0.37804076266: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.88888888889: [0.6666666666667, 0.3333333333333], 0.50443786982: [0.2692307692308, 0.7307692307692], 0.2419460881: [0.2564102564103, 0.5897435897436, 0.7435897435897, 0.4102564102564], 0.59171597633: [0.8461538461538, 0.1538461538462], 0.44723865878: [0.9615384615385, 0.0384615384615], 0.10733070349: [0.7564102564103, 0.9102564102564, 0.0897435897436, 0.2435897435897], 0.57199211045: [0.6923076923077, 0.3076923076923], 0.73701512163: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.96992110454: [0.3461538461538, 0.6538461538462], 0.14727153189: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.90220249836: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.71203155819: [0.0769230769231, 0.9230769230769], 0.75230111769: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.48060486522: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.45496383958: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.41814595661: [0.6923076923077, 0.3076923076923], 0.67455621302: [0.6923076923077, 0.3076923076923], 0.21301775148: [0.6923076923077, 0.3076923076923], 0.30062458909: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.38938198554: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.52794214333: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.24802761341: [0.2692307692308, 0.7307692307692], 0.28205128205: [0.0], 0.77712031558: [0.6923076923077, 0.3076923076923], 0.5399408284: [0.1923076923077, 0.8076923076923], 0.23865877712: [0.6923076923077, 0.3076923076923], 0.17882971729: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.35190664037: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.41896778435: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.44066403682: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.63050624589: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.741617357: [0.7692307692308, 0.2307692307692], 0.4919460881: [0.7564102564103, 0.2435897435897, 0.0897435897436, 0.9102564102564], 0.8141025641: [0.5], 0.86324786325: [0.6666666666667, 0.3333333333333], 0.33070348455: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.43737672584: [0.1923076923077, 0.8076923076923], 0.77843523997: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.51479289941: [0.8461538461538, 0.1538461538462], 0.09549638396: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.48915187377: [0.8461538461538, 0.1538461538462], 0.48865877712: [0.1923076923077, 0.8076923076923], 0.57330703485: [0.2051282051282, 0.1282051282051, 0.7948717948718, 0.8717948717949], 0.40187376726: [0.2692307692308, 0.7307692307692], 0.60108481262: [0.9615384615385, 0.0384615384615], 0.61735700197: [0.8461538461538, 0.1538461538462], 0.35059171598: [0.2692307692308, 0.7307692307692], 0.43326758711: [0.2820512820513, 0.9487179487179, 0.7179487179487, 0.0512820512821], 0.2899408284: [0.6923076923077, 0.3076923076923], 0.58316896778: [0.5128205128205, 0.1794871794872, 0.4871794871795, 0.8205128205128], 0.44707429323: [0.4102564102564, 0.5897435897436, 0.2564102564103, 0.7435897435897], 0.09467455621: [0.5384615384615, 0.4615384615385], 0.69165023011: [0.025641025641, 0.6410256410256, 0.3589743589744, 0.974358974359], 0.72074293228: [0.6282051282051, 0.7051282051282, 0.2948717948718, 0.3717948717949], 0.76216305063: [0.1410256410256, 0.474358974359, 0.525641025641, 0.8589743589744], 0.71992110454: [0.8461538461538, 0.1538461538462], 0.34204470743: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641], 0.2741617357: [0.5384615384615, 0.4615384615385], 0.22435897436: [0.5], 0.85749506903: [0.9615384615385, 0.0384615384615], 0.70742932281: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.42998027613: [0.0769230769231, 0.9230769230769], 0.14332675871: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.91255752794: [0.5641025641026, 0.1025641025641, 0.8974358974359, 0.4358974358974], 0.39332675871: [0.0641025641026, 0.9358974358974, 0.3974358974359, 0.6025641025641]} | 36,969.4 | 69,065 | 0.791206 | 22,822 | 184,847 | 6.408159 | 0.051442 | 0.00227 | 0.001744 | 0.014934 | 0.997272 | 0.995118 | 0.995118 | 0.994113 | 0.994113 | 0.993784 | 0 | 0.842887 | 0.0617 | 184,847 | 5 | 69,066 | 36,969.4 | 0.000317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
b4ad1ca844e3436afbbf156b543357a696c6e4ba | 3,569 | py | Python | src/food/datasets/mnist.py | new-okaerinasai/food | 7e78144a374625fb6c3d3afcae5213dbfbdcf33d | [
"MIT"
] | 2 | 2020-02-24T17:35:51.000Z | 2020-04-06T18:56:35.000Z | src/food/datasets/mnist.py | new-okaerinasai/food | 7e78144a374625fb6c3d3afcae5213dbfbdcf33d | [
"MIT"
] | null | null | null | src/food/datasets/mnist.py | new-okaerinasai/food | 7e78144a374625fb6c3d3afcae5213dbfbdcf33d | [
"MIT"
] | null | null | null | import numpy as np
from torchvision.datasets import MNIST as MNIST_torchvision
from torchvision.datasets import FashionMNIST as FashionMNIST_torchvision
from albumentations.pytorch import ToTensorV2 as ToTensor
class MNIST(MNIST_torchvision):
'''
Attributes:
class_to_id: dict, bijection from name of class to number of class 0 ... 9
tag_to_class: dict, map from number of class 0 1 2 3 4 5 6 7 8 9
to new number of class 5 5 0 1 5 2 3 5 4 5
(0 1 2 3 4 5 6 7 8 9 if vanilla task)
'''
def __init__(self, datapath: str, task="vanilla", mode="train", transform=ToTensor()):
if task not in ["vanilla", "ood"]:
raise RuntimeError(f"Unknown task {task}")
if mode not in ["train", "val"]:
raise RuntimeError(f"Unknown mode {mode}")
super().__init__(datapath, train=(mode == "train"), download=True)
self.transform = lambda x: transform(force_apply=True,
image=np.array(x)[..., None])["image"]
self.tag_to_class = self.class_to_idx.copy()
self.class_to_id = {cl : cl for cl in self.tag_to_class.values()}
self.n_classes = 10
if task == "ood":
not_ood_digits = [2, 3, 5, 6, 8]
ood_digits = [0, 1, 4, 7, 9]
n_classes = len(ood_digits)
self.class_to_id = {d : min(i, 5) for i, d in enumerate(not_ood_digits + ood_digits)}
self.target_transform = lambda x: self.class_to_id[x]
self.not_ood_digits = set(not_ood_digits)
targets_numpy = self.targets.detach().numpy()
not_ood_idx = np.where([x in self.not_ood_digits for x in targets_numpy])
if mode == "train":
self.data = self.data[not_ood_idx]
self.targets = self.targets[not_ood_idx]
class FashionMNIST(FashionMNIST_torchvision):
'''
Attributes:
class_to_id: dict, bijection from name of class to number of class 0 ... 9
tag_to_class: dict, map from number of class 0 1 2 3 4 5 6 7 8 9
to new number of class 0 5 1 2 3 5 4 5 5 5
(0 1 2 3 4 5 6 7 8 9 if vanilla task)
'''
def __init__(self, datapath: str, task="vanilla", mode="train", transform=ToTensor()):
if task not in ["vanilla", "ood"]:
raise RuntimeError(f"Unknown task {task}")
if mode not in ["train", "val"]:
raise RuntimeError(f"Unknown mode {mode}")
super().__init__(datapath, train=(mode == "train"), download=True)
self.transform = lambda x: transform(force_apply=True,
image=np.array(x)[..., None])["image"]
self.tag_to_class = self.class_to_idx.copy()
self.class_to_id = {cl : cl for cl in self.tag_to_class.values()}
self.n_classes = 10
if task == "ood":
self.n_classes = 5
not_ood_digits = [0, 2, 3, 4, 6]
ood_digits = [1, 5, 7, 8, 9]
self.class_to_id = {d : min(i, 5) for i, d in enumerate(not_ood_digits + ood_digits)}
self.target_transform = lambda x: self.class_to_id[x]
self.not_ood_digits = set(not_ood_digits)
targets_numpy = self.targets.detach().numpy()
not_ood_idx = np.where([x in self.not_ood_digits for x in targets_numpy])
if mode == "train":
self.data = self.data[not_ood_idx]
self.targets = self.targets[not_ood_idx]
| 48.22973 | 97 | 0.579994 | 524 | 3,569 | 3.757634 | 0.160305 | 0.048756 | 0.060945 | 0.039614 | 0.831386 | 0.826816 | 0.826816 | 0.826816 | 0.826816 | 0.826816 | 0 | 0.03749 | 0.312412 | 3,569 | 73 | 98 | 48.890411 | 0.764874 | 0.16167 | 0 | 0.769231 | 0 | 0 | 0.058723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.076923 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
370d61ba0a0f4ffaef80be42487d347f1e981ad7 | 64 | py | Python | sppas/sppas/src/calculus/geometry/__init__.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | sppas/sppas/src/calculus/geometry/__init__.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | sppas/sppas/src/calculus/geometry/__init__.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | from .linear_fct import slope
from .linear_fct import intercept
| 21.333333 | 33 | 0.84375 | 10 | 64 | 5.2 | 0.6 | 0.384615 | 0.5 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 34 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2ebcaaeaa5b9f8aa53445147364928cc997f4205 | 4,402 | py | Python | syslog_monitoring/Config/map_oid.py | haihuynh-bluecat/syslog_mon | 8ef4f6ab52dc4a9cf2a81e5c6bbf9b63ae95d6de | [
"Apache-2.0"
] | 1 | 2020-06-08T15:57:56.000Z | 2020-06-08T15:57:56.000Z | syslog_monitoring/Config/map_oid.py | haihuynh-bluecat/syslog_mon | 8ef4f6ab52dc4a9cf2a81e5c6bbf9b63ae95d6de | [
"Apache-2.0"
] | 1 | 2020-04-02T04:39:22.000Z | 2020-04-02T04:39:22.000Z | syslog_monitoring/Config/map_oid.py | haihuynh-bluecat/syslog_mon | 8ef4f6ab52dc4a9cf2a81e5c6bbf9b63ae95d6de | [
"Apache-2.0"
] | 3 | 2020-03-04T09:39:56.000Z | 2021-04-22T06:20:36.000Z | # Copyright 2019 BlueCat Networks (USA) Inc. and its affiliates
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
MAP_OID = {
"TestQueryFailed": {
"OID":"1.3.6.1.4.1.13315.6.1.2.0.1",
"bcnSyslogMonAlarmCond": "1.3.6.1.4.1.13315.6.1.2.1.1.0",
"bcnSyslogMonAlarmSeverity": "1.3.6.1.4.1.13315.6.1.2.1.2.0",
"bcnSyslogMonKeyPair": "1.3.6.1.4.1.13315.6.1.2.1.3.0",
"bcnSyslogMonHostInfo": "1.3.6.1.4.1.13315.6.1.2.1.4.0",
"bcnSyslogMonAlarmMsg": "1.3.6.1.4.1.13315.6.1.2.1.5.0"
},
"LoadConfigurationFailed": {
"OID":"1.3.6.1.4.1.13315.6.1.2.0.2",
"bcnSyslogMonAlarmCond": "1.3.6.1.4.1.13315.6.1.2.1.1.0",
"bcnSyslogMonAlarmSeverity": "1.3.6.1.4.1.13315.6.1.2.1.2.0",
"bcnSyslogMonKeyPair": "1.3.6.1.4.1.13315.6.1.2.1.3.0",
"bcnSyslogMonHostInfo": "1.3.6.1.4.1.13315.6.1.2.1.4.0",
"bcnSyslogMonAlarmMsg": "1.3.6.1.4.1.13315.6.1.2.1.5.0"
},
"TsigBadTime": {
"OID":"1.3.6.1.4.1.13315.6.1.2.0.3",
"bcnSyslogMonAlarmCond": "1.3.6.1.4.1.13315.6.1.2.1.1.0",
"bcnSyslogMonAlarmSeverity": "1.3.6.1.4.1.13315.6.1.2.1.2.0",
"bcnSyslogMonKeyPair": "1.3.6.1.4.1.13315.6.1.2.1.3.0",
"bcnSyslogMonHostInfo": "1.3.6.1.4.1.13315.6.1.2.1.4.0",
"bcnSyslogMonAlarmMsg": "1.3.6.1.4.1.13315.6.1.2.1.5.0"
},
"StorageReadOnly":{
"OID":"1.3.6.1.4.1.13315.6.1.2.0.4",
"bcnSyslogMonAlarmCond": "1.3.6.1.4.1.13315.6.1.2.1.1.0",
"bcnSyslogMonAlarmSeverity": "1.3.6.1.4.1.13315.6.1.2.1.2.0",
"bcnSyslogMonKeyPair": "1.3.6.1.4.1.13315.6.1.2.1.3.0",
"bcnSyslogMonHostInfo": "1.3.6.1.4.1.13315.6.1.2.1.4.0",
"bcnSyslogMonAlarmMsg": "1.3.6.1.4.1.13315.6.1.2.1.5.0"
},
"ZoneTransferFailed": {
"OID":"1.3.6.1.4.1.13315.6.1.2.0.5",
"bcnSyslogMonAlarmCond": "1.3.6.1.4.1.13315.6.1.2.1.1.0",
"bcnSyslogMonAlarmSeverity": "1.3.6.1.4.1.13315.6.1.2.1.2.0",
"bcnSyslogMonKeyPair": "1.3.6.1.4.1.13315.6.1.2.1.3.0",
"bcnSyslogMonHostInfo": "1.3.6.1.4.1.13315.6.1.2.1.4.0",
"bcnSyslogMonAlarmMsg": "1.3.6.1.4.1.13315.6.1.2.1.5.0"
},
"TcpConnectionLimitExceeded": {
"OID":"1.3.6.1.4.1.13315.6.1.2.0.6",
"bcnSyslogMonAlarmCond": "1.3.6.1.4.1.13315.6.1.2.1.1.0",
"bcnSyslogMonAlarmSeverity": "1.3.6.1.4.1.13315.6.1.2.1.2.0",
"bcnSyslogMonKeyPair": "1.3.6.1.4.1.13315.6.1.2.1.3.0",
"bcnSyslogMonHostInfo": "1.3.6.1.4.1.13315.6.1.2.1.4.0",
"bcnSyslogMonAlarmMsg": "1.3.6.1.4.1.13315.6.1.2.1.5.0"
},
"LoadZoneFailed":{
"OID": "1.3.6.1.4.1.13315.6.1.2.0.7",
"bcnSyslogMonAlarmCond":"1.3.6.1.4.1.13315.6.1.2.1.1.0",
"bcnSyslogMonAlarmSeverity": "1.3.6.1.4.1.13315.6.1.2.1.2.0",
"bcnSyslogMonKeyPair": "1.3.6.1.4.1.13315.6.1.2.1.3.0",
"bcnSyslogMonHostInfo": "1.3.6.1.4.1.13315.6.1.2.1.4.0",
"bcnSyslogMonAlarmMsg": "1.3.6.1.4.1.13315.6.1.2.1.5.0"
},
"NtpClocksUnsynchronized":{
"OID": "1.3.6.1.4.1.13315.6.1.2.0.8",
"bcnSyslogMonAlarmCond": "1.3.6.1.4.1.13315.6.1.2.1.1.0",
"bcnSyslogMonAlarmSeverity": "1.3.6.1.4.1.13315.6.1.2.1.2.0",
"bcnSyslogMonKeyPair": "1.3.6.1.4.1.13315.6.1.2.1.3.0",
"bcnSyslogMonHostInfo": "1.3.6.1.4.1.13315.6.1.2.1.4.0",
"bcnSyslogMonAlarmMsg": "1.3.6.1.4.1.13315.6.1.2.1.5.0"
},
"NetworkInterfaceDown":{
"OID": "1.3.6.1.4.1.13315.6.1.2.0.9",
"bcnSyslogMonAlarmCond":"1.3.6.1.4.1.13315.6.1.2.1.1.0",
"bcnSyslogMonAlarmSeverity": "1.3.6.1.4.1.13315.6.1.2.1.2.0",
"bcnSyslogMonKeyPair": "1.3.6.1.4.1.13315.6.1.2.1.3.0",
"bcnSyslogMonHostInfo": "1.3.6.1.4.1.13315.6.1.2.1.4.0",
"bcnSyslogMonAlarmMsg": "1.3.6.1.4.1.13315.6.1.2.1.5.0"
}
} | 48.911111 | 75 | 0.57224 | 853 | 4,402 | 2.951934 | 0.107855 | 0.085782 | 0.064337 | 0.085782 | 0.743447 | 0.743447 | 0.743447 | 0.743447 | 0.743447 | 0.743447 | 0 | 0.256935 | 0.189232 | 4,402 | 90 | 76 | 48.911111 | 0.448585 | 0.132213 | 0 | 0.608108 | 0 | 0.72973 | 0.722162 | 0.547068 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d302682c2588715f33e9c81d64223a9972a8f93f | 192 | py | Python | src/utils.py | matousek-martin/coffee_shop | a6c1338d36a2739aa31c409c2baaa8c821697522 | [
"MIT"
] | null | null | null | src/utils.py | matousek-martin/coffee_shop | a6c1338d36a2739aa31c409c2baaa8c821697522 | [
"MIT"
] | null | null | null | src/utils.py | matousek-martin/coffee_shop | a6c1338d36a2739aa31c409c2baaa8c821697522 | [
"MIT"
] | null | null | null | from pathlib import Path
def get_project_root() -> Path:
# https://stackoverflow.com/questions/25389095/python-get-path-of-root-project-structure
return Path(__file__).parent.parent
| 27.428571 | 92 | 0.765625 | 26 | 192 | 5.423077 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.114583 | 192 | 6 | 93 | 32 | 0.782353 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
d3702ce259ae92bf34ec307d9755a6b863d8c91c | 40,885 | py | Python | tests/files/det_police_department_post.py | nathanderon/city-scrapers | 6c1ad459179d28916b3778a6b1dfb4635f5acb21 | [
"MIT"
] | null | null | null | tests/files/det_police_department_post.py | nathanderon/city-scrapers | 6c1ad459179d28916b3778a6b1dfb4635f5acb21 | [
"MIT"
] | null | null | null | tests/files/det_police_department_post.py | nathanderon/city-scrapers | 6c1ad459179d28916b3778a6b1dfb4635f5acb21 | [
"MIT"
] | null | null | null | POST_REQUEST_RESPONSE_BODY = b'<html><head></head><body onload="window.parent.dnn.xmlhttp.requests[\'1\'].complete(window.parent.dnn.dom.getById(\'txt\', document).value);"><form><input type="hidden" id="__DNNCAPISCSI" value="200"><input type="hidden" id="__DNNCAPISCSDI" value=""><textarea id="txt">{"d":"\\u003cdiv class=\\"Normal\\" style=\\"width: 100%; margin-left: 12pt;padding-top:6px;\\"\\u003e\\n\\u003cdiv style=\\"margin-right: 12pt;\\"\\u003e\\u003cp\\u003e\\u003cstrong\\u003e\\" Accountability through Civilian Oversight\\"\\u003c/strong\\u003e\\u003c/p\\u003e\\r\\n\\u003cp\\u003e\\u003cstrong\\u003eThe Board of Police Commissioners Meeting commence on \\u003c/strong\\u003e\\u003c/p\\u003e\\r\\n\\u003cdiv class=\\"table-responsive\\"\\u003e\\r\\n\\u003ctable bordercolordark=\\"#000080\\" border=\\"1\\"\\u003e\\r\\n \\u003ctbody\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"text-align: center;\\"\\u003e\\u003cspan style=\\"font-weight: bold; font-family: verdana;\\"\\u003e\\u0026nbsp; DATE\\u0026nbsp; \\u003c/span\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"text-align: center;\\"\\u003e\\u003cspan style=\\"font-weight: bold; font-family: verdana;\\"\\u003eTIME \\u0026nbsp; \\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"text-align: center;\\"\\u003e\\u003cspan style=\\"font-family: verdana;\\"\\u003ePresenter\\u003c/span\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: left;\\"\\u003eThursday, January 4, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eSwearing-in Ceremony\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003eThursday, January 11, 2018\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e6:30 p.m.\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e12th Precinct/ OCI/ HR\\u003cbr /\\u003e\\r\\n \\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, January 18, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eChaplin Corps\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, January 25, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eCivil Rights\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, February 1, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eBody Worn Cameras Audits\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e\\u003cspan style=\\"color: #366092;\\"\\u003eThursday, February 8, 2018\\u003c/span\\u003e\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e\\u003cspan style=\\"color: #366092;\\"\\u003e6:30 p.m.\\u003c/span\\u003e\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e\\u003cspan style=\\"color: #366092;\\"\\u003e9th Precinct \\u0026amp; Marijuana Update\\u003c/span\\u003e\\u003c/strong\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #000000;\\"\\u003eThursday, February 15, 2018\\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #000000;\\"\\u003e3:00 p.m.\\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #000000;\\"\\u003eCOP-Annual Rpt.(Cht.7.806-6)\\u003c/span\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, February 22, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eDPD Lawsuits \\u0026amp; Settlements\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, March 1, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eDisciplinary Administration\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e\\u003cspan style=\\"color: #366092;\\"\\u003eThursday, March 8, 2018\\u003c/span\\u003e\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e\\u003cspan style=\\"color: #366092;\\"\\u003e6:30 p.m.\\u003c/span\\u003e\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e\\u003cspan style=\\"color: #366092;\\"\\u003eDowntown Services-Special Events Calendar\\u003c/span\\u003e\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #000000;\\"\\u003eThursday, March 15, 2018\\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #000000;\\"\\u003e3:00 p.m.\\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\r\\n \\u003cdiv style=\\"text-align: center;\\"\\u003e\\u003cspan style=\\"color: #000000;\\"\\u003eRecruitment\\u003c/span\\u003e\\u003c/div\\u003e\\r\\n \\u003cstrong style=\\"color: #0060a1;\\"\\u003e\\r\\n \\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, March 22, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eCOP Improvement Plan (Ch.7.806-7)\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, March 29, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eDPD Lawsuits \\u0026amp; Settlements\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd colspan=\\"3\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, April 5, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eSex Crimes\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003eThursday, April 12, 2018\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e6:30 p.m.\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e11th Precinct\\u0026nbsp;\\u003cbr /\\u003e\\r\\n \\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, April 19, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eCrime Intel/ Real Time Crime Center\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, April 26, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m. \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eDrug Forfeitures\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd colspan=\\"3\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, May 3, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003ePolice Authorized Towing\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003eThursday, May 10, 2018\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e6:30 p.m.\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e8th Precinct \\u0026amp; Improvement Plan/Rescheduled from 3/22/18\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, May 17, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eCommunication 911-Dispatch\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, May 24, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eCreasefire\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;Thursday May 31, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eBudget Rept./DPD Fiscal; Qrt. #3\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd colspan=\\"3\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, June 7, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eProfessional Standards (Force \\u0026amp; IA)\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003eThursday, June 14, 2018\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: left;\\"\\u003e\\u003cstrong\\u003e6:30 p.m.\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e2nd Precinct-Implicit Bias/Dr. Arbulu (MDCR)\\u003cbr /\\u003e\\r\\n \\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, June 21, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eDetroit Police Foundation\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, June 28, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eGrants \\u0026amp; Contracts (BOPC Review)\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd colspan=\\"3\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #000000;\\"\\u003eThursday, July 5, 2018\\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: left;\\"\\u003e\\u003cspan style=\\"color: #000000;\\"\\u003e3:00 p.m.\\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #ff0000;\\"\\u003e\\u003cstrong\\u003eMEETING CANCELED\\u003c/strong\\u003e\\u003c/span\\u003e\\u003cstrong\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e\\u003cspan style=\\"color: #366092;\\"\\u003eThursday, July 12, 2018\\u003c/span\\u003e\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e\\u003cspan style=\\"color: #366092;\\"\\u003e6:30 p.m.\\u003c/span\\u003e\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e\\u003cspan style=\\"color: #366092;\\"\\u003e10th Precinct-Marijuana Update\\u003c/span\\u003e\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, July 19, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eCOMPSTAT Report \\u0026amp; Presentation\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, July 26, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m. \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eAdvance Police Technologies\\u0027 AC White\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd colspan=\\"3\\"\\u003e\\u0026nbsp; \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, August 2, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003ePolice Reserves\\u0027\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003eThursday, August 9, 2018\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: left;\\"\\u003e\\u003cstrong\\u003e6:30 p.m.\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e5th Precinct-Coop. btw Local Police Agencies\\u003cbr /\\u003e\\r\\n \\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, August 16, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eDetective Bureau\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, August 23, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eDiscussion/Admendments-Police Manual\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, August 30, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eBudget Rept./DPD Fiscal; Qrt. #4 (Final)\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd colspan=\\"3\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, September 6, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003ePolice Academy Curriculum\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #000000;\\"\\u003eThursday, September 13, 2018\\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #000000;\\"\\u003e6:30 p.m.\\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e4th PRECINCT- Immigration Update\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e\\u003cspan style=\\"color: #0070c0;\\"\\u003eThursday, September 20, 2018\\u0026nbsp;\\u003c/span\\u003e\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e\\u003cspan style=\\"color: #0070c0;\\"\\u003e6:30 p.m.\\u003c/span\\u003e\\u003c/strong\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #0060a1;\\"\\u003e\\u003cstrong\\u003eBody Worn Camera Audits\\u003c/strong\\u003e\\u003c/span\\u003e\\u003cbr /\\u003e\\r\\n \\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, September 27, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eElectronic Weapons Audits\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd colspan=\\"3\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, October 4, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eMeeting May be Canceled Due to Conference-NACOLE CONFERENCE 9/30-10/04\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003eThursday, October 11, 2018\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e6:30 p.m.\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e7th Precinct\\u003cbr /\\u003e\\r\\n \\u003cbr /\\u003e\\r\\n \\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, October 18, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eDomestic Violence\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, October 25, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eNeighborhood Policing\\u003cbr /\\u003e\\r\\n \\u003cspan style=\\"color: #ff0000;\\"\\u003e\\u003cstrong\\u003eCongresswoman \\u003cbr /\\u003e\\r\\n Brenda Lawrence\\u003c/strong\\u003e\\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, November 1, 2018\\u0026nbsp;\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m. \\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;Fleet Management\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003eThursday, November 8, 2018\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e6:30 p.m.\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e6th Precinct\\u0026nbsp;\\u0026nbsp; \\u003cbr /\\u003e\\r\\n \\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, November 15, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;Resource Facilities\\u0026nbsp;\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #1f497d;\\"\\u003e\\u003cstrong\\u003eNovember 19-23, 2018\\u003c/strong\\u003e\\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #1f497d;\\"\\u003e\\u003cstrong\\u003eThanksgiving Recess\\u003c/strong\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/span\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;Thursday. November 29, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eBudget Rept./DPD Fiscal; Qrt. #1\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eThursday, December 6, 2018\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e3:00 p.m.\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003eDetroit Detention Center (DDC)\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003eThursday, December 13, 2018\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: left;\\"\\u003e\\u003cstrong\\u003e6:30 p.m.\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; color: #0060a1; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e3rd Precinct\\u003cbr /\\u003e\\r\\n \\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #1f497d;\\"\\u003e\\u003cstrong\\u003e \\u003c/strong\\u003e\\u003c/span\\u003e\\u003cstrong\\u003eDecember 17-23, 2018\\u003c/strong\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003eChristmas Recess\\u003c/strong\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cstrong\\u003e \\u003c/strong\\u003e \\u003cspan style=\\"color: #1f497d;\\"\\u003e\\u003cstrong\\u003eDecember 24, 2018\\u0026nbsp;\\u003cbr /\\u003e\\r\\n -January 2, 2018\\u003c/strong\\u003e\\u003c/span\\u003e\\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e \\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cspan style=\\"color: #1f497d;\\"\\u003e\\u003cstrong\\u003eNew Year\\u0027s Day Recess\\u003c/strong\\u003e\\u003c/span\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003ctr\\u003e\\r\\n \\u003ctd style=\\"font-size: 10pt; font-family: verdana; text-align: center;\\"\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003ctd valign=\\"top\\"\\u003e\\u003cbr /\\u003e\\r\\n \\u003c/td\\u003e\\r\\n \\u003ctd valign=\\"top\\"\\u003e\\u0026nbsp; \\u0026nbsp; \\u0026nbsp; \\u0026nbsp; \\u0026nbsp; \\u0026nbsp;\\u0026nbsp;\\u003c/td\\u003e\\r\\n \\u003c/tr\\u003e\\r\\n \\u003c/tbody\\u003e\\r\\n\\u003c/table\\u003e\\r\\n\\u003c/div\\u003e\\r\\n\\u003cp\\u003e\\u003cstrong\\u003e\\u003cbr /\\u003e\\r\\n\\u003c/strong\\u003e\\u003c/p\\u003e\\r\\n\\u003cp\\u003e \\u003c/p\\u003e\\r\\n\\u003cp\\u003e\\u003cstrong\\u003e\\u003ca href=\\"/Portals/0/docs/policecommissioners/2018/PRESENTATION 2018.pdf\\" target=\\"_blank\\" title=\\"2018 Printable Police Commissioners Meeting \\"\\u003e2018 Printable Police Commissioners Meeting \\u003c/a\\u003e\\u003c/strong\\u003e\\u003c/p\\u003e\\r\\n\\u003cbr /\\u003e\\r\\n\\u003cp\\u003eNOTE: All meetings scheduled for 3:00 pm meet at the Detroit Public Safety Headquarters.\\u003cbr /\\u003e\\r\\n\\u0026nbsp;\\u0026nbsp;\\u0026nbsp;\\u0026nbsp;\\u0026nbsp;\\u0026nbsp;\\u0026nbsp;\\u0026nbsp;\\u0026nbsp;\\u0026nbsp;\\u0026nbsp; All meetings scheduled for 6:30 pm are in the community. Community Meetings are subject to change with notice.\\u003cbr /\\u003e\\r\\n\\u003cbr /\\u003e\\r\\n\\u003cstrong\\u003eEach Commander or Department Representative is required to do a presentation (maximum 10 minutes) on the status of their Precinct which includes their staff, goals, strength, and their weakness.\\u003c/strong\\u003e\\u003c/p\\u003e\\r\\n\\u0026nbsp;\\u003c/div\\u003e\\n \\u003cdiv style=\\"margin-right: 12pt; padding-top: 6pt;font-size:x-small;\\"\\u003e\\n \\u003cstrong\\u003eModified on:\\u003c/strong\\u003e 7/31/2018\\n\\u003c/div\\u003e\\n\\u003c/div\\u003e"}</textarea></body></html>' | 40,885 | 40,885 | 0.631943 | 5,745 | 40,885 | 4.495909 | 0.060574 | 0.089434 | 0.10434 | 0.101359 | 0.885632 | 0.883232 | 0.879128 | 0.872082 | 0.858492 | 0.853227 | 0 | 0.169358 | 0.136652 | 40,885 | 1 | 40,885 | 40,885 | 0.562383 | 0 | 0 | 0 | 0 | 1 | 0.998948 | 0.578413 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
d379b985d777a107760e7bcd7af7f0d1bcfda36d | 3,715 | py | Python | web/pipeline/migrations/0050_auto_20200804_2226.py | stevenstuber/CIT | 8c485e72084c06da6db45da1cb402bac26411ec2 | [
"Apache-2.0"
] | 10 | 2020-11-12T15:13:40.000Z | 2022-03-05T22:33:08.000Z | web/pipeline/migrations/0050_auto_20200804_2226.py | stevenstuber/CIT | 8c485e72084c06da6db45da1cb402bac26411ec2 | [
"Apache-2.0"
] | 28 | 2020-07-17T16:33:55.000Z | 2022-03-21T16:24:25.000Z | web/pipeline/migrations/0050_auto_20200804_2226.py | stevenstuber/CIT | 8c485e72084c06da6db45da1cb402bac26411ec2 | [
"Apache-2.0"
] | 5 | 2020-11-02T23:39:53.000Z | 2022-03-01T19:09:45.000Z | # Generated by Django 2.2.13 on 2020-08-04 22:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pipeline', '0049_auto_20200804_2225'),
]
operations = [
migrations.AlterField(
model_name='censussubdivision',
name='pop_0_4',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_100',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_10_14',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_15_19',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_20_24',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_25_29',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_30_34',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_35_39',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_40_44',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_45_49',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_50_54',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_55_59',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_5_9',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_60_64',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_65_69',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_70_74',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_75_79',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_80_84',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_85_89',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_90_94',
field=models.IntegerField(null=True),
),
migrations.AlterField(
model_name='censussubdivision',
name='pop_95_99',
field=models.IntegerField(null=True),
),
]
| 31.218487 | 49 | 0.554509 | 322 | 3,715 | 6.195652 | 0.232919 | 0.210526 | 0.263158 | 0.305263 | 0.884211 | 0.868672 | 0.868672 | 0.842105 | 0.842105 | 0.842105 | 0 | 0.045049 | 0.336743 | 3,715 | 118 | 50 | 31.483051 | 0.76461 | 0.012382 | 0 | 0.75 | 1 | 0 | 0.155713 | 0.006272 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008929 | 0 | 0.035714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
6ca08eda4c178ba1e1a56b6d066d019e6a61c90c | 105 | py | Python | LightningFunc/accuracy.py | Leyan529/ImageClassificationPL | a4be75f4525828100d8d278e46ff5dccd829af1a | [
"MIT"
] | null | null | null | LightningFunc/accuracy.py | Leyan529/ImageClassificationPL | a4be75f4525828100d8d278e46ff5dccd829af1a | [
"MIT"
] | null | null | null | LightningFunc/accuracy.py | Leyan529/ImageClassificationPL | a4be75f4525828100d8d278e46ff5dccd829af1a | [
"MIT"
] | null | null | null |
def accuracy_score(self, y_true, y_pred):
return (y_true == y_pred).sum() / float(len(y_true)) | 35 | 60 | 0.647619 | 18 | 105 | 3.444444 | 0.611111 | 0.241935 | 0.193548 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 105 | 3 | 60 | 35 | 0.729412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
6cba833dc4cc2185e47ce46bd59987a1651f6f8f | 35,434 | py | Python | test/test_batch_gradient.py | tianjuchen/pyoptmat | 6f34205f450fd884679f37522ccd0d0b65ecdb71 | [
"MIT"
] | null | null | null | test/test_batch_gradient.py | tianjuchen/pyoptmat | 6f34205f450fd884679f37522ccd0d0b65ecdb71 | [
"MIT"
] | null | null | null | test/test_batch_gradient.py | tianjuchen/pyoptmat | 6f34205f450fd884679f37522ccd0d0b65ecdb71 | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import torch
from torch.nn import Parameter
import torch.nn
from pyoptmat import ode, models, flowrules, hardening, utility, damage
from pyoptmat.temperature import ConstantParameter as CP
torch.set_default_tensor_type(torch.DoubleTensor)
def differ(mfn, p0, eps=1.0e-6):
v0 = mfn(p0).numpy()
puse = p0.numpy()
result = np.zeros(puse.shape)
for ind, val in np.ndenumerate(puse):
dp = np.abs(val) * eps
if dp < eps:
dp = eps
pcurr = np.copy(puse)
pcurr[ind] += dp
v1 = mfn(torch.tensor(pcurr)).numpy()
result[ind] = (v1 - v0) / dp
return result
def simple_diff(fn, p0):
res = []
for i in range(len(p0)):
def mfn(pi):
ps = [pp for pp in p0]
ps[i] = pi
return fn(ps)
res.append(differ(mfn, p0[i]))
return res
class CommonGradient:
def test_gradient_strain(self):
bmodel = self.model_fn([Parameter(pi) for pi in self.p])
res = torch.norm(
bmodel.solve_strain(self.times, self.strains, self.temperatures)
)
res.backward()
grad = self.extract_grad(bmodel)
with torch.no_grad():
ngrad = simple_diff(
lambda p: torch.norm(
self.model_fn2(p).solve_strain(
self.times, self.strains, self.temperatures
)
),
self.p,
)
for i, (p1, p2) in enumerate(zip(grad, ngrad)):
print(i, p1, p2)
self.assertTrue(np.allclose(p1, p2, rtol=1e-3))
def test_gradient_stress(self):
bmodel = self.model_fn([Parameter(pi) for pi in self.p])
res = torch.norm(
bmodel.solve_stress(self.times, self.stresses, self.temperatures)
)
res.backward()
grad = self.extract_grad(bmodel)
with torch.no_grad():
ngrad = simple_diff(
lambda p: torch.norm(
self.model_fn(p).solve_stress(
self.times, self.stresses, self.temperatures
)
),
self.p,
)
# Skipping the first time point helps avoid spurious "is zero" errors
for i, (p1, p2) in enumerate(zip(grad[1:], ngrad[1:])):
print(i, p1, p2)
self.assertTrue(np.allclose(p1, p2, rtol=1e-4))
class TestPerfectViscoplasticity(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 3
self.E = torch.tensor(np.linspace(100000.0, 110000.0, self.nbatch))
self.n = torch.tensor(np.linspace(4.8, 5.2, self.nbatch))
self.eta = torch.tensor(np.linspace(90.0, 110.0, self.nbatch))
self.p = [self.E, self.n, self.eta]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]), flowrules.PerfectViscoplasticity(CP(p[1]), CP(p[2]))
),
use_adjoint=False,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]), flowrules.PerfectViscoplasticity(CP(p[1]), CP(p[2]))
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 0.003, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 100.0, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
class TestIsotropicOnlyFixedE(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 5
self.E = torch.tensor(100000.0)
self.n = torch.tensor(np.linspace(5.2, 6.0, self.nbatch))
self.eta = torch.tensor(np.linspace(110.0, 120.0, self.nbatch))
self.R = torch.tensor(np.linspace(100.0, 110.0, self.nbatch))
self.d = torch.tensor(np.linspace(5.1, 6.0, self.nbatch))
self.s0 = torch.tensor(np.linspace(10.0, 15.0, self.nbatch))
self.p = [self.E, self.n, self.eta, self.s0, self.R, self.d]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.NoKinematicHardeningModel(),
),
),
use_adjoint=False,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.NoKinematicHardeningModel(),
),
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
m.model.flowrule.s0.pvalue.grad.numpy(),
m.model.flowrule.isotropic.R.pvalue.grad.numpy(),
m.model.flowrule.isotropic.d.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 0.003, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 200, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
class TestIsotropicOnly(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 5
self.E = torch.tensor(np.linspace(90000.0, 100000.0, self.nbatch))
self.n = torch.tensor(np.linspace(5.2, 6.0, self.nbatch))
self.eta = torch.tensor(np.linspace(110.0, 120.0, self.nbatch))
self.R = torch.tensor(np.linspace(100.0, 110.0, self.nbatch))
self.d = torch.tensor(np.linspace(5.1, 6.0, self.nbatch))
self.s0 = torch.tensor(np.linspace(10.0, 15.0, self.nbatch))
self.p = [self.E, self.n, self.eta, self.s0, self.R, self.d]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.NoKinematicHardeningModel(),
),
),
use_adjoint=False,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.NoKinematicHardeningModel(),
),
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
m.model.flowrule.s0.pvalue.grad.numpy(),
m.model.flowrule.isotropic.R.pvalue.grad.numpy(),
m.model.flowrule.isotropic.d.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 0.003, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 200.0, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
class TestHardeningViscoplasticity(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 3
self.E = torch.linspace(100000.0, 11000.0, self.nbatch)
self.n = torch.linspace(5.2, 5.6, self.nbatch)
self.eta = torch.linspace(110.0, 115.0, self.nbatch)
self.R = torch.linspace(100.0, 110.0, self.nbatch)
self.d = torch.linspace(5.1, 5.6, self.nbatch)
self.C = torch.linspace(1000.0, 1100.0, self.nbatch)
self.g = torch.linspace(10.0, 15.0, self.nbatch)
self.s0 = torch.linspace(10.0, 20.0, self.nbatch)
self.p = [self.E, self.n, self.eta, self.s0, self.R, self.d, self.C, self.g]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.FAKinematicHardeningModel(CP(p[6]), CP(p[7])),
),
),
use_adjoint=False,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.FAKinematicHardeningModel(CP(p[6]), CP(p[7])),
),
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
m.model.flowrule.s0.pvalue.grad.numpy(),
m.model.flowrule.isotropic.R.pvalue.grad.numpy(),
m.model.flowrule.isotropic.d.pvalue.grad.numpy(),
m.model.flowrule.kinematic.C.pvalue.grad.numpy(),
m.model.flowrule.kinematic.g.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 0.003, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 200.0, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
class TestHardeningViscoplasticityDamage(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 3
self.E = torch.linspace(100000.0, 11000.0, self.nbatch)
self.n = torch.linspace(5.2, 5.6, self.nbatch)
self.eta = torch.linspace(110.0, 115.0, self.nbatch)
self.R = torch.linspace(100.0, 110.0, self.nbatch)
self.d = torch.linspace(5.1, 5.6, self.nbatch)
self.C = torch.linspace(1000.0, 1100.0, self.nbatch)
self.g = torch.linspace(10.0, 15.0, self.nbatch)
self.s0 = torch.linspace(10.0, 20.0, self.nbatch)
self.A = torch.linspace(1900, 2000, self.nbatch)
self.xi = torch.linspace(6.0, 6.5, self.nbatch)
self.phi = torch.linspace(1.6, 1.8, self.nbatch)
self.p = [
self.E,
self.n,
self.eta,
self.s0,
self.R,
self.d,
self.C,
self.g,
self.A,
self.xi,
self.phi,
]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.FAKinematicHardeningModel(CP(p[6]), CP(p[7])),
),
dmodel=damage.HayhurstLeckie(CP(p[8]), CP(p[9]), CP(p[10])),
),
use_adjoint=False,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.FAKinematicHardeningModel(CP(p[6]), CP(p[7])),
),
dmodel=damage.HayhurstLeckie(CP(p[8]), CP(p[9]), CP(p[10])),
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
m.model.flowrule.s0.pvalue.grad.numpy(),
m.model.flowrule.isotropic.R.pvalue.grad.numpy(),
m.model.flowrule.isotropic.d.pvalue.grad.numpy(),
m.model.flowrule.kinematic.C.pvalue.grad.numpy(),
m.model.flowrule.kinematic.g.pvalue.grad.numpy(),
m.model.dmodel.A.pvalue.grad.numpy(),
m.model.dmodel.xi.pvalue.grad.numpy(),
m.model.dmodel.phi.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 0.03, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 200.0, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
class TestChabocheViscoplasticity(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 4
self.nback = 3
self.E = torch.linspace(100000.0, 11000.0, self.nbatch)
self.n = torch.linspace(5.2, 5.6, self.nbatch)
self.eta = torch.linspace(110.0, 115.0, self.nbatch)
self.R = torch.linspace(100.0, 110.0, self.nbatch)
self.d = torch.linspace(5.1, 5.6, self.nbatch)
self.C = torch.linspace(1000.0, 1100.0, self.nbatch * self.nback).reshape(
self.nbatch, self.nback
)
self.g = torch.linspace(10.0, 15.0, self.nbatch * self.nback).reshape(
self.nbatch, self.nback
)
self.s0 = torch.linspace(10.0, 20.0, self.nbatch)
self.p = [self.E, self.n, self.eta, self.s0, self.R, self.d, self.C, self.g]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.ChabocheHardeningModel(CP(p[6]), CP(p[7])),
),
),
use_adjoint=False,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.ChabocheHardeningModel(CP(p[6]), CP(p[7])),
),
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
m.model.flowrule.s0.pvalue.grad.numpy(),
m.model.flowrule.isotropic.R.pvalue.grad.numpy(),
m.model.flowrule.isotropic.d.pvalue.grad.numpy(),
m.model.flowrule.kinematic.C.pvalue.grad.numpy(),
m.model.flowrule.kinematic.g.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 0.003, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 200, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
class TestPerfectViscoplasticityAdjoint(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 3
self.E = torch.tensor(np.linspace(100000.0, 110000.0, self.nbatch))
self.n = torch.tensor(np.linspace(4.8, 5.2, self.nbatch))
self.eta = torch.tensor(np.linspace(90.0, 110.0, self.nbatch))
self.p = [self.E, self.n, self.eta]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]), flowrules.PerfectViscoplasticity(CP(p[1]), CP(p[2]))
),
use_adjoint=True,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]), flowrules.PerfectViscoplasticity(CP(p[1]), CP(p[2]))
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 0.003, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 200, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
class TestIsotropicOnlyFixedEAdjoint(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 5
self.E = torch.tensor(100000.0)
self.n = torch.tensor(np.linspace(5.2, 6.0, self.nbatch))
self.eta = torch.tensor(np.linspace(110.0, 120.0, self.nbatch))
self.R = torch.tensor(np.linspace(100.0, 110.0, self.nbatch))
self.d = torch.tensor(np.linspace(5.1, 6.0, self.nbatch))
self.s0 = torch.tensor(np.linspace(10.0, 15.0, self.nbatch))
self.p = [self.E, self.n, self.eta, self.s0, self.R, self.d]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.NoKinematicHardeningModel(),
),
),
use_adjoint=True,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.NoKinematicHardeningModel(),
),
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
m.model.flowrule.s0.pvalue.grad.numpy(),
m.model.flowrule.isotropic.R.pvalue.grad.numpy(),
m.model.flowrule.isotropic.d.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 0.003, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 200, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
class TestIsotropicOnlyAdjoint(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 5
self.E = torch.tensor(np.linspace(90000.0, 100000.0, self.nbatch))
self.n = torch.tensor(np.linspace(5.2, 6.0, self.nbatch))
self.eta = torch.tensor(np.linspace(110.0, 120.0, self.nbatch))
self.R = torch.tensor(np.linspace(100.0, 110.0, self.nbatch))
self.d = torch.tensor(np.linspace(5.1, 6.0, self.nbatch))
self.s0 = torch.tensor(np.linspace(10.0, 15.0, self.nbatch))
self.p = [self.E, self.n, self.eta, self.s0, self.R, self.d]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.NoKinematicHardeningModel(),
),
),
use_adjoint=True,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.NoKinematicHardeningModel(),
),
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
m.model.flowrule.s0.pvalue.grad.numpy(),
m.model.flowrule.isotropic.R.pvalue.grad.numpy(),
m.model.flowrule.isotropic.d.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 0.003, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 200, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
class TestHardeningViscoplasticityAdjoint(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 3
self.E = torch.linspace(100000.0, 11000.0, self.nbatch)
self.n = torch.linspace(5.2, 5.6, self.nbatch)
self.eta = torch.linspace(110.0, 115.0, self.nbatch)
self.R = torch.linspace(100.0, 110.0, self.nbatch)
self.d = torch.linspace(5.1, 5.6, self.nbatch)
self.C = torch.linspace(1000.0, 1100.0, self.nbatch)
self.g = torch.linspace(10.0, 15.0, self.nbatch)
self.s0 = torch.linspace(10.0, 20.0, self.nbatch)
self.p = [self.E, self.n, self.eta, self.s0, self.R, self.d, self.C, self.g]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.FAKinematicHardeningModel(CP(p[6]), CP(p[7])),
),
),
use_adjoint=True,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.FAKinematicHardeningModel(CP(p[6]), CP(p[7])),
),
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
m.model.flowrule.s0.pvalue.grad.numpy(),
m.model.flowrule.isotropic.R.pvalue.grad.numpy(),
m.model.flowrule.isotropic.d.pvalue.grad.numpy(),
m.model.flowrule.kinematic.C.pvalue.grad.numpy(),
m.model.flowrule.kinematic.g.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 0.003, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 200, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
class TestHardeningViscoplasticityDamageAdjoint(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 3
self.E = torch.linspace(100000.0, 11000.0, self.nbatch)
self.n = torch.linspace(5.2, 5.6, self.nbatch)
self.eta = torch.linspace(110.0, 115.0, self.nbatch)
self.R = torch.linspace(100.0, 110.0, self.nbatch)
self.d = torch.linspace(5.1, 5.6, self.nbatch)
self.C = torch.linspace(1000.0, 1100.0, self.nbatch)
self.g = torch.linspace(10.0, 15.0, self.nbatch)
self.s0 = torch.linspace(10.0, 20.0, self.nbatch)
self.A = torch.linspace(1900, 2000, self.nbatch)
self.xi = torch.linspace(6.0, 6.5, self.nbatch)
self.phi = torch.linspace(1.6, 1.8, self.nbatch)
self.p = [
self.E,
self.n,
self.eta,
self.s0,
self.R,
self.d,
self.C,
self.g,
self.A,
self.xi,
self.phi,
]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.FAKinematicHardeningModel(CP(p[6]), CP(p[7])),
),
dmodel=damage.HayhurstLeckie(CP(p[8]), CP(p[9]), CP(p[10])),
),
use_adjoint=True,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.FAKinematicHardeningModel(CP(p[6]), CP(p[7])),
),
dmodel=damage.HayhurstLeckie(CP(p[8]), CP(p[9]), CP(p[10])),
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
m.model.flowrule.s0.pvalue.grad.numpy(),
m.model.flowrule.isotropic.R.pvalue.grad.numpy(),
m.model.flowrule.isotropic.d.pvalue.grad.numpy(),
m.model.flowrule.kinematic.C.pvalue.grad.numpy(),
m.model.flowrule.kinematic.g.pvalue.grad.numpy(),
m.model.dmodel.A.pvalue.grad.numpy(),
m.model.dmodel.xi.pvalue.grad.numpy(),
m.model.dmodel.phi.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 0.03, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 200, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
class TestChabocheViscoplasticityAdjoint(unittest.TestCase, CommonGradient):
def setUp(self):
self.ntime = 10
self.nbatch = 4
self.nback = 3
self.E = torch.linspace(100000.0, 11000.0, self.nbatch)
self.n = torch.linspace(5.2, 5.6, self.nbatch)
self.eta = torch.linspace(110.0, 115.0, self.nbatch)
self.R = torch.linspace(100.0, 110.0, self.nbatch)
self.d = torch.linspace(5.1, 5.6, self.nbatch)
self.C = torch.linspace(1000.0, 1100.0, self.nbatch * self.nback).reshape(
self.nbatch, self.nback
)
self.g = torch.linspace(10.0, 15.0, self.nbatch * self.nback).reshape(
self.nbatch, self.nback
)
self.s0 = torch.linspace(10.0, 20.0, self.nbatch)
self.p = [self.E, self.n, self.eta, self.s0, self.R, self.d, self.C, self.g]
self.model_fn = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.ChabocheHardeningModel(CP(p[6]), CP(p[7])),
),
),
use_adjoint=True,
)
self.model_fn2 = lambda p: models.ModelIntegrator(
models.InelasticModel(
CP(p[0]),
flowrules.IsoKinViscoplasticity(
CP(p[1]),
CP(p[2]),
CP(p[3]),
hardening.VoceIsotropicHardeningModel(CP(p[4]), CP(p[5])),
hardening.ChabocheHardeningModel(CP(p[6]), CP(p[7])),
),
)
)
self.extract_grad = lambda m: [
m.model.E.pvalue.grad.numpy(),
m.model.flowrule.n.pvalue.grad.numpy(),
m.model.flowrule.eta.pvalue.grad.numpy(),
m.model.flowrule.s0.pvalue.grad.numpy(),
m.model.flowrule.isotropic.R.pvalue.grad.numpy(),
m.model.flowrule.isotropic.d.pvalue.grad.numpy(),
m.model.flowrule.kinematic.C.pvalue.grad.numpy(),
m.model.flowrule.kinematic.g.pvalue.grad.numpy(),
]
self.times = torch.transpose(
torch.tensor(
np.array([np.linspace(0, 1, self.ntime) for i in range(self.nbatch)])
),
1,
0,
)
self.strains = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 0.003, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.stresses = torch.transpose(
torch.tensor(
np.array(
[np.linspace(0, 200.0, self.ntime) for i in range(self.nbatch)]
)
),
1,
0,
)
self.temperatures = torch.zeros_like(self.strains)
| 34.302033 | 88 | 0.497093 | 4,045 | 35,434 | 4.33424 | 0.045241 | 0.028747 | 0.068674 | 0.065708 | 0.940965 | 0.940965 | 0.940965 | 0.940965 | 0.929557 | 0.929557 | 0 | 0.048715 | 0.369701 | 35,434 | 1,032 | 89 | 34.335271 | 0.736277 | 0.001891 | 0 | 0.819459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002162 | 1 | 0.018378 | false | 0 | 0.007568 | 0 | 0.043243 | 0.002162 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9f08d8bc98776fc16c19a3d3af8200a0cb07d0d6 | 30,763 | py | Python | web_api/models/bearings.py | zhanghe06/flask_restful | 6ef54f3f7efbbaff6169e963dcf45ab25e11e593 | [
"MIT"
] | 1 | 2020-12-04T03:15:47.000Z | 2020-12-04T03:15:47.000Z | web_api/models/bearings.py | zhanghe06/flask_restful | 6ef54f3f7efbbaff6169e963dcf45ab25e11e593 | [
"MIT"
] | 1 | 2021-06-01T22:24:27.000Z | 2021-06-01T22:24:27.000Z | web_api/models/bearings.py | zhanghe06/flask_restful | 6ef54f3f7efbbaff6169e963dcf45ab25e11e593 | [
"MIT"
] | 2 | 2020-12-04T03:16:18.000Z | 2021-09-04T14:10:12.000Z | # coding: utf-8
from sqlalchemy import Column, Date, DateTime, Index, Integer, Numeric, String, text
from web_api.databases.bearings import db
Base = db.Model
metadata = Base.metadata
def to_dict(self):
return {c.name: getattr(self, c.name, None) for c in self.__table__.columns}
Base.to_dict = to_dict
Base.__bind_key__ = 'bearings'
class BuyerOrderItems(Base):
__tablename__ = 'buyer_order_items'
id = Column(Integer, primary_key=True)
buyer_order_id = Column(Integer, nullable=False, index=True)
production_id = Column(Integer, nullable=False, index=True)
production_brand = Column(String(16), nullable=False, server_default=text("''"))
production_model = Column(String(32), nullable=False, server_default=text("''"))
production_sku = Column(String(16), nullable=False, server_default=text("'Pcs'"))
production_note = Column(String(64), nullable=False, server_default=text("''"))
quantity = Column(Integer, nullable=False, server_default=text("'0'"))
unit_price = Column(Numeric(8, 2), nullable=False, server_default=text("'0.00'"))
type_tax = Column(Integer, nullable=False, server_default=text("'1'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class BuyerOrders(Base):
__tablename__ = 'buyer_orders'
id = Column(Integer, primary_key=True)
uid = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
cid = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
contact_id = Column(Integer, nullable=False, server_default=text("'0'"))
amount_production = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_shipping = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_adjustment = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_order = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
note = Column(String(256), nullable=False, server_default=text("''"))
type_tax = Column(Integer, nullable=False, server_default=text("'1'"))
status_audit = Column(Integer, nullable=False, server_default=text("'0'"))
status_effect = Column(Integer, nullable=False, server_default=text("'0'"))
status_completion = Column(Integer, nullable=False, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
audit_time = Column(DateTime)
effect_time = Column(DateTime)
completion_time = Column(DateTime)
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Catalogue(Base):
__tablename__ = 'catalogue'
__table_args__ = (
Index('production_brand', 'production_brand', 'production_model', unique=True),
)
id = Column(Integer, primary_key=True)
production_brand = Column(String(32), nullable=False, server_default=text("''"))
production_model = Column(String(64), nullable=False, index=True, server_default=text("''"))
production_label = Column(String(64), nullable=False, server_default=text("''"))
production_brand_old = Column(String(32), nullable=False, server_default=text("''"))
production_model_old = Column(String(64), nullable=False, index=True, server_default=text("''"))
production_class = Column(String(32), nullable=False, server_default=text("''"))
ind = Column(Numeric(4, 0), nullable=False, server_default=text("'0'"))
oud = Column(Numeric(4, 0), nullable=False, server_default=text("'0'"))
wid = Column(Numeric(4, 0), nullable=False, server_default=text("'0'"))
speed_g = Column(Numeric(6, 0), nullable=False, server_default=text("'0'"))
speed_o = Column(Numeric(6, 0), nullable=False, server_default=text("'0'"))
weight = Column(Numeric(8, 3), nullable=False, server_default=text("'0.000'"))
serie = Column(String(32), nullable=False, server_default=text("''"))
accuracy = Column(String(64), nullable=False, server_default=text("''"))
preload = Column(String(64), nullable=False, server_default=text("''"))
seal = Column(String(64), nullable=False, server_default=text("''"))
angle = Column(String(64), nullable=False, server_default=text("''"))
r_size = Column(String(64), nullable=False, server_default=text("''"))
r_matel = Column(String(64), nullable=False, server_default=text("''"))
assembly_no = Column(String(64), nullable=False, server_default=text("''"))
assembly_type = Column(String(64), nullable=False, server_default=text("''"))
note = Column(String(64), nullable=False, server_default=text("''"))
tag = Column(String(256), nullable=False, server_default=text("''"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Category(Base):
__tablename__ = 'category'
id = Column(Integer, primary_key=True)
name = Column(String(100), nullable=False, server_default=text("''"))
main_id = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Customer(Base):
__tablename__ = 'customer'
id = Column(Integer, primary_key=True)
company_name = Column(String(100), nullable=False, server_default=text("''"))
company_address = Column(String(100), nullable=False, server_default=text("''"))
company_site = Column(String(100), nullable=False, server_default=text("''"))
company_tel = Column(String(100), nullable=False, server_default=text("''"))
company_fax = Column(String(100), nullable=False, server_default=text("''"))
company_email = Column(String(100), nullable=False, server_default=text("''"))
company_type = Column(Integer, nullable=False, server_default=text("'0'"))
owner_uid = Column(Integer, nullable=False, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class CustomerContact(Base):
__tablename__ = 'customer_contact'
id = Column(Integer, primary_key=True)
cid = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
name = Column(String(20), nullable=False, server_default=text("''"))
salutation = Column(String(20), nullable=False, server_default=text("''"))
mobile = Column(String(20), nullable=False, server_default=text("''"))
tel = Column(String(20), nullable=False, server_default=text("''"))
fax = Column(String(20), nullable=False, server_default=text("''"))
email = Column(String(60), nullable=False, server_default=text("''"))
department = Column(String(20), nullable=False, server_default=text("''"))
address = Column(String(100), nullable=False, server_default=text("''"))
note = Column(String(256), nullable=False, server_default=text("''"))
status_default = Column(Integer, nullable=False, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class CustomerInvoice(Base):
__tablename__ = 'customer_invoice'
cid = Column(Integer, primary_key=True)
company_name = Column(String(100), nullable=False, server_default=text("''"))
company_tax_id = Column(String(20), nullable=False, server_default=text("''"))
company_address = Column(String(100), nullable=False, server_default=text("''"))
company_tel = Column(String(100), nullable=False, server_default=text("''"))
company_bank_name = Column(String(100), nullable=False, server_default=text("''"))
company_bank_account = Column(String(100), nullable=False, server_default=text("''"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Delivery(Base):
__tablename__ = 'delivery'
id = Column(Integer, primary_key=True)
sales_order_id = Column(Integer, index=True, server_default=text("'0'"))
customer_cid = Column(Integer, index=True, server_default=text("'0'"))
type_delivery = Column(Integer, nullable=False, server_default=text("'0'"))
amount_production = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_shipping = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_adjustment = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_delivery = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
status_audit = Column(Integer, nullable=False, server_default=text("'0'"))
status_confirm = Column(Integer, nullable=False, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
audit_time = Column(DateTime)
confirm_time = Column(DateTime)
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class DeliveryItems(Base):
__tablename__ = 'delivery_items'
id = Column(Integer, primary_key=True)
delivery_id = Column(Integer, nullable=False, index=True)
sales_order_id = Column(Integer, index=True, server_default=text("'0'"))
production_id = Column(Integer, nullable=False, index=True)
production_brand = Column(String(16), nullable=False, server_default=text("''"))
production_model = Column(String(32), nullable=False, server_default=text("''"))
production_sku = Column(String(16), nullable=False, server_default=text("'Pcs'"))
production_note = Column(String(64), nullable=False, server_default=text("''"))
quantity = Column(Integer, nullable=False, server_default=text("'0'"))
unit_price = Column(Numeric(8, 2), nullable=False, server_default=text("'0.00'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Inventory(Base):
__tablename__ = 'inventory'
id = Column(Integer, primary_key=True)
production_id = Column(Integer, nullable=False, index=True)
warehouse_id = Column(Integer, nullable=False)
rack_id = Column(Integer, nullable=False)
stock_qty = Column(Integer, nullable=False)
note = Column(String(256), nullable=False, server_default=text("''"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Production(Base):
__tablename__ = 'production'
__table_args__ = (
Index('production_brand', 'production_brand', 'production_model', unique=True),
)
id = Column(Integer, primary_key=True)
category_id = Column(Integer, nullable=False, server_default=text("'0'"))
production_brand = Column(String(32), nullable=False, server_default=text("''"))
production_model = Column(String(64), nullable=False, index=True, server_default=text("''"))
production_sku = Column(String(16), nullable=False, server_default=text("'Pcs'"))
note = Column(String(64), nullable=False, server_default=text("''"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class ProductionQuotationItems(Base):
__tablename__ = 'production_quotation_items'
id = Column(Integer, primary_key=True)
customer_enquiry_cid = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
customer_enquiry_company_name = Column(String(64), nullable=False, server_default=text("'客户询价-公司名称'"))
customer_enquiry_production_id = Column(Integer, nullable=False, server_default=text("'0'"))
customer_enquiry_production_brand = Column(String(32), nullable=False, server_default=text("''"))
customer_enquiry_production_model = Column(String(64), nullable=False, server_default=text("''"))
customer_enquiry_production_num = Column(Integer, nullable=False, server_default=text("'1'"))
inventory_in_stock_num = Column(Integer, nullable=False, server_default=text("'0'"))
inventory_in_transit_num = Column(Integer, nullable=False, server_default=text("'0'"))
quotation_uid = Column(Integer, nullable=False, server_default=text("'0'"))
quotation_production_brand = Column(String(32), nullable=False, server_default=text("''"))
quotation_production_model = Column(String(64), nullable=False, server_default=text("''"))
quotation_cost_price = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class ProductionSensitive(Base):
__tablename__ = 'production_sensitive'
__table_args__ = (
Index('cid_2', 'cid', 'production_id', unique=True),
)
id = Column(Integer, primary_key=True)
cid = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
company_name = Column(String(100), nullable=False, server_default=text("''"))
production_id = Column(Integer, nullable=False, index=True)
production_brand = Column(String(32), nullable=False, server_default=text("''"))
production_model = Column(String(64), nullable=False, server_default=text("''"))
production_sku = Column(String(16), nullable=False, server_default=text("'Pcs'"))
note = Column(String(256), nullable=False, server_default=text("''"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Purchase(Base):
__tablename__ = 'purchase'
id = Column(Integer, primary_key=True)
buyer_order_id = Column(Integer, index=True, server_default=text("'0'"))
supplier_cid = Column(Integer, index=True, server_default=text("'0'"))
type_purchase = Column(Integer, nullable=False, server_default=text("'0'"))
status_audit = Column(Integer, nullable=False, server_default=text("'0'"))
status_confirm = Column(Integer, nullable=False, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
audit_time = Column(DateTime)
confirm_time = Column(DateTime)
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class PurchaseItems(Base):
__tablename__ = 'purchase_items'
id = Column(Integer, primary_key=True)
purchase_id = Column(Integer, nullable=False, index=True)
buyer_order_id = Column(Integer, index=True, server_default=text("'0'"))
production_id = Column(Integer, nullable=False, index=True)
production_brand = Column(String(16), nullable=False, server_default=text("''"))
production_model = Column(String(32), nullable=False, server_default=text("''"))
production_sku = Column(String(16), nullable=False, server_default=text("'Pcs'"))
production_note = Column(String(64), nullable=False, server_default=text("''"))
quantity = Column(Integer, nullable=False, server_default=text("'0'"))
unit_price = Column(Numeric(8, 2), nullable=False, server_default=text("'0.00'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Quotation(Base):
__tablename__ = 'quotation'
id = Column(Integer, primary_key=True)
uid = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
cid = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
contact_id = Column(Integer, nullable=False, server_default=text("'0'"))
amount_production = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_shipping = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_adjustment = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_quotation = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
note = Column(String(256), nullable=False, server_default=text("''"))
type_tax = Column(Integer, nullable=False, server_default=text("'1'"))
status_audit = Column(Integer, nullable=False, server_default=text("'0'"))
status_order = Column(Integer, nullable=False, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
expiry_date = Column(Date, nullable=False)
audit_time = Column(DateTime)
order_time = Column(DateTime)
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class QuotationItems(Base):
__tablename__ = 'quotation_items'
id = Column(Integer, primary_key=True)
quotation_id = Column(Integer, nullable=False, index=True)
uid = Column(Integer, nullable=False, index=True)
enquiry_cid = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
enquiry_company_name = Column(String(100), nullable=False, server_default=text("'客户询价-公司名称'"))
enquiry_production_model = Column(String(64), nullable=False, server_default=text("''"))
enquiry_quantity = Column(Integer, nullable=False, server_default=text("'0'"))
production_id = Column(Integer, nullable=False, index=True)
production_brand = Column(String(32), nullable=False, server_default=text("''"))
production_model = Column(String(64), nullable=False, server_default=text("''"))
production_sku = Column(String(16), nullable=False, server_default=text("'Pcs'"))
delivery_time = Column(String(128), nullable=False, server_default=text("''"))
quantity = Column(Integer, nullable=False, server_default=text("'0'"))
unit_price = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
note = Column(String(256), nullable=False, server_default=text("''"))
type_tax = Column(Integer, nullable=False, server_default=text("'1'"))
status_ordered = Column(Integer, nullable=False, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Rack(Base):
__tablename__ = 'rack'
id = Column(Integer, primary_key=True)
warehouse_id = Column(Integer, nullable=False)
name = Column(String(16), nullable=False, server_default=text("''"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Role(Base):
__tablename__ = 'role'
id = Column(Integer, primary_key=True)
name = Column(String(20), nullable=False, unique=True, server_default=text("''"))
note = Column(String(256), nullable=False, server_default=text("''"))
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class SalesOrderItems(Base):
__tablename__ = 'sales_order_items'
id = Column(Integer, primary_key=True)
sales_order_id = Column(Integer, nullable=False, index=True)
production_id = Column(Integer, nullable=False, index=True)
production_brand = Column(String(16), nullable=False, server_default=text("''"))
production_model = Column(String(32), nullable=False, server_default=text("''"))
production_sku = Column(String(16), nullable=False, server_default=text("'Pcs'"))
production_note = Column(String(64), nullable=False, server_default=text("''"))
quantity = Column(Integer, nullable=False, server_default=text("'0'"))
unit_price = Column(Numeric(8, 2), nullable=False, server_default=text("'0.00'"))
type_tax = Column(Integer, nullable=False, server_default=text("'1'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class SalesOrders(Base):
__tablename__ = 'sales_orders'
id = Column(Integer, primary_key=True)
uid = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
cid = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
contact_id = Column(Integer, nullable=False, server_default=text("'0'"))
amount_production = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_shipping = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_adjustment = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
amount_order = Column(Numeric(10, 2), nullable=False, server_default=text("'0.00'"))
note = Column(String(256), nullable=False, server_default=text("''"))
type_tax = Column(Integer, nullable=False, server_default=text("'1'"))
status_audit = Column(Integer, nullable=False, server_default=text("'0'"))
status_effect = Column(Integer, nullable=False, server_default=text("'0'"))
status_completion = Column(Integer, nullable=False, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
audit_time = Column(DateTime)
effect_time = Column(DateTime)
completion_time = Column(DateTime)
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Supplier(Base):
__tablename__ = 'supplier'
id = Column(Integer, primary_key=True)
company_name = Column(String(100), nullable=False, server_default=text("''"))
company_address = Column(String(100), nullable=False, server_default=text("''"))
company_site = Column(String(100), nullable=False, server_default=text("''"))
company_tel = Column(String(100), nullable=False, server_default=text("''"))
company_fax = Column(String(100), nullable=False, server_default=text("''"))
company_type = Column(Integer, nullable=False, server_default=text("'0'"))
owner_uid = Column(Integer, nullable=False, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class SupplierContact(Base):
__tablename__ = 'supplier_contact'
id = Column(Integer, primary_key=True)
cid = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
name = Column(String(20), nullable=False, server_default=text("''"))
salutation = Column(String(20), nullable=False, server_default=text("''"))
mobile = Column(String(20), nullable=False, server_default=text("''"))
tel = Column(String(20), nullable=False, server_default=text("''"))
fax = Column(String(20), nullable=False, server_default=text("''"))
department = Column(String(20), nullable=False, server_default=text("''"))
address = Column(String(100), nullable=False, server_default=text("''"))
note = Column(String(256), nullable=False, server_default=text("''"))
status_default = Column(Integer, nullable=False, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class SupplierInvoice(Base):
__tablename__ = 'supplier_invoice'
cid = Column(Integer, primary_key=True)
company_name = Column(String(100), nullable=False, server_default=text("''"))
company_tax_id = Column(String(20), nullable=False, server_default=text("''"))
company_address = Column(String(100), nullable=False, server_default=text("''"))
company_tel = Column(String(100), nullable=False, server_default=text("''"))
company_bank_name = Column(String(100), nullable=False, server_default=text("''"))
company_bank_account = Column(String(100), nullable=False, server_default=text("''"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class User(Base):
__tablename__ = 'user'
id = Column(Integer, primary_key=True)
name = Column(String(20, u'utf8_bin'), nullable=False, server_default=text("''"))
salutation = Column(String(20), nullable=False, server_default=text("''"))
mobile = Column(String(20), nullable=False, server_default=text("''"))
tel = Column(String(20), nullable=False, server_default=text("''"))
fax = Column(String(20), nullable=False, server_default=text("''"))
email = Column(String(60), nullable=False, server_default=text("''"))
role_id = Column(Integer, nullable=False, server_default=text("'0'"))
parent_id = Column(Integer, nullable=False, server_default=text("'0'"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class UserAuth(Base):
__tablename__ = 'user_auth'
__table_args__ = (
Index('type_auth', 'type_auth', 'auth_key', unique=True),
)
id = Column(Integer, primary_key=True)
user_id = Column(Integer, nullable=False, index=True, server_default=text("'0'"))
type_auth = Column(Integer, nullable=False, server_default=text("'0'"))
auth_key = Column(String(60, u'utf8_bin'), nullable=False, server_default=text("''"))
auth_secret = Column(String(60, u'utf8_bin'), nullable=False, server_default=text("''"))
status_verified = Column(Integer, nullable=False, server_default=text("'0'"))
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
class Warehouse(Base):
__tablename__ = 'warehouse'
id = Column(Integer, primary_key=True)
name = Column(String(100), nullable=False, unique=True, server_default=text("''"))
address = Column(String(100), nullable=False, server_default=text("''"))
linkman = Column(String(20), nullable=False, server_default=text("''"))
tel = Column(String(20), nullable=False, server_default=text("''"))
fax = Column(String(20), nullable=False, server_default=text("''"))
status_delete = Column(Integer, nullable=False, server_default=text("'0'"))
delete_time = Column(DateTime)
create_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP"))
update_time = Column(DateTime, nullable=False, server_default=text("CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"))
| 58.153119 | 120 | 0.72649 | 3,815 | 30,763 | 5.628834 | 0.046396 | 0.180404 | 0.226413 | 0.317221 | 0.92456 | 0.922418 | 0.917202 | 0.901416 | 0.868585 | 0.833985 | 0 | 0.018988 | 0.123493 | 30,763 | 528 | 121 | 58.263258 | 0.777407 | 0.000423 | 0 | 0.68254 | 0 | 0 | 0.092917 | 0.000846 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002268 | false | 0 | 0.004535 | 0.002268 | 0.972789 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
9f1b95be3c421b951d73dc440a7554e2c81d0ab0 | 73 | py | Python | route/__init__.py | ASTC-Kekeyuan/Lilm | 1aac271b91d2d701d088006b800991001f96921b | [
"MIT"
] | null | null | null | route/__init__.py | ASTC-Kekeyuan/Lilm | 1aac271b91d2d701d088006b800991001f96921b | [
"MIT"
] | null | null | null | route/__init__.py | ASTC-Kekeyuan/Lilm | 1aac271b91d2d701d088006b800991001f96921b | [
"MIT"
] | null | null | null | from .api_add import *
from .api_delete import *
from .api_query import * | 24.333333 | 25 | 0.767123 | 12 | 73 | 4.416667 | 0.5 | 0.396226 | 0.490566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 73 | 3 | 26 | 24.333333 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9f2e95090f8e47cabe47fd118facc8e3af7c3915 | 1,719 | py | Python | tests/test_adaptive.py | firefly-cpp/simframe | 63475e1cf41fcd6baa9c27fb1451c47a87d77ac7 | [
"BSD-3-Clause"
] | null | null | null | tests/test_adaptive.py | firefly-cpp/simframe | 63475e1cf41fcd6baa9c27fb1451c47a87d77ac7 | [
"BSD-3-Clause"
] | null | null | null | tests/test_adaptive.py | firefly-cpp/simframe | 63475e1cf41fcd6baa9c27fb1451c47a87d77ac7 | [
"BSD-3-Clause"
] | null | null | null | # This is a test case for integration with adaptive step sizes
import numpy as np
import pytest
from simframe import Frame
from simframe import Instruction
from simframe import Integrator
from simframe import schemes
def test_adaptive():
f = Frame()
f.addfield("Y", 1.)
def dYdx(f, x, Y):
return -Y
f.Y.differentiator = dYdx
f.addintegrationvariable("x", 0.)
def dx(f):
return f.x.suggested
f.x.updater = dx
f.x.snapshots = [10.]
f.x.suggest(100.)
f.integrator = Integrator(f.x)
f.integrator.instructions = [Instruction(
schemes.expl_5_cash_karp_adptv, f.Y)]
f.run()
assert f.Y == 5.34990702474703e-3
def test_adaptive_fail():
f = Frame()
f.addfield("Y", 1.)
def dYdx(f, x, Y):
return -Y
f.Y.differentiator = dYdx
f.addintegrationvariable("x", 0.)
def dx(f):
return f.x.suggested
f.x.updater = dx
f.x.snapshots = [10.]
f.x.suggest(100.)
f.integrator = Integrator(f.x)
f.integrator.instructions = [Instruction(
schemes.expl_5_cash_karp_adptv, f.Y)]
f.integrator.maxit = 1
with pytest.raises(StopIteration):
f.run()
def test_adaptive_update():
f = Frame()
f.addfield("Y", 1.)
def dYdx(f, x, Y):
return -Y
f.Y.differentiator = dYdx
f.addintegrationvariable("x", 0.)
def dx(f):
return f.x.suggested
f.x.updater = dx
f.x.snapshots = [10.]
f.x.suggest(100.)
f.integrator = Integrator(f.x)
f.integrator.instructions = [Instruction(schemes.expl_5_cash_karp_adptv, f.Y),
Instruction(schemes.update, f.Y)]
f.run()
assert f.Y == 5.34990702474703e-3
| 21.4875 | 82 | 0.613147 | 246 | 1,719 | 4.215447 | 0.223577 | 0.034716 | 0.069431 | 0.043394 | 0.701061 | 0.701061 | 0.701061 | 0.701061 | 0.701061 | 0.701061 | 0 | 0.044671 | 0.257708 | 1,719 | 79 | 83 | 21.759494 | 0.768025 | 0.034904 | 0 | 0.775862 | 0 | 0 | 0.003621 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 1 | 0.155172 | false | 0 | 0.103448 | 0.103448 | 0.362069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
9f472901cd6205659beda538710f4591ab84a877 | 184 | py | Python | python_modules/libraries/dagster-snowflake/dagster_snowflake/__init__.py | shahvineet98/dagster | 2471d39c52f660e23e8c0d8e8ded873ddc3df036 | [
"Apache-2.0"
] | 3 | 2020-04-28T16:27:33.000Z | 2020-07-22T07:43:30.000Z | python_modules/libraries/dagster-snowflake/dagster_snowflake/__init__.py | shahvineet98/dagster | 2471d39c52f660e23e8c0d8e8ded873ddc3df036 | [
"Apache-2.0"
] | 2 | 2021-05-11T13:36:27.000Z | 2021-09-03T01:53:11.000Z | python_modules/libraries/dagster-snowflake/dagster_snowflake/__init__.py | shahvineet98/dagster | 2471d39c52f660e23e8c0d8e8ded873ddc3df036 | [
"Apache-2.0"
] | 1 | 2021-02-21T12:16:47.000Z | 2021-02-21T12:16:47.000Z | from .resources import snowflake_resource
from .solids import snowflake_solid_for_query
from .version import __version__
__all__ = ['snowflake_solid_for_query', 'snowflake_resource']
| 30.666667 | 61 | 0.847826 | 23 | 184 | 6.086957 | 0.478261 | 0.214286 | 0.242857 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092391 | 184 | 5 | 62 | 36.8 | 0.838323 | 0 | 0 | 0 | 0 | 0 | 0.233696 | 0.13587 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9f6ffa66773f3a6ccd5b1af72128fef0c94ee6c0 | 556 | py | Python | modulos109/moeda.py | MarcioRSanches/Estudos_Python | 2fef374b82645d4efced42f3dc666bb0603cd858 | [
"MIT"
] | null | null | null | modulos109/moeda.py | MarcioRSanches/Estudos_Python | 2fef374b82645d4efced42f3dc666bb0603cd858 | [
"MIT"
] | null | null | null | modulos109/moeda.py | MarcioRSanches/Estudos_Python | 2fef374b82645d4efced42f3dc666bb0603cd858 | [
"MIT"
] | null | null | null | def aumentar(preco=0, taxa=0, formato=False):
res = preco + (preco * taxa/100)
return res if formato is False else real(res)
def diminuir(preco=0, taxa=0, formato=False):
res = preco - (preco * taxa/100)
return res if formato is False else real(res)
def dobro(preco=0, formato=False):
res = preco * 2
return res if not formato else real(res)
def metade(preco=0,formato=False):
res = preco / 2
return res if not formato else real(res)
def real(preco=0, real='R$ '):
return f'{real}{preco:>.2f}'.replace('.',',')
| 23.166667 | 49 | 0.643885 | 90 | 556 | 3.977778 | 0.255556 | 0.083799 | 0.145251 | 0.178771 | 0.804469 | 0.804469 | 0.804469 | 0.804469 | 0.804469 | 0.804469 | 0 | 0.03653 | 0.21223 | 556 | 23 | 50 | 24.173913 | 0.780822 | 0 | 0 | 0.285714 | 0 | 0 | 0.041441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0 | 0.071429 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
9f9489512d8973edb9ed5ece00c0a7aab9a94c4e | 8,512 | py | Python | pydh.py | fultonms/ssc | b80ff4cfff743e15b68c964a53c532b3a2a6b18a | [
"MIT"
] | null | null | null | pydh.py | fultonms/ssc | b80ff4cfff743e15b68c964a53c532b3a2a6b18a | [
"MIT"
] | null | null | null | pydh.py | fultonms/ssc | b80ff4cfff743e15b68c964a53c532b3a2a6b18a | [
"MIT"
] | null | null | null | import random, hashlib
from binascii import hexlify
class DiffieHellman(object):
def __init__(self, generator=2, group=17, keyLength=540):
self.generator = 2
self.prime = self.getPrime(group)
self.privateKey = self.genPrivateKey(keyLength)
self.publicKey = self.genPublicKey()
def getPrime(self, group=17):
default_group = 17
primes = {
5: 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA237327FFFFFFFFFFFFFFFF,
14: 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AACAA68FFFFFFFFFFFFFFFF,
15: 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF,
16: 0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C934063199FFFFFFFFFFFFFFFF,
17:
0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C93402849236C3FAB4D27C7026C1D4DCB2602646DEC9751E763DBA37BDF8FF9406AD9E530EE5DB382F413001AEB06A53ED9027D831179727B0865A8918DA3EDBEBCF9B14ED44CE6CBACED4BB1BDB7F1447E6CC254B332051512BD7AF426FB8F401378CD2BF5983CA01C64B92ECF032EA15D1721D03F482D7CE6E74FEF6D55E702F46980C82B5A84031900B1C9E59E7C97FBEC7E8F323A97A7E36CC88BE0F1D45B7FF585AC54BD407B22B4154AACC8F6D7EBF48E1D814CC5ED20F8037E0A79715EEF29BE32806A1D58BB7C5DA76F550AA3D8A1FBFF0EB19CCB1A313D55CDA56C9EC2EF29632387FE8D76E3C0468043E8F663F4860EE12BF2D5B0B7474D6E694F91E6DCC4024FFFFFFFFFFFFFFFF,
18:
0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B2699C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C93402849236C3FAB4D27C7026C1D4DCB2602646DEC9751E763DBA37BDF8FF9406AD9E530EE5DB382F413001AEB06A53ED9027D831179727B0865A8918DA3EDBEBCF9B14ED44CE6CBACED4BB1BDB7F1447E6CC254B332051512BD7AF426FB8F401378CD2BF5983CA01C64B92ECF032EA15D1721D03F482D7CE6E74FEF6D55E702F46980C82B5A84031900B1C9E59E7C97FBEC7E8F323A97A7E36CC88BE0F1D45B7FF585AC54BD407B22B4154AACC8F6D7EBF48E1D814CC5ED20F8037E0A79715EEF29BE32806A1D58BB7C5DA76F550AA3D8A1FBFF0EB19CCB1A313D55CDA56C9EC2EF29632387FE8D76E3C0468043E8F663F4860EE12BF2D5B0B7474D6E694F91E6DBE115974A3926F12FEE5E438777CB6A932DF8CD8BEC4D073B931BA3BC832B68D9DD300741FA7BF8AFC47ED2576F6936BA424663AAB639C5AE4F5683423B4742BF1C978238F16CBE39D652DE3FDB8BEFC848AD922222E04A4037C0713EB57A81A23F0C73473FC646CEA306B4BCBC8862F8385DDFA9D4B7FA2C087E879683303ED5BDD3A062B3CF5B3A278A66D2A13F83F44F82DDF310EE074AB6A364597E899A0255DC164F31CC50846851DF9AB48195DED7EA1B1D510BD7EE74D73FAF36BC31ECFA268359046F4EB879F924009438B481C6CD7889A002ED5EE382BC9190DA6FC026E479558E4475677E9AA9E3050E2765694DFC81F56E880B96E7160C980DD98EDD3DFFFFFFFFFFFFFFFFF
}
if group in primes.keys():
return primes[group]
else:
print("Error: No prime with group %i. Using default." % group)
return primes[default_group]
def genPrivateKey(self, bits):
return random.getrandbits(bits)
def genPublicKey(self):
return pow(self.generator, self.privateKey, self.prime)
def checkPublicKey(self, otherKey):
if otherKey > 2 and otherKey < self.prime-1:
if pow(otherKey, (self.prime -1)//2, self.prime) == 1:
return True
return False
def genSecret(self, privateKey, otherKey):
if self.checkPublicKey(otherKey) == True:
sharedSecret = pow(otherKey, privateKey, self.prime)
return sharedSecret
else:
raise Exception('Invalid public key.')
def genKey(self, otherKey):
self.sharedSecret = self.genSecret(self.privateKey, otherKey)
try:
sharedSecretBytes = self.sharedSecret.to_bytes(self.sharedSecret.bit_length() // 8+1, byteorder="big")
except AttributeError:
sharedSecretBytes = str(self.sharedSecret)
s = hashlib.sha256()
s.update(bytes(sharedSecretBytes))
self.key = s.hexdigest()
def getKey(self):
return self.key
if __name__=="__main__":
"""
Run an example Diffie-Hellman exchange
"""
a = DiffieHellman(group=5, keyLength=200)
b = DiffieHellman(group=5, keyLength=200)
a.genKey(b.publicKey)
b.genKey(a.publicKey)
if(a.getKey() == b.getKey()):
print("Shared keys match.")
print("Key:", a.key)
else:
print("Shared secrets didn't match!")
print("Shared secret A: ", a.genSecret(b.publicKey))
print("Shared secret B: ", b.genSecret(a.publicKey))
| 101.333333 | 2,056 | 0.900141 | 262 | 8,512 | 29.183206 | 0.377863 | 0.007063 | 0.003924 | 0.004708 | 0.008109 | 0 | 0 | 0 | 0 | 0 | 0 | 0.484229 | 0.068844 | 8,512 | 83 | 2,057 | 102.554217 | 0.480444 | 0 | 0 | 0.047619 | 0 | 0 | 0.018794 | 0 | 0 | 1 | 0.74279 | 0 | 0 | 1 | 0.126984 | false | 0 | 0.031746 | 0.047619 | 0.301587 | 0.095238 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9fad54bbc3f0da70e34407476578d7504bd6081f | 11,421 | py | Python | liexperiment/lithium/zeeman.py | MaxParsons/amo-physics | f4ba2e2f6576130af6f67b18413ff5ece10b69b2 | [
"MIT"
] | null | null | null | liexperiment/lithium/zeeman.py | MaxParsons/amo-physics | f4ba2e2f6576130af6f67b18413ff5ece10b69b2 | [
"MIT"
] | null | null | null | liexperiment/lithium/zeeman.py | MaxParsons/amo-physics | f4ba2e2f6576130af6f67b18413ff5ece10b69b2 | [
"MIT"
] | null | null | null | '''
Created on Jul 27, 2015
@author: MP
'''
import numpy as np
import plastia.calculation.operator as op
import plastia.analysis.physics as phys
import matplotlib.pylab as plt
def ground_breit_rabi_plot():
'''
Construct ground electronic hyperfine Hamiltonian
'''
HhfGnd = op.Operator('F', [0, 0.5, 1])
for J in np.arange(HhfGnd.momenta[0] + HhfGnd.momenta[1], -.1, -1):
for F in np.arange(J + HhfGnd.momenta[2], -.1, -1):
for mF in np.arange(-F, F + .1, 1):
if F == 1.5:
HhfGnd.representation[HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF), HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF)] = phys.LithiumSix.mag_dipole_SOneHalf / 2 # HzGnd
else:
HhfGnd.representation[HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF), HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF)] = -phys.LithiumSix.mag_dipole_SOneHalf # HzGnd
'''
Construct the ground electronic zeeman Hamiltonian (magnetic field factored out)
'''
HzGnd = op.Operator('L_S_I', [0, 0.5, 1])
for mS in np.arange(-HzGnd.momenta[1], HzGnd.momenta[1] + .1, 1):
for mI in np.arange(-HzGnd.momenta[2], HzGnd.momenta[2] + .1, 1):
for mL in np.arange(-HzGnd.momenta[0], HzGnd.momenta[0] + .1, 1):
HzGnd.representation[HhfGnd.L_S_ItoIndex(HzGnd.momenta[0], mL, HzGnd.momenta[1], mS, HzGnd.momenta[2], mI), HhfGnd.L_S_ItoIndex(HzGnd.momenta[0], mL, HzGnd.momenta[1], mS, HzGnd.momenta[2], mI)]\
= phys.PhysicalConstants.gelectron * phys.PhysicalConstants.uB * mS + phys.PhysicalConstants.uB * mL + phys.PhysicalConstants.uN * mI
HzGnd.ChangeOfBasis('F')
B = np.arange(0, 528, 1)
energiesGnd = np.zeros((HzGnd.length, len(B)))
for n in np.arange(0, len(B), 1):
w, v = np.linalg.eig(HhfGnd.representation + B[n] * HzGnd.representation)
energiesGnd[:, n] = sorted(w)
for k in np.arange(0, HzGnd.length, 1):
plt.plot(B, energiesGnd[k, :])
plt.show()
def excited_breit_rabi_plot():
'''
Construct hyperfine Hamiltonian
'''
Hhf = op.Operator('F', [1, 0.5, 1])
for J in np.arange(Hhf.momenta[0] + Hhf.momenta[1], -.1, -1):
for F in np.arange(J + Hhf.momenta[2], -.1, -1):
for mF in np.arange(-F, F + .1, 1):
I = Hhf.momenta[2]
C = F * (F + 1) - J * (J + 1) - I * (I + 1)
if J == 0.5:
Hhf.representation[Hhf.FtoIndex(J, I, F, mF), Hhf.FtoIndex(J, I, F, mF)] = 0.5 * C * phys.LithiumSix.mag_dipole_POneHalf # Hz
else:
Hhf.representation[Hhf.FtoIndex(J, I, F, mF), Hhf.FtoIndex(J, I, F, mF)] = 0.5 * C * phys.LithiumSix.mag_dipole_PThreeHalf + \
0.375 * phys.LithiumSix.elec_quadrupole_PThreeHalf * C * (C + 1) / (I * (2 * I - 1) * J * (2 * J - 1)) # Hz
'''
Construct the fine structure Hamiltonian
'''
Hfs = op.Operator('J_I', [1, 0.5, 1])
for J in np.arange(Hfs.momenta[0] + Hfs.momenta[1], -.1, -1):
for mJ in np.arange(-J, J + .1, 1):
for mI in np.arange(-Hfs.momenta[2], Hfs.momenta[2] + .1, 1):
if J == 1.5:
Hfs.representation[Hfs.J_ItoIndex(J, mJ, Hfs.momenta[2], mI), Hfs.J_ItoIndex(J, mJ, Hfs.momenta[2], mI)] = phys.LithiumSix.fine_structure
else:
Hfs.representation[Hfs.J_ItoIndex(J, mJ, Hfs.momenta[2], mI), Hfs.J_ItoIndex(J, mJ, Hfs.momenta[2], mI)] = 0.0
Hfs.ChangeOfBasis('F')
'''
Construct the zeeman Hamiltonian (magnetic field factored out)
'''
Hz = op.Operator('L_S_I', [1, 0.5, 1])
for mS in np.arange(-Hz.momenta[1], Hz.momenta[1] + .1, 1):
for mI in np.arange(-Hz.momenta[2], Hz.momenta[2] + .1, 1):
for mL in np.arange(-Hz.momenta[0], Hz.momenta[0] + .1, 1):
Hz.representation[Hhf.L_S_ItoIndex(Hz.momenta[0], mL, Hz.momenta[1], mS, Hz.momenta[2], mI), Hhf.L_S_ItoIndex(Hz.momenta[0], mL, Hz.momenta[1], mS, Hz.momenta[2], mI)]\
= phys.PhysicalConstants.gelectron * phys.PhysicalConstants.uB * mS + phys.PhysicalConstants.uB * mL + phys.PhysicalConstants.uN * mI
Hz.ChangeOfBasis('F')
B = np.arange(0, 2, .1)
energies = np.zeros((Hz.length, len(B)))
eigenvectors = np.zeros
for n in np.arange(0, len(B), 1):
w, v = np.linalg.eig(Hhf.representation + Hfs.representation + B[n] * Hz.representation)
energies[:, n] = sorted(w)
for k in np.arange(0, Hz.length, 1):
plt.plot(B, energies[k, :])
plt.show()
def imaging_transitions_high_field(field):
for gstate in range(1, 4):
freq = imaging_transition(field, gstate, 7) / 10**6
print "|{}> --> |J=3/2, mJ=-3/2>: {} MHz".format(gstate, freq)
for gstate in range(4, 7):
freq = imaging_transition(field, gstate, 18) / 10**6
print "|{}> --> |J=3/2, mJ=+3/2>: {} MHz".format(gstate, freq)
def print_microwave_transitions(field):
'''
Construct ground electronic hyperfine Hamiltonian
'''
HhfGnd = op.Operator('F', [0, 0.5, 1])
for J in np.arange(HhfGnd.momenta[0] + HhfGnd.momenta[1], -.1, -1):
for F in np.arange(J + HhfGnd.momenta[2], -.1, -1):
for mF in np.arange(-F, F + .1, 1):
if F == 1.5:
HhfGnd.representation[HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF), HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF)] = phys.LithiumSix.mag_dipole_SOneHalf / 2 # HzGnd
else:
HhfGnd.representation[HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF), HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF)] = -phys.LithiumSix.mag_dipole_SOneHalf # HzGnd
'''
Construct the ground electronic zeeman Hamiltonian (magnetic field factored out)
'''
HzGnd = op.Operator('L_S_I', [0, 0.5, 1])
for mS in np.arange(-HzGnd.momenta[1], HzGnd.momenta[1] + .1, 1):
for mI in np.arange(-HzGnd.momenta[2], HzGnd.momenta[2] + .1, 1):
for mL in np.arange(-HzGnd.momenta[0], HzGnd.momenta[0] + .1, 1):
HzGnd.representation[HhfGnd.L_S_ItoIndex(HzGnd.momenta[0], mL, HzGnd.momenta[1], mS, HzGnd.momenta[2], mI), HhfGnd.L_S_ItoIndex(HzGnd.momenta[0], mL, HzGnd.momenta[1], mS, HzGnd.momenta[2], mI)]\
= phys.PhysicalConstants.gelectron * phys.PhysicalConstants.uB * mS + phys.PhysicalConstants.uB * mL + phys.PhysicalConstants.uN * mI
HzGnd.ChangeOfBasis('F')
energiesGnd = np.zeros(HzGnd.length)
w, v = np.linalg.eig(HhfGnd.representation + field * HzGnd.representation)
energiesGnd[:] = sorted(w)
for gstate in range(1,7):
for estate in range (gstate + 1, 7):
freq = (energiesGnd[estate - 1] - energiesGnd[gstate - 1])/10**6
print "|{}> --> |{}>: {} MHz".format(gstate, estate, freq)
def imaging_transition(field, ground_state, excited_state):
BEAT_FREQUENCY_OFFSET = 9887298340.0
'''
Construct ground electronic hyperfine Hamiltonian
'''
HhfGnd = op.Operator('F', [0, 0.5, 1])
for J in np.arange(HhfGnd.momenta[0] + HhfGnd.momenta[1], -.1, -1):
for F in np.arange(J + HhfGnd.momenta[2], -.1, -1):
for mF in np.arange(-F, F + .1, 1):
if F == 1.5:
HhfGnd.representation[HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF), HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF)] = phys.LithiumSix.mag_dipole_SOneHalf / 2 # HzGnd
else:
HhfGnd.representation[HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF), HhfGnd.FtoIndex(J, HhfGnd.momenta[2], F, mF)] = -phys.LithiumSix.mag_dipole_SOneHalf # HzGnd
'''
Construct the ground electronic zeeman Hamiltonian (magnetic field factored out)
'''
HzGnd = op.Operator('L_S_I', [0, 0.5, 1])
for mS in np.arange(-HzGnd.momenta[1], HzGnd.momenta[1] + .1, 1):
for mI in np.arange(-HzGnd.momenta[2], HzGnd.momenta[2] + .1, 1):
for mL in np.arange(-HzGnd.momenta[0], HzGnd.momenta[0] + .1, 1):
HzGnd.representation[HhfGnd.L_S_ItoIndex(HzGnd.momenta[0], mL, HzGnd.momenta[1], mS, HzGnd.momenta[2], mI), HhfGnd.L_S_ItoIndex(HzGnd.momenta[0], mL, HzGnd.momenta[1], mS, HzGnd.momenta[2], mI)]\
= phys.PhysicalConstants.gelectron * phys.PhysicalConstants.uB * mS + phys.PhysicalConstants.uB * mL + phys.PhysicalConstants.uN * mI
HzGnd.ChangeOfBasis('F')
energiesGnd = np.zeros(HzGnd.length)
w, v = np.linalg.eig(HhfGnd.representation + field * HzGnd.representation)
energiesGnd[:] = sorted(w)
'''
Construct Excited hyperfine Hamiltonian
'''
Hhf = op.Operator('F', [1, 0.5, 1])
for J in np.arange(Hhf.momenta[0] + Hhf.momenta[1], -.1, -1):
for F in np.arange(J + Hhf.momenta[2], -.1, -1):
for mF in np.arange(-F, F + .1, 1):
I = Hhf.momenta[2]
C = F * (F + 1) - J * (J + 1) - I * (I + 1)
if J == 0.5:
Hhf.representation[Hhf.FtoIndex(J, I, F, mF), Hhf.FtoIndex(J, I, F, mF)] = 0.5 * C * phys.LithiumSix.mag_dipole_POneHalf # Hz
else:
Hhf.representation[Hhf.FtoIndex(J, I, F, mF), Hhf.FtoIndex(J, I, F, mF)] = 0.5 * C * phys.LithiumSix.mag_dipole_PThreeHalf + \
0.375 * phys.LithiumSix.elec_quadrupole_PThreeHalf * C * (C + 1) / (I * (2 * I - 1) * J * (2 * J - 1)) # Hz
'''
Construct the Excited fine structure Hamiltonian
'''
Hfs = op.Operator('J_I', [1, 0.5, 1])
for J in np.arange(Hfs.momenta[0] + Hfs.momenta[1], -.1, -1):
for mJ in np.arange(-J, J + .1, 1):
for mI in np.arange(-Hfs.momenta[2], Hfs.momenta[2] + .1, 1):
if J == 1.5:
Hfs.representation[Hfs.J_ItoIndex(J, mJ, Hfs.momenta[2], mI), Hfs.J_ItoIndex(J, mJ, Hfs.momenta[2], mI)] = phys.LithiumSix.fine_structure
else:
Hfs.representation[Hfs.J_ItoIndex(J, mJ, Hfs.momenta[2], mI), Hfs.J_ItoIndex(J, mJ, Hfs.momenta[2], mI)] = 0.0
Hfs.ChangeOfBasis('F')
'''
Construct the Excited zeeman Hamiltonian (magnetic field factored out)
'''
Hz = op.Operator('L_S_I', [1, 0.5, 1])
for mS in np.arange(-Hz.momenta[1], Hz.momenta[1] + .1, 1):
for mI in np.arange(-Hz.momenta[2], Hz.momenta[2] + .1, 1):
for mL in np.arange(-Hz.momenta[0], Hz.momenta[0] + .1, 1):
Hz.representation[Hhf.L_S_ItoIndex(Hz.momenta[0], mL, Hz.momenta[1], mS, Hz.momenta[2], mI), Hhf.L_S_ItoIndex(Hz.momenta[0], mL, Hz.momenta[1], mS, Hz.momenta[2], mI)]\
= phys.PhysicalConstants.gelectron * phys.PhysicalConstants.uB * mS + phys.PhysicalConstants.uB * mL + phys.PhysicalConstants.uN * mI
Hz.ChangeOfBasis('F')
B = np.arange(0, 2, .1)
energiesEx = np.zeros(Hz.length)
w, v = np.linalg.eig(Hhf.representation + Hfs.representation + field * Hz.representation)
energiesEx[:] = sorted(w)
return energiesEx[excited_state - 1] - energiesGnd[ground_state - 1] - BEAT_FREQUENCY_OFFSET
def array_plot_test():
a = np.array([1.0, 1.4, None, 3, 6, 2])
pass
if __name__ == "__main__":
#ground_breit_rabi_plot()
#excited_breit_rabi_plot()
energy = imaging_transitions_high_field(284)
#print_microwave_transitions(10)
| 48.6 | 211 | 0.586464 | 1,676 | 11,421 | 3.931384 | 0.078759 | 0.061921 | 0.060707 | 0.034148 | 0.860373 | 0.836546 | 0.834117 | 0.831082 | 0.831082 | 0.811808 | 0 | 0.041691 | 0.248139 | 11,421 | 235 | 212 | 48.6 | 0.725632 | 0.01112 | 0 | 0.730263 | 0 | 0 | 0.01331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.006579 | 0.026316 | null | null | 0.026316 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4c9034f01f8648a765c3f112d90552afb2f8981c | 394 | py | Python | machamp/machamp/modules/__init__.py | AngelFelipeMP/MultiTask-Learning-for-Toxic-Language-Classification | 52333da6e8b7accdd4eebcec321b8be5b23b5929 | [
"MIT"
] | null | null | null | machamp/machamp/modules/__init__.py | AngelFelipeMP/MultiTask-Learning-for-Toxic-Language-Classification | 52333da6e8b7accdd4eebcec321b8be5b23b5929 | [
"MIT"
] | null | null | null | machamp/machamp/modules/__init__.py | AngelFelipeMP/MultiTask-Learning-for-Toxic-Language-Classification | 52333da6e8b7accdd4eebcec321b8be5b23b5929 | [
"MIT"
] | null | null | null | from machamp.modules.bucket_batch_sampler import BucketBatchSampler
from machamp.modules.pretrained_transformer_mixmatched_indexer import PretrainedTransformerMixmatchedIndexer
from machamp.modules.pretrained_transformer_embedder import MachampPretrainedTransformerEmbedder
from machamp.modules.pretrained_transformer_mismatched_embedder import MachampPretrainedTransformerMismatchedEmbedder
| 56.285714 | 117 | 0.93401 | 34 | 394 | 10.529412 | 0.5 | 0.122905 | 0.201117 | 0.234637 | 0.326816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045685 | 394 | 6 | 118 | 65.666667 | 0.952128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4cbf69bde4c1079180763b4d94e0e6729665a7c7 | 92,958 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_aaa_protocol_radius_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_aaa_protocol_radius_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_aaa_protocol_radius_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XR_aaa_protocol_radius_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR aaa\-protocol\-radius package operational data.
This module contains definitions
for the following management objects\:
radius\: RADIUS operational data
This YANG module augments the
Cisco\-IOS\-XR\-aaa\-locald\-oper
module with state data.
Copyright (c) 2013\-2016 by Cisco Systems, Inc.
All rights reserved.
"""
import re
import collections
from enum import Enum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk.errors import YPYError, YPYModelError
class Radius(object):
"""
RADIUS operational data
.. attribute:: nodes
Contains all the nodes
**type**\: :py:class:`Nodes <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes>`
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.nodes = Radius.Nodes()
self.nodes.parent = self
class Nodes(object):
"""
Contains all the nodes
.. attribute:: node
RADIUS operational data for a particular node
**type**\: list of :py:class:`Node <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node>`
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.node = YList()
self.node.parent = self
self.node.name = 'node'
class Node(object):
"""
RADIUS operational data for a particular node
.. attribute:: node_name <key>
Node name
**type**\: str
**pattern:** ([a\-zA\-Z0\-9\_]\*\\d+/){1,2}([a\-zA\-Z0\-9\_]\*\\d+)
.. attribute:: accounting
RADIUS accounting data
**type**\: :py:class:`Accounting <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.Accounting>`
.. attribute:: authentication
RADIUS authentication data
**type**\: :py:class:`Authentication <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.Authentication>`
.. attribute:: client
RADIUS client data
**type**\: :py:class:`Client <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.Client>`
.. attribute:: dead_criteria
RADIUS dead criteria information
**type**\: :py:class:`DeadCriteria <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.DeadCriteria>`
.. attribute:: dynamic_authorization
Dynamic authorization data
**type**\: :py:class:`DynamicAuthorization <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.DynamicAuthorization>`
.. attribute:: server_groups
RADIUS server group table
**type**\: :py:class:`ServerGroups <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.ServerGroups>`
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.node_name = None
self.accounting = Radius.Nodes.Node.Accounting()
self.accounting.parent = self
self.authentication = Radius.Nodes.Node.Authentication()
self.authentication.parent = self
self.client = Radius.Nodes.Node.Client()
self.client.parent = self
self.dead_criteria = Radius.Nodes.Node.DeadCriteria()
self.dead_criteria.parent = self
self.dynamic_authorization = Radius.Nodes.Node.DynamicAuthorization()
self.dynamic_authorization.parent = self
self.server_groups = Radius.Nodes.Node.ServerGroups()
self.server_groups.parent = self
class Client(object):
"""
RADIUS client data
.. attribute:: authentication_nas_id
NAS\-Identifier of the RADIUS authentication client
**type**\: str
.. attribute:: unknown_accounting_responses
Number of RADIUS accounting responses packets received from unknown addresses
**type**\: int
**range:** 0..4294967295
.. attribute:: unknown_authentication_responses
Number of RADIUS access responses packets received from unknown addresses
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.authentication_nas_id = None
self.unknown_accounting_responses = None
self.unknown_authentication_responses = None
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:client'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.authentication_nas_id is not None:
return True
if self.unknown_accounting_responses is not None:
return True
if self.unknown_authentication_responses is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.Client']['meta_info']
class DeadCriteria(object):
"""
RADIUS dead criteria information
.. attribute:: hosts
RADIUS server dead criteria host table
**type**\: :py:class:`Hosts <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.DeadCriteria.Hosts>`
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.hosts = Radius.Nodes.Node.DeadCriteria.Hosts()
self.hosts.parent = self
class Hosts(object):
"""
RADIUS server dead criteria host table
.. attribute:: host
RADIUS Server
**type**\: list of :py:class:`Host <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.DeadCriteria.Hosts.Host>`
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.host = YList()
self.host.parent = self
self.host.name = 'host'
class Host(object):
"""
RADIUS Server
.. attribute:: acct_port_number
Accounting Port number (standard port 1646)
**type**\: int
**range:** 1..65535
.. attribute:: auth_port_number
Authentication Port number (standard port 1645)
**type**\: int
**range:** 1..65535
.. attribute:: ip_address
IP address of RADIUS server
**type**\: one of the below types:
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
----
**type**\: str
**pattern:** ((\:\|[0\-9a\-fA\-F]{0,4})\:)([0\-9a\-fA\-F]{0,4}\:){0,5}((([0\-9a\-fA\-F]{0,4}\:)?(\:\|[0\-9a\-fA\-F]{0,4}))\|(((25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])\\.){3}(25[0\-5]\|2[0\-4][0\-9]\|[01]?[0\-9]?[0\-9])))(%[\\p{N}\\p{L}]+)?
----
.. attribute:: time
Time in seconds
**type**\: :py:class:`Time <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.DeadCriteria.Hosts.Host.Time>`
.. attribute:: tries
Number of tries
**type**\: :py:class:`Tries <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.DeadCriteria.Hosts.Host.Tries>`
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.acct_port_number = None
self.auth_port_number = None
self.ip_address = None
self.time = Radius.Nodes.Node.DeadCriteria.Hosts.Host.Time()
self.time.parent = self
self.tries = Radius.Nodes.Node.DeadCriteria.Hosts.Host.Tries()
self.tries.parent = self
class Time(object):
"""
Time in seconds
.. attribute:: is_computed
True if computed; false if not
**type**\: bool
.. attribute:: value
Value for time or tries
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.is_computed = None
self.value = None
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:time'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.is_computed is not None:
return True
if self.value is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.DeadCriteria.Hosts.Host.Time']['meta_info']
class Tries(object):
"""
Number of tries
.. attribute:: is_computed
True if computed; false if not
**type**\: bool
.. attribute:: value
Value for time or tries
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.is_computed = None
self.value = None
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:tries'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.is_computed is not None:
return True
if self.value is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.DeadCriteria.Hosts.Host.Tries']['meta_info']
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:host'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.acct_port_number is not None:
return True
if self.auth_port_number is not None:
return True
if self.ip_address is not None:
return True
if self.time is not None and self.time._has_data():
return True
if self.tries is not None and self.tries._has_data():
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.DeadCriteria.Hosts.Host']['meta_info']
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:hosts'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.host is not None:
for child_ref in self.host:
if child_ref._has_data():
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.DeadCriteria.Hosts']['meta_info']
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:dead-criteria'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.hosts is not None and self.hosts._has_data():
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.DeadCriteria']['meta_info']
class Authentication(object):
"""
RADIUS authentication data
.. attribute:: authentication_group
List of authentication groups
**type**\: list of :py:class:`AuthenticationGroup <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.Authentication.AuthenticationGroup>`
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.authentication_group = YList()
self.authentication_group.parent = self
self.authentication_group.name = 'authentication_group'
class AuthenticationGroup(object):
"""
List of authentication groups
.. attribute:: authentication
Authentication data
**type**\: :py:class:`Authentication_ <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.Authentication.AuthenticationGroup.Authentication_>`
.. attribute:: family
IP address Family
**type**\: str
.. attribute:: ip_address
IP address buffer
**type**\: str
.. attribute:: port
Authentication port number
**type**\: int
**range:** 0..4294967295
.. attribute:: server_address
IP address of RADIUS server
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.authentication = Radius.Nodes.Node.Authentication.AuthenticationGroup.Authentication_()
self.authentication.parent = self
self.family = None
self.ip_address = None
self.port = None
self.server_address = None
class Authentication_(object):
"""
Authentication data
.. attribute:: access_accepts
Number of access accepts
**type**\: int
**range:** 0..4294967295
.. attribute:: access_challenges
Number of access challenges
**type**\: int
**range:** 0..4294967295
.. attribute:: access_rejects
Number of access rejects
**type**\: int
**range:** 0..4294967295
.. attribute:: access_request_retransmits
Number of retransmitted access requests
**type**\: int
**range:** 0..4294967295
.. attribute:: access_requests
Number of access requests
**type**\: int
**range:** 0..4294967295
.. attribute:: access_timeouts
Number of access packets timed out
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_incorrect_responses
Number of incorrect authentication responses
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_response_time
Average response time for authentication requests
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_server_error_responses
Number of server error authentication responses
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_transaction_failure
Number of failed authentication transactions
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_transaction_successess
Number of succeeded authentication transactions
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_unexpected_responses
Number of unexpected authentication responses
**type**\: int
**range:** 0..4294967295
.. attribute:: bad_access_authenticators
Number of bad access authenticators
**type**\: int
**range:** 0..4294967295
.. attribute:: bad_access_responses
Number of bad access responses
**type**\: int
**range:** 0..4294967295
.. attribute:: dropped_access_responses
Number of access responses dropped
**type**\: int
**range:** 0..4294967295
.. attribute:: pending_access_requests
Number of pending access requests
**type**\: int
**range:** 0..4294967295
.. attribute:: rtt
Round trip time for authentication in milliseconds
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: unknown_access_types
Number of packets received with unknown type from authentication server
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.access_accepts = None
self.access_challenges = None
self.access_rejects = None
self.access_request_retransmits = None
self.access_requests = None
self.access_timeouts = None
self.authen_incorrect_responses = None
self.authen_response_time = None
self.authen_server_error_responses = None
self.authen_transaction_failure = None
self.authen_transaction_successess = None
self.authen_unexpected_responses = None
self.bad_access_authenticators = None
self.bad_access_responses = None
self.dropped_access_responses = None
self.pending_access_requests = None
self.rtt = None
self.unknown_access_types = None
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:authentication'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.access_accepts is not None:
return True
if self.access_challenges is not None:
return True
if self.access_rejects is not None:
return True
if self.access_request_retransmits is not None:
return True
if self.access_requests is not None:
return True
if self.access_timeouts is not None:
return True
if self.authen_incorrect_responses is not None:
return True
if self.authen_response_time is not None:
return True
if self.authen_server_error_responses is not None:
return True
if self.authen_transaction_failure is not None:
return True
if self.authen_transaction_successess is not None:
return True
if self.authen_unexpected_responses is not None:
return True
if self.bad_access_authenticators is not None:
return True
if self.bad_access_responses is not None:
return True
if self.dropped_access_responses is not None:
return True
if self.pending_access_requests is not None:
return True
if self.rtt is not None:
return True
if self.unknown_access_types is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.Authentication.AuthenticationGroup.Authentication_']['meta_info']
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:authentication-group'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.authentication is not None and self.authentication._has_data():
return True
if self.family is not None:
return True
if self.ip_address is not None:
return True
if self.port is not None:
return True
if self.server_address is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.Authentication.AuthenticationGroup']['meta_info']
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:authentication'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.authentication_group is not None:
for child_ref in self.authentication_group:
if child_ref._has_data():
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.Authentication']['meta_info']
class Accounting(object):
"""
RADIUS accounting data
.. attribute:: accounting_group
List of accounting groups
**type**\: list of :py:class:`AccountingGroup <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.Accounting.AccountingGroup>`
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.accounting_group = YList()
self.accounting_group.parent = self
self.accounting_group.name = 'accounting_group'
class AccountingGroup(object):
"""
List of accounting groups
.. attribute:: accounting
Accounting data
**type**\: :py:class:`Accounting_ <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.Accounting.AccountingGroup.Accounting_>`
.. attribute:: family
IP address Family
**type**\: str
.. attribute:: ip_address
IP address buffer
**type**\: str
.. attribute:: port
Accounting port number
**type**\: int
**range:** 0..4294967295
.. attribute:: server_address
IP address of RADIUS server
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.accounting = Radius.Nodes.Node.Accounting.AccountingGroup.Accounting_()
self.accounting.parent = self
self.family = None
self.ip_address = None
self.port = None
self.server_address = None
class Accounting_(object):
"""
Accounting data
.. attribute:: acct_incorrect_responses
Number of incorrect accounting responses
**type**\: int
**range:** 0..4294967295
.. attribute:: acct_response_time
Average response time for authentication requests
**type**\: int
**range:** 0..4294967295
.. attribute:: acct_server_error_responses
Number of server error accounting responses
**type**\: int
**range:** 0..4294967295
.. attribute:: acct_transaction_failure
Number of failed authentication transactions
**type**\: int
**range:** 0..4294967295
.. attribute:: acct_transaction_successess
Number of succeeded authentication transactions
**type**\: int
**range:** 0..4294967295
.. attribute:: acct_unexpected_responses
Number of unexpected accounting responses
**type**\: int
**range:** 0..4294967295
.. attribute:: bad_authenticators
Number of bad accounting authenticators
**type**\: int
**range:** 0..4294967295
.. attribute:: bad_responses
Number of bad accounting responses
**type**\: int
**range:** 0..4294967295
.. attribute:: dropped_responses
Number of accounting responses dropped
**type**\: int
**range:** 0..4294967295
.. attribute:: pending_requests
Number of pending accounting requests
**type**\: int
**range:** 0..4294967295
.. attribute:: requests
Number of accounting requests
**type**\: int
**range:** 0..4294967295
.. attribute:: responses
Number of accounting responses
**type**\: int
**range:** 0..4294967295
.. attribute:: retransmits
Number of retransmitted accounting requests
**type**\: int
**range:** 0..4294967295
.. attribute:: rtt
Round trip time for accounting in milliseconds
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: timeouts
Number of accounting packets timed\-out
**type**\: int
**range:** 0..4294967295
.. attribute:: unknown_packet_types
Number of packets received with unknown type from accounting server
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.acct_incorrect_responses = None
self.acct_response_time = None
self.acct_server_error_responses = None
self.acct_transaction_failure = None
self.acct_transaction_successess = None
self.acct_unexpected_responses = None
self.bad_authenticators = None
self.bad_responses = None
self.dropped_responses = None
self.pending_requests = None
self.requests = None
self.responses = None
self.retransmits = None
self.rtt = None
self.timeouts = None
self.unknown_packet_types = None
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:accounting'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.acct_incorrect_responses is not None:
return True
if self.acct_response_time is not None:
return True
if self.acct_server_error_responses is not None:
return True
if self.acct_transaction_failure is not None:
return True
if self.acct_transaction_successess is not None:
return True
if self.acct_unexpected_responses is not None:
return True
if self.bad_authenticators is not None:
return True
if self.bad_responses is not None:
return True
if self.dropped_responses is not None:
return True
if self.pending_requests is not None:
return True
if self.requests is not None:
return True
if self.responses is not None:
return True
if self.retransmits is not None:
return True
if self.rtt is not None:
return True
if self.timeouts is not None:
return True
if self.unknown_packet_types is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.Accounting.AccountingGroup.Accounting_']['meta_info']
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:accounting-group'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.accounting is not None and self.accounting._has_data():
return True
if self.family is not None:
return True
if self.ip_address is not None:
return True
if self.port is not None:
return True
if self.server_address is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.Accounting.AccountingGroup']['meta_info']
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:accounting'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.accounting_group is not None:
for child_ref in self.accounting_group:
if child_ref._has_data():
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.Accounting']['meta_info']
class ServerGroups(object):
"""
RADIUS server group table
.. attribute:: server_group
RADIUS server group data
**type**\: list of :py:class:`ServerGroup <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.ServerGroups.ServerGroup>`
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.server_group = YList()
self.server_group.parent = self
self.server_group.name = 'server_group'
class ServerGroup(object):
"""
RADIUS server group data
.. attribute:: server_group_name <key>
Group name
**type**\: str
**pattern:** [\\w\\\-\\.\:,\_@#%$\\+=\\\|;]+
.. attribute:: dead_time
Dead time in minutes
**type**\: int
**range:** 0..4294967295
**units**\: minute
.. attribute:: groups
Number of groups
**type**\: int
**range:** 0..4294967295
.. attribute:: server_group
Server groups
**type**\: list of :py:class:`ServerGroup_ <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_>`
.. attribute:: servers
Number of servers
**type**\: int
**range:** 0..4294967295
.. attribute:: vrf_name
VRF name
**type**\: str
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.server_group_name = None
self.dead_time = None
self.groups = None
self.server_group = YList()
self.server_group.parent = self
self.server_group.name = 'server_group'
self.servers = None
self.vrf_name = None
class ServerGroup_(object):
"""
Server groups
.. attribute:: accounting
Accounting data
**type**\: :py:class:`Accounting <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Accounting>`
.. attribute:: accounting_port
Accounting port
**type**\: int
**range:** 0..4294967295
.. attribute:: authentication
Authentication data
**type**\: :py:class:`Authentication <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authentication>`
.. attribute:: authentication_port
Authentication port
**type**\: int
**range:** 0..4294967295
.. attribute:: authorization
Authorization data
**type**\: :py:class:`Authorization <ydk.models.cisco_ios_xr.Cisco_IOS_XR_aaa_protocol_radius_oper.Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authorization>`
.. attribute:: family
IP address Family
**type**\: str
.. attribute:: ip_address
IP address buffer
**type**\: str
.. attribute:: is_private
True if private
**type**\: bool
.. attribute:: server_address
Server address
**type**\: str
**pattern:** (([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])\\.){3}([0\-9]\|[1\-9][0\-9]\|1[0\-9][0\-9]\|2[0\-4][0\-9]\|25[0\-5])(%[\\p{N}\\p{L}]+)?
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.accounting = Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Accounting()
self.accounting.parent = self
self.accounting_port = None
self.authentication = Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authentication()
self.authentication.parent = self
self.authentication_port = None
self.authorization = Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authorization()
self.authorization.parent = self
self.family = None
self.ip_address = None
self.is_private = None
self.server_address = None
class Accounting(object):
"""
Accounting data
.. attribute:: acct_incorrect_responses
Number of incorrect accounting responses
**type**\: int
**range:** 0..4294967295
.. attribute:: acct_response_time
Average response time for authentication requests
**type**\: int
**range:** 0..4294967295
.. attribute:: acct_server_error_responses
Number of server error accounting responses
**type**\: int
**range:** 0..4294967295
.. attribute:: acct_transaction_failure
Number of failed authentication transactions
**type**\: int
**range:** 0..4294967295
.. attribute:: acct_transaction_successess
Number of succeeded authentication transactions
**type**\: int
**range:** 0..4294967295
.. attribute:: acct_unexpected_responses
Number of unexpected accounting responses
**type**\: int
**range:** 0..4294967295
.. attribute:: bad_authenticators
Number of bad accounting authenticators
**type**\: int
**range:** 0..4294967295
.. attribute:: bad_responses
Number of bad accounting responses
**type**\: int
**range:** 0..4294967295
.. attribute:: dropped_responses
Number of accounting responses dropped
**type**\: int
**range:** 0..4294967295
.. attribute:: pending_requests
Number of pending accounting requests
**type**\: int
**range:** 0..4294967295
.. attribute:: requests
Number of accounting requests
**type**\: int
**range:** 0..4294967295
.. attribute:: responses
Number of accounting responses
**type**\: int
**range:** 0..4294967295
.. attribute:: retransmits
Number of retransmitted accounting requests
**type**\: int
**range:** 0..4294967295
.. attribute:: rtt
Round trip time for accounting in milliseconds
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: timeouts
Number of accounting packets timed\-out
**type**\: int
**range:** 0..4294967295
.. attribute:: unknown_packet_types
Number of packets received with unknown type from accounting server
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.acct_incorrect_responses = None
self.acct_response_time = None
self.acct_server_error_responses = None
self.acct_transaction_failure = None
self.acct_transaction_successess = None
self.acct_unexpected_responses = None
self.bad_authenticators = None
self.bad_responses = None
self.dropped_responses = None
self.pending_requests = None
self.requests = None
self.responses = None
self.retransmits = None
self.rtt = None
self.timeouts = None
self.unknown_packet_types = None
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:accounting'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.acct_incorrect_responses is not None:
return True
if self.acct_response_time is not None:
return True
if self.acct_server_error_responses is not None:
return True
if self.acct_transaction_failure is not None:
return True
if self.acct_transaction_successess is not None:
return True
if self.acct_unexpected_responses is not None:
return True
if self.bad_authenticators is not None:
return True
if self.bad_responses is not None:
return True
if self.dropped_responses is not None:
return True
if self.pending_requests is not None:
return True
if self.requests is not None:
return True
if self.responses is not None:
return True
if self.retransmits is not None:
return True
if self.rtt is not None:
return True
if self.timeouts is not None:
return True
if self.unknown_packet_types is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Accounting']['meta_info']
class Authentication(object):
"""
Authentication data
.. attribute:: access_accepts
Number of access accepts
**type**\: int
**range:** 0..4294967295
.. attribute:: access_challenges
Number of access challenges
**type**\: int
**range:** 0..4294967295
.. attribute:: access_rejects
Number of access rejects
**type**\: int
**range:** 0..4294967295
.. attribute:: access_request_retransmits
Number of retransmitted access requests
**type**\: int
**range:** 0..4294967295
.. attribute:: access_requests
Number of access requests
**type**\: int
**range:** 0..4294967295
.. attribute:: access_timeouts
Number of access packets timed out
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_incorrect_responses
Number of incorrect authentication responses
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_response_time
Average response time for authentication requests
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_server_error_responses
Number of server error authentication responses
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_transaction_failure
Number of failed authentication transactions
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_transaction_successess
Number of succeeded authentication transactions
**type**\: int
**range:** 0..4294967295
.. attribute:: authen_unexpected_responses
Number of unexpected authentication responses
**type**\: int
**range:** 0..4294967295
.. attribute:: bad_access_authenticators
Number of bad access authenticators
**type**\: int
**range:** 0..4294967295
.. attribute:: bad_access_responses
Number of bad access responses
**type**\: int
**range:** 0..4294967295
.. attribute:: dropped_access_responses
Number of access responses dropped
**type**\: int
**range:** 0..4294967295
.. attribute:: pending_access_requests
Number of pending access requests
**type**\: int
**range:** 0..4294967295
.. attribute:: rtt
Round trip time for authentication in milliseconds
**type**\: int
**range:** 0..4294967295
**units**\: millisecond
.. attribute:: unknown_access_types
Number of packets received with unknown type from authentication server
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.access_accepts = None
self.access_challenges = None
self.access_rejects = None
self.access_request_retransmits = None
self.access_requests = None
self.access_timeouts = None
self.authen_incorrect_responses = None
self.authen_response_time = None
self.authen_server_error_responses = None
self.authen_transaction_failure = None
self.authen_transaction_successess = None
self.authen_unexpected_responses = None
self.bad_access_authenticators = None
self.bad_access_responses = None
self.dropped_access_responses = None
self.pending_access_requests = None
self.rtt = None
self.unknown_access_types = None
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:authentication'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.access_accepts is not None:
return True
if self.access_challenges is not None:
return True
if self.access_rejects is not None:
return True
if self.access_request_retransmits is not None:
return True
if self.access_requests is not None:
return True
if self.access_timeouts is not None:
return True
if self.authen_incorrect_responses is not None:
return True
if self.authen_response_time is not None:
return True
if self.authen_server_error_responses is not None:
return True
if self.authen_transaction_failure is not None:
return True
if self.authen_transaction_successess is not None:
return True
if self.authen_unexpected_responses is not None:
return True
if self.bad_access_authenticators is not None:
return True
if self.bad_access_responses is not None:
return True
if self.dropped_access_responses is not None:
return True
if self.pending_access_requests is not None:
return True
if self.rtt is not None:
return True
if self.unknown_access_types is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authentication']['meta_info']
class Authorization(object):
"""
Authorization data
.. attribute:: author_incorrect_responses
Number of incorrect authorization responses
**type**\: int
**range:** 0..4294967295
.. attribute:: author_request_timeouts
Number of access packets timed out
**type**\: int
**range:** 0..4294967295
.. attribute:: author_requests
Number of access requests
**type**\: int
**range:** 0..4294967295
.. attribute:: author_response_time
Average response time for authorization requests
**type**\: int
**range:** 0..4294967295
.. attribute:: author_server_error_responses
Number of server error authorization responses
**type**\: int
**range:** 0..4294967295
.. attribute:: author_transaction_failure
Number of failed authorization transactions
**type**\: int
**range:** 0..4294967295
.. attribute:: author_transaction_successess
Number of succeeded authorization transactions
**type**\: int
**range:** 0..4294967295
.. attribute:: author_unexpected_responses
Number of unexpected authorization responses
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.author_incorrect_responses = None
self.author_request_timeouts = None
self.author_requests = None
self.author_response_time = None
self.author_server_error_responses = None
self.author_transaction_failure = None
self.author_transaction_successess = None
self.author_unexpected_responses = None
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:authorization'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.author_incorrect_responses is not None:
return True
if self.author_request_timeouts is not None:
return True
if self.author_requests is not None:
return True
if self.author_response_time is not None:
return True
if self.author_server_error_responses is not None:
return True
if self.author_transaction_failure is not None:
return True
if self.author_transaction_successess is not None:
return True
if self.author_unexpected_responses is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_.Authorization']['meta_info']
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:server-group'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.accounting is not None and self.accounting._has_data():
return True
if self.accounting_port is not None:
return True
if self.authentication is not None and self.authentication._has_data():
return True
if self.authentication_port is not None:
return True
if self.authorization is not None and self.authorization._has_data():
return True
if self.family is not None:
return True
if self.ip_address is not None:
return True
if self.is_private is not None:
return True
if self.server_address is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup.ServerGroup_']['meta_info']
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
if self.server_group_name is None:
raise YPYModelError('Key property server_group_name is None')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:server-group[Cisco-IOS-XR-aaa-protocol-radius-oper:server-group-name = ' + str(self.server_group_name) + ']'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.server_group_name is not None:
return True
if self.dead_time is not None:
return True
if self.groups is not None:
return True
if self.server_group is not None:
for child_ref in self.server_group:
if child_ref._has_data():
return True
if self.servers is not None:
return True
if self.vrf_name is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.ServerGroups.ServerGroup']['meta_info']
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:server-groups'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.server_group is not None:
for child_ref in self.server_group:
if child_ref._has_data():
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.ServerGroups']['meta_info']
class DynamicAuthorization(object):
"""
Dynamic authorization data
.. attribute:: disconnected_invalid_requests
Invalid disconnected requests
**type**\: int
**range:** 0..4294967295
.. attribute:: invalid_coa_requests
Invalid change of authorization requests
**type**\: int
**range:** 0..4294967295
"""
_prefix = 'aaa-protocol-radius-oper'
_revision = '2015-11-09'
def __init__(self):
self.parent = None
self.disconnected_invalid_requests = None
self.invalid_coa_requests = None
@property
def _common_path(self):
if self.parent is None:
raise YPYModelError('parent is not set . Cannot derive path.')
return self.parent._common_path +'/Cisco-IOS-XR-aaa-protocol-radius-oper:dynamic-authorization'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.disconnected_invalid_requests is not None:
return True
if self.invalid_coa_requests is not None:
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node.DynamicAuthorization']['meta_info']
@property
def _common_path(self):
if self.node_name is None:
raise YPYModelError('Key property node_name is None')
return '/Cisco-IOS-XR-aaa-protocol-radius-oper:radius/Cisco-IOS-XR-aaa-protocol-radius-oper:nodes/Cisco-IOS-XR-aaa-protocol-radius-oper:node[Cisco-IOS-XR-aaa-protocol-radius-oper:node-name = ' + str(self.node_name) + ']'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.node_name is not None:
return True
if self.accounting is not None and self.accounting._has_data():
return True
if self.authentication is not None and self.authentication._has_data():
return True
if self.client is not None and self.client._has_data():
return True
if self.dead_criteria is not None and self.dead_criteria._has_data():
return True
if self.dynamic_authorization is not None and self.dynamic_authorization._has_data():
return True
if self.server_groups is not None and self.server_groups._has_data():
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes.Node']['meta_info']
@property
def _common_path(self):
return '/Cisco-IOS-XR-aaa-protocol-radius-oper:radius/Cisco-IOS-XR-aaa-protocol-radius-oper:nodes'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.node is not None:
for child_ref in self.node:
if child_ref._has_data():
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius.Nodes']['meta_info']
@property
def _common_path(self):
return '/Cisco-IOS-XR-aaa-protocol-radius-oper:radius'
def is_config(self):
''' Returns True if this instance represents config data else returns False '''
return False
def _has_data(self):
if not self.is_config():
return False
if self.nodes is not None and self.nodes._has_data():
return True
return False
@staticmethod
def _meta_info():
from ydk.models.cisco_ios_xr._meta import _Cisco_IOS_XR_aaa_protocol_radius_oper as meta
return meta._meta_table['Radius']['meta_info']
| 41.591946 | 269 | 0.39123 | 6,948 | 92,958 | 5.036701 | 0.03152 | 0.025718 | 0.033176 | 0.046292 | 0.88084 | 0.86661 | 0.842835 | 0.815031 | 0.799771 | 0.782026 | 0 | 0.033306 | 0.546516 | 92,958 | 2,234 | 270 | 41.610564 | 0.796845 | 0.236419 | 0 | 0.808756 | 0 | 0.003456 | 0.081085 | 0.054409 | 0 | 0 | 0 | 0 | 0 | 1 | 0.126728 | false | 0 | 0.031106 | 0.002304 | 0.460829 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
980dd6529b8afc3e6942e8b6e83e261a6c20576a | 5,739 | py | Python | ares/model/base.py | KuanKuanQAQ/ares | 40dbefc18f6438e1812021fe6d6c3195f22ca295 | [
"MIT"
] | 206 | 2020-12-31T09:43:11.000Z | 2022-03-30T07:02:41.000Z | ares/model/base.py | afoolboy/ares | 89610d41fdde194e4ad916d29961aaed73383692 | [
"MIT"
] | 7 | 2021-01-26T06:45:44.000Z | 2022-02-26T05:25:48.000Z | ares/model/base.py | afoolboy/ares | 89610d41fdde194e4ad916d29961aaed73383692 | [
"MIT"
] | 61 | 2020-12-29T14:02:41.000Z | 2022-03-26T14:21:10.000Z | from abc import ABCMeta, abstractmethod
class Classifier(metaclass=ABCMeta):
''' An abstract interface for classifier model. '''
def __init__(self, n_class, x_min, x_max, x_shape, x_dtype, y_dtype):
''' Initialize the abstract Classifier with metadata.
:param n_class: A ``int`` number. Number of class of the classifier.
:param x_min: A ``float`` number. Min value for the classifier's input.
:param x_max: A ``float`` number. Max value for the classifier's input.
:param x_shape: A ``tuple`` of ``int`` numbers. The shape of the classifier's input.
:param x_dtype: A ``tf.DType`` instance. The data type of the classifier's input.
:param y_dtype: A ``tf.DType`` instance. The data type of the classifier's classification result.
'''
self.n_class = n_class
self.x_min, self.x_max, self.x_shape, self.x_dtype = x_min, x_max, x_shape, x_dtype
self.y_dtype = y_dtype
# cache labels output to reuse graph
self._xs_labels_map = dict()
@abstractmethod
def _labels(self, xs):
''' Take an input ``tf.Tensor`` and give the classifier's classification result as a ``tf.Tensor``.
:param xs: A ``tf.Tensor`` instance. Input of the classifier with shape of ``self.x_shape`` and with data type
of ``self.x_dtype``. ``xs`` shall be in the range of [``self.x_min``, ``self.x_max``].
:return: A ``tf.Tensor`` instance with shape of ``(self.n_class,)`` and with data type of ``self.y_dtype``.
Represents the classification result.
'''
def labels(self, xs):
''' A wrapper for ``self._labels()`` to reuse graph.
:param xs: A ``tf.Tensor`` instance. Input of the classifier with shape of ``self.x_shape`` and with data type
of ``self.x_dtype``. ``xs`` shall be in the range of [``self.x_min``, ``self.x_max``].
:return: A ``tf.Tensor`` instance with shape of ``(self.n_class,)`` and with data type of ``self.y_dtype``.
Represents the classification result.
'''
try:
return self._xs_labels_map[xs]
except KeyError:
labels = self._labels(xs)
self._xs_labels_map[xs] = labels
return labels
class ClassifierWithLogits(Classifier, metaclass=ABCMeta):
''' An abstract interface for classifier model which provides (maybe differentiable) logits output. '''
def __init__(self, n_class, x_min, x_max, x_shape, x_dtype, y_dtype):
''' Initialize the abstract ClassifierWithLogits with metadata.
:param n_class: A ``int`` number. Number of class of the classifier.
:param x_min: A ``float`` number. Min value for the classifier's input.
:param x_max: A ``float`` number. Max value for the classifier's input.
:param x_shape: A ``tuple`` of ``int`` numbers. The shape of the classifier's input.
:param x_dtype: A ``tf.DType`` instance. The data type of the classifier's input.
:param y_dtype: A ``tf.DType`` instance. The data type of the classifier's classification result.
'''
super().__init__(n_class, x_min, x_max, x_shape, x_dtype, y_dtype)
# cache logits and labels output to reuse graph
self._xs_logits_labels_map = dict()
@abstractmethod
def _logits_and_labels(self, xs):
''' Take an input ``tf.Tensor`` and give the classifier's logits output as a ``tf.Tensor`` and classification
result as a ``tf.Tensor``.
:param xs: A ``tf.Tensor`` instance. Input of the classifier with shape of ``self.x_shape`` and with data type
of ``self.x_dtype``. ``xs`` shall be in the range of [``self.x_min``, ``self.x_max``].
:return: A tuple of two tensor, which represent the logits and the labels output of the classifier.
'''
def _labels(self, xs):
''' Implementation for the ``Classifier`` interface. '''
_, labels = self._logits_and_labels(xs)
return labels
def logits_and_labels(self, xs):
''' A wrapper for ``self._logits_and_labels()`` to reuse graph.
:param xs: A ``tf.Tensor`` instance. Input of the classifier with shape of ``self.x_shape`` and with data type
of ``self.x_dtype``. ``xs`` shall be in the range of [``self.x_min``, ``self.x_max``].
:return: A tuple of two tensor, which represent the logits and the labels output of the classifier.
'''
try:
logits, labels = self._xs_logits_labels_map[xs]
except KeyError:
logits, labels = self._logits_and_labels(xs)
self._xs_logits_labels_map[xs] = (logits, labels)
return logits, labels
def labels(self, xs):
''' A wrapper for ``self._logits_and_labels()`` to reuse graph which returns only labels output.
:param xs: A ``tf.Tensor`` instance. Input of the classifier with shape of ``self.x_shape`` and with data type
of ``self.x_dtype``. ``xs`` shall be in the range of [``self.x_min``, ``self.x_max``].
:return: A tensor, which represent the labels output of the classifier.
'''
_, labels = self.logits_and_labels(xs)
return labels
def logits(self, xs):
''' A wrapper for ``self._logits_and_labels()`` to reuse graph which returns only logits output.
:param xs: A ``tf.Tensor`` instance. Input of the classifier with shape of ``self.x_shape`` and with data type
of ``self.x_dtype``. ``xs`` shall be in the range of [``self.x_min``, ``self.x_max``].
:return: A tensor, which represent the logits output of the classifier.
'''
logits, _ = self.logits_and_labels(xs)
return logits
| 50.342105 | 118 | 0.635825 | 835 | 5,739 | 4.209581 | 0.095808 | 0.039829 | 0.076814 | 0.043243 | 0.875107 | 0.837838 | 0.792888 | 0.775818 | 0.76074 | 0.724893 | 0 | 0 | 0.245862 | 5,739 | 113 | 119 | 50.787611 | 0.812153 | 0.649416 | 0 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.236842 | false | 0 | 0.026316 | 0 | 0.473684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e240436226de6ad728839905cfc1602b02c67c14 | 35,762 | py | Python | gan_data.py | DarthSid95/RumiGANs | 9f7876e89caa0d39bd563947ab9c41f4e3745021 | [
"MIT"
] | 26 | 2020-10-31T06:00:22.000Z | 2022-02-13T19:30:49.000Z | gan_data.py | DarthSid95/RumiGANs | 9f7876e89caa0d39bd563947ab9c41f4e3745021 | [
"MIT"
] | 3 | 2021-03-01T05:43:03.000Z | 2021-07-10T13:08:18.000Z | gan_data.py | DarthSid95/RumiGANs | 9f7876e89caa0d39bd563947ab9c41f4e3745021 | [
"MIT"
] | 5 | 2021-04-12T10:59:20.000Z | 2021-06-04T08:52:51.000Z | from __future__ import print_function
import numpy as np
import tensorflow as tf
# import tensorflow_probability as tfp
# tfd = tfp.distributions
import glob
from absl import flags
import csv
from scipy import io as sio
import matplotlib
matplotlib.use('agg')
import matplotlib.pyplot as plt
from matplotlib.backends.backend_pgf import PdfPages
### Need to prevent tfds downloads bugging out? check
import urllib3
urllib3.disable_warnings()
FLAGS = flags.FLAGS
'''***********************************************************************************
********** Base Data Loading Ops *****************************************************
***********************************************************************************'''
class GAN_DATA_ops:
def __init__(self):
self.gen_func = 'self.gen_func_'+self.data+'()'
self.dataset_func = 'self.dataset_'+self.data+'(self.train_data)'
self.noise_mean = 0.0
self.noise_stddev = 1.00
#Default Number of repetitions of a dataset in tf.dataset mapping
self.reps = 1
self.noise_dims = 100
if self.data == 'celeba':
self.output_size = self.out_size
elif self.data == 'mnist':
self.output_size = 28
elif self.data == 'cifar10':
self.output_size = 32
# self.testcase = testcase
# self.number = number
def mnist_loader(self):
if self.mnist_variant == 'fashion':
(train_images, train_labels), (test_images, test_labels) = tf.keras.datasets.fashion_mnist.load_data()
else:
(train_images, train_labels), (test_images, test_labels) = tf.keras.datasets.mnist.load_data()
train_images = train_images.reshape(train_images.shape[0],self.output_size, self.output_size, 1).astype('float32')
train_labels = train_labels.reshape(train_images.shape[0], 1).astype('float32')
train_images = (train_images - 127.5) / 127.5
test_images = test_images.reshape(test_images.shape[0],self.output_size, self.output_size, 1).astype('float32')
self.test_images = (test_images - 127.5) / 127.5
return train_images, train_labels, test_images, test_labels
# def fmnist_loader(self):
# (train_images, train_labels), (test_images, test_labels) = tf.keras.datasets.fashion_mnist.load_data()
# train_images = train_images.reshape(train_images.shape[0],self.output_size, self.output_size, 1).astype('float32')
# train_labels = train_labels.reshape(train_images.shape[0], 1).astype('float32')
# train_images = (train_images - 127.5) / 127.5
# test_images = test_images.reshape(test_images.shape[0],self.output_size, self.output_size, 1).astype('float32')
# test_labels = test_labels.reshape(test_images.shape[0], 1).astype('float32')
# test_images = (test_images - 127.5) / 127.5
# return train_images, train_labels, test_images, test_labels
def celeba_loader(self):
if self.colab:
try:
with open("data/CelebA/Colab_CelebA_Names.txt","r") as names:
true_files = np.array([line.rstrip() for line in names])
print("Data File Found. Reading filenames")
except:
true_files = sorted(glob.glob('/content/colab_data_faces/img_align_celeba/*.jpg'))
print("Data File Created. Saving filenames")
with open("data/CelebA/Colab_CelebA_Names.txt","w") as names:
for name in true_files:
names.write(str(name)+'\n')
else:
try:
with open("data/CelebA/CelebA_Names.txt","r") as names:
true_files = np.array([line.rstrip() for line in names])
print("Data File Found. Reading filenames")
except:
true_files = sorted(glob.glob('data/CelebA/img_align_celeba/*.jpg'))
print("Data File Created. Saving filenames")
with open("data/CelebA/CelebA_Names.txt","w") as names:
for name in true_files:
names.write(str(name)+'\n')
train_images = np.expand_dims(np.array(true_files),axis=1)
attr_file = 'data/CelebA/list_attr_celeba.csv'
with open(attr_file,'r') as a_f:
data_iter = csv.reader(a_f,delimiter = ',',quotechar = '"')
data = [data for data in data_iter]
# print(data,len(data))
label_array = np.asarray(data)
return train_images, label_array
def cifar10_loader(self):
(train_images, train_labels), (test_images, test_labels) = tf.keras.datasets.cifar10.load_data()
train_images = train_images.reshape(train_images.shape[0],self.output_size, self.output_size, 3).astype('float32')
train_labels = train_labels.reshape(train_images.shape[0], 1).astype('float32')
train_images = (train_images - 127.5) / 127.5
test_images = test_images.reshape(test_images.shape[0],self.output_size, self.output_size, 3).astype('float32')
test_labels = test_labels.reshape(test_images.shape[0], 1).astype('float32')
test_images = (test_images - 127.5) / 127.5
return train_images, train_labels, test_images, test_labels
'''
GAN_DATA functions are specific to the topic, ELeGANt, RumiGAN, PRDeep or DCS. Data reading and dataset making functions per data, with init having some specifics generic to all, such as printing instructions, noise params. etc.
'''
'''***********************************************************************************
********** GAN_DATA_Baseline *********************************************************
***********************************************************************************'''
class GAN_DATA_Base(GAN_DATA_ops):
def __init__(self):#,data,testcase,number,out_size):
# self.gen_func = 'self.gen_func_'+data+'()'
# self.dataset_func = 'self.dataset_'+data+'(self.train_data)'
self.noise_mean = 0.0
self.noise_stddev = 1.00
GAN_DATA_ops.__init__(self)#,data,testcase,number,out_size)
def gen_func_mnist(self):
# self.output_size = int(28)
train_images, train_labels, test_images, test_labels = self.mnist_loader()
zero = train_labels == 0
one = train_labels == 1
two = train_labels == 2
three = train_labels == 3
four = train_labels == 4
five = train_labels == 5
six = train_labels == 6
seven = train_labels == 7
eight = train_labels == 8
nine = train_labels == 9
self.fid_train_images = train_images
if self.testcase == 'single':
train_images = train_images[np.where(train_labels == self.number)[0]]
self.fid_train_images = train_images
if self.testcase == 'few':
self.fid_train_images = train_images[np.where(train_labels == self.number)[0]]
train_images = train_images[np.where(train_labels == self.number)[0]][0:self.num_few]
self.fid_train_images_few = train_images
if self.testcase == 'even':
train_images = train_images[np.where(train_labels%2 == 0)[0]]
self.fid_train_images = train_images
if self.testcase == 'odd':
train_images = train_images[np.where(train_labels%2 != 0)[0]]
self.fid_train_images = train_images
if self.testcase == 'overlap':
train_images = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
self.fid_train_images = train_images
self.reps = int(60000.0/train_images.shape[0])
return train_images
def dataset_mnist(self,train_data,batch_size):
train_dataset = tf.data.Dataset.from_tensor_slices((train_data))
if self.loss == 'deq':
if self.latent_kind == 'DCT':# or self.latent_kind == 'Cycle':
train_dataset = train_dataset.map(DCT_compression_function, num_parallel_calls=int(self.num_parallel_calls))
if self.testcase == 'single' or self.testcase == 'few':
train_dataset = train_dataset.repeat(self.reps-1)
train_dataset = train_dataset.shuffle(50000)
train_dataset = train_dataset.batch(batch_size,drop_remainder=True)
train_dataset = train_dataset.prefetch(10)
return train_dataset
def gen_func_celeba(self):
train_images, data_array = self.celeba_loader()
# print(data_array,data_array.shape)
tags = data_array[0,:] # print to find which col to pull for what
# print(gender,gender.shape)
gender = data_array[1:,21]
male = gender == '1'
male = male.astype('uint8')
bald_labels = data_array[1:,5]
bald = bald_labels == '1'
bald = bald.astype('uint8')
hat_labels = data_array[1:,-5]
hat = hat_labels == '1'
hat = hat.astype('uint8')
mustache_labels = data_array[1:,23]
hustache = mustache_labels == '1'
hustache = hustache.astype('uint8')
self.fid_train_images = train_images
# if self.testcase == 'single':
# self.fid_train_images = train_images[np.where(male == 0)]
# train_images = train_images[np.where(male == 0)]
if self.testcase == 'female':
train_images = train_images[np.where(male == 0)]
self.fid_train_images = train_images
if self.testcase == 'male':
train_images = train_images[np.where(male == 1)]
self.fid_train_images = train_images
if self.testcase == 'fewfemale':
self.fid_train_images = train_images[np.where(male == 0)]
train_images = np.repeat(train_images[np.where(male == 0)][0:self.num_few],20,axis = 0)
if self.testcase == 'fewmale':
self.fid_train_images = train_images[np.where(male == 1)]
train_images = np.repeat(train_images[np.where(male == 0)][0:self.num_few],20,axis = 0)
if self.testcase == 'bald':
self.fid_train_images = train_images[np.where(bald == 1)]
train_images = np.repeat(train_images[np.where(bald == 1)],20,axis = 0)
if self.testcase == 'hat':
self.fid_train_images = train_images[np.where(hat == 1)]
train_images = np.repeat(train_images[np.where(hat == 1)],20,axis = 0)
return train_images
def dataset_celeba(self,train_data,batch_size):
def data_reader_faces(filename):
with tf.device('/CPU'):
print(tf.cast(filename[0],dtype=tf.string))
image_string = tf.io.read_file(tf.cast(filename[0],dtype=tf.string))
# Don't use tf.image.decode_image, or the output shape will be undefined
image = tf.image.decode_jpeg(image_string, channels=3)
image.set_shape([218,178,3])
image = tf.image.crop_to_bounding_box(image, 38, 18, 140,140)
image = tf.image.resize(image,[self.output_size,self.output_size])
# This will convert to float values in [-1, 1]
image = tf.divide(image,255.0)
# image = tf.subtract(image,127.0)
# image = tf.divide(image,127.0)
# image = tf.image.convert_image_dtype(image, tf.float16)
return image
train_dataset = tf.data.Dataset.from_tensor_slices((train_data))
train_dataset = train_dataset.map(data_reader_faces, num_parallel_calls=int(self.num_parallel_calls))
# train_dataset = train_dataset.map(DCT_compression_function, num_parallel_calls=int(self.num_parallel_calls))
train_dataset = train_dataset.shuffle(500)
train_dataset = train_dataset.batch(batch_size, drop_remainder = True)
train_dataset = train_dataset.prefetch(15)
return train_dataset
def gen_func_cifar10(self):
# self.output_size = int(28)
train_images, train_labels, test_images, test_labels = self.cifar10_loader()
zero = train_labels == 0
one = train_labels == 1
two = train_labels == 2
three = train_labels == 3
four = train_labels == 4
five = train_labels == 5
six = train_labels == 6
seven = train_labels == 7
eight = train_labels == 8
nine = train_labels == 9
# print(train_labels)
# exit(0)
# CLASSES: airplane,automobile,bird,cat,deer,dog,frog,horse,ship,truck
if self.testcase == 'few':
self.fid_train_images = train_images[np.where(train_labels == self.number)[0]]
train_images = train_images[np.where(train_labels == self.number)[0]][0:self.num_few]
self.reps = int(50000.0/train_images.shape[0])
if self.testcase == 'single':
train_images = train_images[np.where(train_labels == self.number)[0]]
self.fid_train_images = train_images
# mean_num = np.mean(train_images,axis = 0)
# print(mean_num.shape)
# self.save_paper(mean_num[:,:,0])
self.reps = int(60000/train_images.shape[0])+1
if self.testcase == 'even':
train_images = train_images[np.where(train_labels%2 == 0)[0]]
self.fid_train_images = train_images
if self.testcase == 'odd':
train_images = train_images[np.where(train_labels%2 != 0)[0]]
self.fid_train_images = train_images
if self.testcase == 'animals':
train_images = train_images[np.where(np.any([two, three, four, five, six, seven],axis=0))[0]]
self.fid_train_images = train_images
return train_images
def dataset_cifar10(self,train_data,batch_size):
train_dataset = tf.data.Dataset.from_tensor_slices((train_data))
if self.testcase == 'single' or self.testcase == 'few' or self.testcase == 'bald':
train_dataset = train_dataset.repeat(self.reps-1)
train_dataset = train_dataset.shuffle(400)
train_dataset = train_dataset.batch(batch_size,drop_remainder=True)
train_dataset = train_dataset.prefetch(5)
return train_dataset
'''************************************************************************************
********** GAN_DATA_RumiGAN ***********************************************************
***********************************************************************************'''
class GAN_DATA_RumiGAN(GAN_DATA_ops):
def __init__(self):#,data,testcase,number,out_size):
GAN_DATA_ops.__init__(self)#,data,testcase,number,out_size)
def gen_func_mnist(self):
train_images, train_labels, test_images, test_labels = self.mnist_loader()
zero = train_labels == 0
one = train_labels == 1
two = train_labels == 2
three = train_labels == 3
four = train_labels == 4
five = train_labels == 5
six = train_labels == 6
seven = train_labels == 7
eight = train_labels == 8
nine = train_labels == 9
# print(sum(one), sum(two), sum(four), sum(five), sum(seven), sum(nine))
# print( sum(np.any([one, two, four, five, seven, nine],axis=0)))
# print(x)
if self.testcase == 'single':
true_images = train_images[np.where(train_labels == self.number)[0]]
false_images = train_images[np.where(train_labels != self.number)[0]]
self.fid_train_images = train_images
self.fid_others = false_images
if self.testcase == 'few':
true_images = train_images[np.where(train_labels == self.number)[0]][0:self.num_few]
false_images = train_images[np.where(train_labels != self.number)[0]]
self.fid_train_images = train_images[np.where(train_labels == self.number)[0]]
self.fid_train_images_few = true_images
self.fid_train_images = true_images
self.fid_others = false_images
#train_images[np.where(train_labels == self.number)[0][0:500]]
if self.testcase == 'even':
true_images = train_images[np.where(train_labels%2 == 0)[0]]
false_images = train_images[np.where(train_labels%2 != 0)[0]]
self.fid_train_images = true_images
self.fid_others = false_images
if self.testcase == 'odd':
true_images = train_images[np.where(train_labels%2 != 0)[0]]
false_images = train_images[np.where(train_labels%2 == 0)[0]]
self.fid_train_images = true_images
self.fid_others = false_images
if self.testcase == 'overlap':
true_images = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
false_images = train_images[np.where(np.any([zero, two, three, six, eight, nine],axis=0))[0]]
self.fid_train_images = true_images
self.fid_others = false_images
if self.testcase == 'overlapSVHN':
SVHN_train_data = sio.loadmat('data/SVHN/train_32x32.mat')
# access to the dict
train_images_SVHN = tf.image.resize(tf.image.rgb_to_grayscale(tf.transpose(tf.cast(SVHN_train_data['X'],dtype='float32'),[3,0,1,2])),[self.output_size,self.output_size]).numpy()
train_images_SVHN = (train_images_SVHN - 0.) / 255.0
train_labels_SVHN = SVHN_train_data['y']
SVHNzero = train_labels_SVHN == 0
SVHNone = train_labels_SVHN == 1
SVHNtwo = train_labels_SVHN == 2
SVHNthree = train_labels_SVHN == 3
SVHNfour = train_labels_SVHN == 4
SVHNfive = train_labels_SVHN == 5
SVHNsix = train_labels_SVHN == 6
SVHNseven = train_labels_SVHN == 7
SVHNeight = train_labels_SVHN == 8
SVHNnine = train_labels_SVHN == 9
true_images = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
self.fid_train_images = true_images
false_images = train_images_SVHN[np.where(np.any([SVHNzero, SVHNtwo, SVHNthree, SVHNsix, SVHNeight, SVHNnine],axis=0))[0]]
self.fid_others = false_images
if self.testcase == 'SVHN':
SVHN_train_data = sio.loadmat('data/SVHN/train_32x32.mat')
# access to the dict
train_images_SVHN = tf.image.resize(tf.image.rgb_to_grayscale(tf.transpose(tf.cast(SVHN_train_data['X'],dtype='float32'),[3,0,1,2])),[self.output_size,self.output_size]).numpy()
train_images_SVHN = (train_images_SVHN - 0.) / 255.0
true_images = train_images
self.fid_train_images = true_images
false_images = train_images_SVHN
self.fid_others = false_images
self.ratio = true_images.shape[0] / float(false_images.shape[0])
return true_images, false_images
def dataset_mnist(self,train_data_pos, train_data_neg, batch_size):
train_dataset_pos = tf.data.Dataset.from_tensor_slices((train_data_pos))
if self.ratio < 1 :
reps = np.ceil(1/float(self.ratio))
train_dataset_pos = train_dataset_pos.repeat(reps)
train_dataset_pos = train_dataset_pos.shuffle(50000)
train_dataset_pos = train_dataset_pos.batch(batch_size, drop_remainder = True)
train_dataset_pos = train_dataset_pos.prefetch(5)
train_dataset_neg = tf.data.Dataset.from_tensor_slices((train_data_neg))
if self.ratio >= 1 :
reps = np.ceil(self.ratio)
train_dataset_neg = train_dataset_neg.repeat(reps)
train_dataset_neg = train_dataset_neg.shuffle(50000)
train_dataset_neg = train_dataset_neg.batch(batch_size, drop_remainder = True)
train_dataset_neg = train_dataset_neg.prefetch(5)
return train_dataset_pos, train_dataset_neg
def gen_func_cifar10(self):
# self.output_size = int(28)
train_images, train_labels, test_images, test_labels = self.cifar10_loader()
zero = train_labels == 0
one = train_labels == 1
two = train_labels == 2
three = train_labels == 3
four = train_labels == 4
five = train_labels == 5
six = train_labels == 6
seven = train_labels == 7
eight = train_labels == 8
nine = train_labels == 9
# print(train_labels)
# exit(0)
# CLASSES: airplane,automobile,bird,cat,deer,dog,frog,horse,ship,truck
if self.testcase == 'few':
self.fid_train_images = train_images[np.where(train_labels == self.number)[0]]
true_images = train_images[np.where(train_labels == self.number)[0]][0:self.num_few]
false_images = train_images[np.where(train_labels != self.number)[0]]
if self.testcase == 'single':
true_images = train_images[np.where(train_labels == self.number)[0]]
self.fid_train_images = true_images
false_images = train_images[np.where(train_labels != self.number)[0]]
if self.testcase == 'animals':
true_images = train_images[np.where(np.any([two, three, four, five, six, seven],axis=0))[0]]
self.fid_train_images = true_images
false_images = train_images[np.where(np.any([zero, one, eight, nine],axis=0))[0]]
self.ratio = true_images.shape[0] / float(false_images.shape[0])
return true_images, false_images
def dataset_cifar10(self,train_data_pos, train_data_neg, batch_size):
train_dataset_pos = tf.data.Dataset.from_tensor_slices((train_data_pos))
if self.ratio < 1 :
reps = np.ceil(1/float(self.ratio))
train_dataset_pos = train_dataset_pos.repeat(reps)
train_dataset_pos = train_dataset_pos.shuffle(50000)
train_dataset_pos = train_dataset_pos.batch(batch_size, drop_remainder = True)
train_dataset_pos = train_dataset_pos.prefetch(5)
train_dataset_neg = tf.data.Dataset.from_tensor_slices((train_data_neg))
if self.ratio >= 1 :
reps = np.ceil(self.ratio)
train_dataset_neg = train_dataset_neg.repeat(reps)
train_dataset_neg = train_dataset_neg.shuffle(50000)
train_dataset_neg = train_dataset_neg.batch(batch_size, drop_remainder = True)
train_dataset_neg = train_dataset_neg.prefetch(5)
return train_dataset_pos, train_dataset_neg
def gen_func_celeba(self):
train_images, data_array = self.celeba_loader()
# print(data_array,data_array.shape)
tags = data_array[0,:] # print to find which col to pull for what
# print(tags)
# print(XXX)
gender_labels = data_array[1:,21]
Eyeglass_labels = data_array[1:,16]
Mush_labels = data_array[1:,23]
bald_labels = data_array[1:,5]
# print(gender,gender.shape)
male = gender_labels == '1'
Eyeglasses = Eyeglass_labels == '1'
Mustache = Mush_labels == '1'
bald = bald_labels == '1'
hat_labels = data_array[1:,-5]
hat = hat_labels == '1'
hat = hat.astype('uint8')
if self.testcase == 'fewfemale':
true_images = train_images[np.where(male == 0)][0:self.num_few]
false_images = train_images[np.where(male == 1)]
self.fid_train_images = train_images[np.where(male == 0)]
if self.testcase == 'fewmale':
true_images = train_images[np.where(male == 1)][0:self.num_few]
false_images = train_images[np.where(male == 0)]
self.fid_train_images = train_images[np.where(male == 1)]
if self.testcase == 'female':
true_images = train_images[np.where(male == 0)]
false_images = train_images[np.where(male == 1)]
self.fid_train_images = train_images[np.where(male == 0)]
if self.testcase == 'male':
true_images = train_images[np.where(male == 1)]
false_images = train_images[np.where(male == 0)]
self.fid_train_images = train_images[np.where(male == 1)]
if self.testcase == 'bald':
true_images = train_images[np.where(bald == 1)]
false_images = train_images[np.where(bald == 0)]
self.fid_train_images = train_images[np.where(bald == 1)]
if self.testcase == 'cifar10':
true_images = train_images
self.fid_train_images = true_images
(false_images, false_labels), (false_test_images, false_test_labels) = tf.keras.datasets.cifar10.load_data()
false_images = false_images.reshape(false_images.shape[0], self.output_size, self.output_size, 3).astype('float32')
false_labels = false_labels.reshape(false_labels.shape[0], 1).astype('float32')
false_images = (false_images - 0.) / 255.0
if self.testcase == 'hat':
true_images = train_images[np.where(hat == 1)]
false_images = train_images[np.where(hat == 0)]
self.fid_train_images = train_images[np.where(hat == 1)]
if self.testcase == 'custom':
true_images = train_images[np.where(np.all([Eyeglasses,male,Mustache],axis = 0).astype('uint8') == 1)]
false_images = train_images[np.where(np.all([Eyeglasses,male,Mustache],axis = 0).astype('uint8') == 0)]
self.fid_train_images = true_images
self.ratio = true_images.shape[0] / float(false_images.shape[0])
return true_images, false_images
def dataset_celeba(self, train_data_pos, train_data_neg, batch_size):
def data_reader_faces(filename):
with tf.device('/CPU'):
print(tf.cast(filename[0],dtype=tf.string))
image_string = tf.io.read_file(tf.cast(filename[0],dtype=tf.string))
# Don't use tf.image.decode_image, or the output shape will be undefined
image = tf.image.decode_jpeg(image_string, channels=3)
image.set_shape([218,178,3])
image = tf.image.crop_to_bounding_box(image, 38, 18, 140,140)
image = tf.image.resize(image,[self.output_size,self.output_size])
# This will convert to float values in [-1, 1]
image = tf.divide(image,255.0)
# image = tf.subtract(image,127.0)
# image = tf.divide(image,127.0)
# image = tf.image.convert_image_dtype(image, tf.float32)
# image = tf.divide(image,255.0)
return image
train_dataset_pos = tf.data.Dataset.from_tensor_slices((train_data_pos))
if self.ratio < 1 :
reps = np.ceil(1/float(self.ratio))
train_dataset_pos = train_dataset_pos.repeat(reps)
# if not self.colab:
train_dataset_pos = train_dataset_pos.map(data_reader_faces, num_parallel_calls=int(self.num_parallel_calls))
train_dataset_pos = train_dataset_pos.shuffle(500)
train_dataset_pos = train_dataset_pos.batch(batch_size, drop_remainder = True)
train_dataset_pos = train_dataset_pos.prefetch(5)
train_dataset_neg = tf.data.Dataset.from_tensor_slices((train_data_neg))
if self.ratio >= 1 :
reps = np.ceil(self.ratio)
train_dataset_neg = train_dataset_neg.repeat(reps)
if self.testcase != 'cifar10':
train_dataset_neg = train_dataset_neg.map(data_reader_faces, num_parallel_calls=int(self.num_parallel_calls))
train_dataset_neg = train_dataset_neg.shuffle(500)
train_dataset_neg = train_dataset_neg.batch(batch_size)
train_dataset_neg = train_dataset_neg.prefetch(5)
return train_dataset_pos, train_dataset_neg
'''***********************************************************************************
********** GAN_DATA_ACGAN ************************************************************
***********************************************************************************'''
class GAN_DATA_CondGAN(GAN_DATA_ops):
def __init__(self):
GAN_DATA_ops.__init__(self)
def gen_func_mnist(self):
self.num_classes = 10
train_images, train_labels, test_images, test_labels = self.mnist_loader()
zero = train_labels == 0
one = train_labels == 1
two = train_labels == 2
three = train_labels == 3
four = train_labels == 4
five = train_labels == 5
six = train_labels == 6
seven = train_labels == 7
eight = train_labels == 8
nine = train_labels == 9
self.fid_images_even = train_images[np.where(train_labels%2 == 0)[0]]
self.fid_images_odd = train_images[np.where(train_labels%2 != 0)[0]]
self.fid_images_single = train_images[np.where(train_labels == self.number)[0]]
self.fid_images_overlap = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
if self.testcase == 'single':
self.fid_images_even = train_images[np.where(train_labels%2 == 0)[0]]
self.fid_images_odd = train_images[np.where(train_labels%2 != 0)[0]]
self.fid_images_single = train_images[np.where(train_labels == self.number)[0]]
self.fid_images_overlap = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
# train_images = train_images[np.where(train_labels == self.number)[0]]
# train_labels = train_labels[np.where(train_labels == self.number)[0]]
# self.fid_train_images = train_images[np.where(train_labels == self.number)[0]]
if self.testcase == 'few':
self.fid_images_single = train_images[np.where(train_labels == self.number)[0]][0:self.num_few]
self.fid_images_even = train_images[np.where(train_labels%2 == 0)[0]]
self.fid_images_odd = train_images[np.where(train_labels%2 != 0)[0]]
self.fid_images_overlap = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
# train_images = np.concatenate( (np.repeat(train_images[np.where(train_labels == self.number)[0]][0:100],50,axis = 0), train_images[np.where(train_labels != self.number)[0]]), axis = 0)
# train_labels = np.concatenate( (np.repeat(train_labels[np.where(train_labels == self.number)[0]][0:100],50,axis = 0), train_labels[np.where(train_labels != self.number)[0]]), axis = 0)
##num_few typically 200
train_images = np.concatenate( (train_images[np.where(train_labels == self.number)[0]][0:self.num_few], train_images[np.where(train_labels != self.number)[0]]), axis = 0)
train_labels = np.concatenate( (train_labels[np.where(train_labels == self.number)[0]][0:self.num_few], train_labels[np.where(train_labels != self.number)[0]]), axis = 0)
# self.fid_train_images = train_images[np.where(train_labels == self.number)[0]]
# self.fid_train_images_few = train_images
zero = train_labels == 0
one = train_labels == 1
two = train_labels == 2
three = train_labels == 3
four = train_labels == 4
five = train_labels == 5
six = train_labels == 6
seven = train_labels == 7
eight = train_labels == 8
nine = train_labels == 9
#train_images[np.where(train_labels == self.number)[0][0:500]]
if self.testcase == 'even':
# train_images = train_images[np.where(train_labels%2 == 0)[0]]
self.fid_images_even = train_images[np.where(train_labels%2 == 0)[0]]
self.fid_images_odd = train_images[np.where(train_labels%2 != 0)[0]]
self.fid_images_single = train_images[np.where(train_labels == self.number)[0]]
self.fid_images_overlap = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
if self.testcase == 'odd':
# train_images = train_images[np.where(train_labels%2 != 0)[0]]
# self.fid_train_images = train_images[np.where(train_labels%2 != 0)[0]]
self.fid_images_even = train_images[np.where(train_labels%2 == 0)[0]]
self.fid_images_odd = train_images[np.where(train_labels%2 != 0)[0]]
self.fid_images_single = train_images[np.where(train_labels == self.number)[0]]
self.fid_images_overlap = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
if self.testcase == 'overlap':
self.fid_images_even = train_images[np.where(train_labels%2 == 0)[0]]
self.fid_images_odd = train_images[np.where(train_labels%2 != 0)[0]]
self.fid_images_single = train_images[np.where(train_labels == self.number)[0]]
self.fid_images_overlap = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
# train_images = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
# self.fid_train_images = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
self.reps = int(60000.0/train_images.shape[0])
# self.target_fake_output = tf.one_hot(list(10*np.ones([self.batch_size, 1])),depth = 11)
return train_images, train_labels
def dataset_mnist(self,train_data,train_labels,batch_size):
# if self.label_style =='base':
# train_labels = tf.one_hot(np.squeeze(train_labels),depth = self.num_classes)
# print(train_labels)
train_dataset = tf.data.Dataset.from_tensor_slices((train_data, train_labels))
if self.testcase == 'single':
train_dataset = train_dataset.repeat(self.reps-1)
train_dataset = train_dataset.shuffle(60000)
train_dataset = train_dataset.batch(batch_size,drop_remainder=True)
train_dataset = train_dataset.prefetch(10)
return train_dataset
def gen_func_celeba(self):
self.num_classes = 2
train_images, data_array = self.celeba_loader()
# print(data_array,data_array.shape)
tags = data_array[0,:] # print to find which col to pull for what
gender = data_array[1:,21]
bald_tag = data_array[1:,5]
hat_labels = data_array[1:,-5]
# print(gender,gender.shape)
male = gender == '1'
male = male.astype('uint8')
bald = bald_tag == '1'
bald = bald.astype('uint8')
hat = hat_labels == '1'
hat = hat.astype('uint8')
# train_labels = np.expand_dims(np.array(male), 1).astype('float32')
#num_few typicaly 10k
if self.testcase == 'fewfemale':
train_labels = np.expand_dims(np.array(male), 1).astype('float32')
self.fid_train_images = train_images[np.where(male == 1)]
train_images = np.concatenate( (np.repeat(train_images[np.where(male == 0)][0:self.num_few],20,axis = 0), train_images[np.where(male == 1)]), axis = 0)
train_labels = np.concatenate( (np.repeat(train_labels[np.where(male == 0)][0:self.num_few],20,axis = 0), train_labels[np.where(male == 1)]), axis = 0)
if self.testcase == 'fewmale':
train_labels = np.expand_dims(np.array(male), 1).astype('float32')
self.fid_train_images = train_images[np.where(male == 0)]
train_images = np.concatenate( (np.repeat(train_images[np.where(male == 1)][0:self.num_few],20,axis = 0), train_images[np.where(male == 0)]), axis = 0)
train_labels = np.concatenate( (np.repeat(train_labels[np.where(male == 1)][0:self.num_few],20,axis = 0), train_labels[np.where(male == 0)]), axis = 0)
if self.testcase == 'female':
train_labels = np.expand_dims(np.array(male), 1).astype('float32')
self.fid_train_images = train_images[np.where(male == 0)]
if self.testcase == 'male':
train_labels = np.expand_dims(np.array(male), 1).astype('float32')
self.fid_train_images = train_images[np.where(male == 1)]
if self.testcase == 'bald':
train_labels = np.expand_dims(np.array(bald), 1).astype('float32')
self.fid_train_images = train_images[np.where(bald == 1)]
if self.testcase == 'hat':
train_labels = np.expand_dims(np.array(hat), 1).astype('float32')
self.fid_train_images = train_images[np.where(hat == 1)]
return train_images, train_labels
def dataset_celeba(self,train_data,train_labels,batch_size):
def data_reader_faces(filename,label):
with tf.device('/CPU'):
print(tf.cast(filename[0],dtype=tf.string))
image_string = tf.io.read_file(tf.cast(filename[0],dtype=tf.string))
# Don't use tf.image.decode_image, or the output shape will be undefined
image = tf.image.decode_jpeg(image_string, channels=3)
image.set_shape([218,178,3])
image = tf.image.crop_to_bounding_box(image, 38, 18, 140,140)
image = tf.image.resize(image,[self.output_size,self.output_size])
# This will convert to float values in [-1, 1]
image = tf.divide(image,255.0)
# image = tf.subtract(image,127.0)
# image = tf.divide(image,127.0)
# image = tf.image.convert_image_dtype(image, tf.float16)
return image,label
train_dataset = tf.data.Dataset.from_tensor_slices((train_data,train_labels))
train_dataset = train_dataset.shuffle(200000)
train_dataset = train_dataset.map(data_reader_faces, num_parallel_calls=int(self.num_parallel_calls))
train_dataset = train_dataset.batch(batch_size, drop_remainder = True)
train_dataset = train_dataset.prefetch(15)
return train_dataset
def gen_func_cifar10(self):
self.num_classes = 10
train_images, train_labels, test_images, test_labels = self.cifar10_loader()
zero = train_labels == 0
one = train_labels == 1
two = train_labels == 2
three = train_labels == 3
four = train_labels == 4
five = train_labels == 5
six = train_labels == 6
seven = train_labels == 7
eight = train_labels == 8
nine = train_labels == 9
if self.testcase == 'single':
self.fid_train_images = train_images[np.where(train_labels == self.number)[0]]
if self.testcase == 'few':
self.fid_train_images = train_images[np.where(train_labels == self.number)[0]]
# train_images = np.concatenate( (np.repeat(train_images[np.where(train_labels == self.number)[0]][0:self.num_few],5,axis = 0), train_images[np.where(train_labels != self.number)[0]]), axis = 0)
# train_labels = np.concatenate( (np.repeat(train_labels[np.where(train_labels == self.number)[0]][0:self.num_few],5,axis = 0), train_labels[np.where(train_labels != self.number)[0]]), axis = 0)
train_images = np.concatenate( (train_images[np.where(train_labels == self.number)[0]][0:self.num_few], train_images[np.where(train_labels != self.number)[0]]), axis = 0)
train_labels = np.concatenate( (train_labels[np.where(train_labels == self.number)[0]][0:self.num_few], train_labels[np.where(train_labels != self.number)[0]]), axis = 0)
if self.testcase == 'even':
self.fid_train_images = train_images[np.where(train_labels%2 == 0)[0]]
if self.testcase == 'odd':
self.fid_train_images = train_images[np.where(train_labels%2 != 0)[0]]
if self.testcase == 'overlap':
self.fid_train_images = train_images[np.where(np.any([one, two, four, five, seven, nine],axis=0))[0]]
if self.testcase == 'animals':
self.fid_train_images = train_images[np.where(np.any([two, three, four, five, six, seven],axis=0))[0]]
self.reps = int(60000.0/train_images.shape[0])
# self.target_fake_output = tf.one_hot(list(10*np.ones([self.batch_size, 1])),depth = 11)
print(train_images.shape, train_labels.shape)
return train_images, train_labels
def dataset_cifar10(self,train_data,train_labels,batch_size):
train_dataset = tf.data.Dataset.from_tensor_slices((train_data,train_labels))
if self.testcase == 'single':
train_dataset = train_dataset.repeat(self.reps-1)
train_dataset = train_dataset.shuffle(50000)
train_dataset = train_dataset.batch(batch_size,drop_remainder = True)
train_dataset = train_dataset.prefetch(10)
return train_dataset
| 43.034898 | 228 | 0.701443 | 5,413 | 35,762 | 4.37336 | 0.062442 | 0.129641 | 0.072488 | 0.092004 | 0.891818 | 0.876737 | 0.855489 | 0.829215 | 0.812064 | 0.799265 | 0 | 0.028964 | 0.135954 | 35,762 | 830 | 229 | 43.086747 | 0.737152 | 0.142218 | 0 | 0.733677 | 0 | 0 | 0.034794 | 0.009834 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04811 | false | 0 | 0.0189 | 0 | 0.11512 | 0.015464 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e2a80b5113a4fd70f5ce7a1dd5497c0e6bf41ba4 | 17,974 | py | Python | ITDCHelperProject.py | akalongman/sublimetext-itdchelper | c36c9ebdf4b05c02c846f32d2665734da4fa3661 | [
"MIT"
] | 1 | 2015-07-14T15:39:40.000Z | 2015-07-14T15:39:40.000Z | ITDCHelperProject.py | akalongman/sublimetext-itdchelper | c36c9ebdf4b05c02c846f32d2665734da4fa3661 | [
"MIT"
] | 3 | 2015-02-20T09:32:31.000Z | 2015-03-10T11:11:30.000Z | ITDCHelperProject.py | itdc/sublimetext-itdchelper | c36c9ebdf4b05c02c846f32d2665734da4fa3661 | [
"MIT"
] | null | null | null | # @package ITDCHelper
# @author Avtandil Kikabidze aka LONGMAN
# @copyright Copyright (c) 2008-2015, Avtandil Kikabidze (akalongman@gmail.com)
# @link http://long.ge
# @license http://opensource.org/licenses/mit-license.php The MIT License (MIT)
import sublime, sublime_plugin, os, re, sys
directory = os.path.dirname(os.path.realpath(__file__))
libs_path = os.path.join(directory, "itdchelper")
if libs_path not in sys.path:
sys.path.append(libs_path)
import threading
from random import sample
import time
from functions import *
from panel import ItdchelperProjectPanel
from request import ITDCRequest
from loading import ItdchelperLoading
from commands import (EraseCommand)
### Create CMS Project
class ItdchelperCreateCmsProjectCommand(sublime_plugin.TextCommand):
def run(self, edit):
self.view.window().show_input_panel('Project Name to Create:', '', lambda s: self.on_done(s), None, None)
def on_done(self, text):
thread = ItdchelperCreateCmsProjectProcess(text, self.view)
thread.start()
return
def is_enabled(self):
ret = True
return ret
class ItdchelperCreateCmsProjectProcess(threading.Thread):
settings = None
localservice_url = ''
remoteservice_url = ''
domain = ''
view = None
window = None
start_time = None
def __init__(self, text, pview):
self.settings = sublime.load_settings('ITDCHelper.sublime-settings')
self.start_time = time.time()
self.domain = text
self.view = pview
self.window = self.view.window()
api_key = self.settings.get('api_key')
if ((api_key is None) or (len(api_key) != 40)):
show_error("API KEY not found")
return
self.localservice_url = 'http://tools.local.itdc.ge/project/process.php'
self.remoteservice_url = 'http://service.itdc.ge/api/addproject/token/'+api_key
threading.Thread.__init__(self)
def run(self):
if not hasattr(self, 'panel'):
self.panel = ItdchelperProjectPanel(self.window, 'ItdchelperCreateCmsProject', 'Create ITDC CMS Project:'+"\n")
key = self.getKey()
self.panel.append('Creating project "'+self.domain+'"')
self.panel.append('Loading')
thread2 = ItdchelperLoading(self.panel)
thread2.start()
service_url = self.localservice_url + '?mode=create&name='+self.domain+'&key='+key
#self.panel.append('DEBUG: request to '+service_url)
request = ITDCRequest(service_url)
if (request.isError()):
thread2.stop()
stderr = "Error: "+request.getError()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
txt = stderr + elapsed
self.panel.replace(txt)
self.panel.finish()
return False
json_data = request.getJSON()
#self.panel.append(' Success', False)
# insert in service.itdc.ge
service_url = self.remoteservice_url + '/name/'+self.domain+'/key/'+key
#self.panel.append('DEBUG: request to '+service_url)
request = ITDCRequest(service_url)
if (request.isError()):
thread2.stop()
stderr = "Error: "+request.getError()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
txt = stderr + elapsed
self.panel.replace(txt)
self.panel.finish()
return False
json_data2 = request.getJSON()
#self.panel.append(' Success', False)
thread2.stop()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
status = json_data['status']
msg = json_data['msg'] + elapsed
if (status == "ERROR"):
msg = "Error: "+msg
self.panel.replace(msg)
self.panel.finish()
def getKey(self):
chars = "23456789abcdefghijkmnpqrstuvwxyzABCDEFGHKMNPQRSTUVWXYZ"
key = ''.join(sample(chars, 40))
return key
def isRunning(self):
return self.running
### Delete CMS Project
class ItdchelperDeleteCmsProjectCommand(sublime_plugin.TextCommand):
project = ''
def run(self, edit):
self.view.window().show_input_panel('Project Name to Delete:', '', lambda s: self.on_done(s), None, None)
def on_done(self, text):
self.project = text
items = []
item = []
item.append('Yes, delete')
item.append('Delete project '+self.project)
items.append(item)
item = []
item.append('No')
item.append('Cancel operation')
items.append(item)
self.view.window().show_quick_panel(items, self.on_done_final)
return
def on_done_final(self, choice):
if (choice == 1 or choice == -1):
return
thread = ItdchelperDeleteCmsProjectProcess(self.project, self.view)
thread.start()
def is_enabled(self):
ret = True
return ret
class ItdchelperDeleteCmsProjectProcess(threading.Thread):
settings = None
localservice_url = ''
remoteservice_url = ''
domain = ''
view = None
window = None
start_time = None
def __init__(self, text, pview):
self.settings = sublime.load_settings('ITDCHelper.sublime-settings')
self.start_time = time.time()
self.domain = text
self.view = pview
self.window = self.view.window()
api_key = self.settings.get('api_key')
if ((api_key is None) or (len(api_key) != 40)):
show_error("API KEY not found")
return
self.localservice_url = 'http://tools.local.itdc.ge/project/process.php'
self.remoteservice_url = 'http://service.itdc.ge/api/deleteproject/token/'+api_key
threading.Thread.__init__(self)
def run(self):
if not hasattr(self, 'panel'):
self.panel = ItdchelperProjectPanel(self.window, 'ItdchelperDeleteCmsProject', 'Delete ITDC CMS Project:'+"\n")
self.panel.append('Deleting project "'+self.domain+'"')
self.panel.append('Loading')
thread2 = ItdchelperLoading(self.panel)
thread2.start()
service_url = self.localservice_url + '?mode=delete&name='+self.domain
#self.panel.append('DEBUG: request to '+service_url)
request = ITDCRequest(service_url)
if (request.isError()):
thread2.stop()
stderr = "Error: "+request.getError()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
txt = stderr + elapsed
self.panel.replace(txt)
self.panel.finish()
return False
json_data = request.getJSON()
#self.panel.append(' Success', False)
# insert in service.itdc.ge
service_url = self.remoteservice_url + '/name/'+self.domain
#self.panel.append('DEBUG: request to '+service_url)
request = ITDCRequest(service_url)
if (request.isError()):
thread2.stop()
stderr = "Error: "+request.getError()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
txt = stderr + elapsed
self.panel.replace(txt)
self.panel.finish()
return False
json_data2 = request.getJSON()
#self.panel.append(' Success', False)
thread2.stop()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
status = json_data['status']
msg = json_data['msg'] + elapsed
if (status == "ERROR"):
msg = "Error: "+msg
self.panel.replace(msg)
self.panel.finish()
### Backup CMS Project
class ItdchelperBackupCmsProjectCommand(sublime_plugin.TextCommand):
def run(self, edit):
self.view.window().show_input_panel('Project Name to Backup:', '', lambda s: self.on_done(s), None, None)
def on_done(self, text):
thread = ItdchelperBackupCmsProjectProcess(text, self.view)
thread.start()
return
def is_enabled(self):
ret = True
return ret
class ItdchelperBackupCmsProjectProcess(threading.Thread):
settings = None
localservice_url = ''
domain = ''
view = None
window = None
start_time = None
def __init__(self, text, pview):
self.settings = sublime.load_settings('ITDCHelper.sublime-settings')
self.start_time = time.time()
self.domain = text
self.view = pview
self.window = self.view.window()
self.localservice_url = 'http://tools.local.itdc.ge/project/process.php'
threading.Thread.__init__(self)
def run(self):
if not hasattr(self, 'panel'):
self.panel = ItdchelperProjectPanel(self.window, 'ItdchelperBackupCmsProject', 'Backup ITDC CMS Project:'+"\n")
self.panel.append('Backuping project "'+self.domain+'"')
self.panel.append('Loading')
thread2 = ItdchelperLoading(self.panel)
thread2.start()
service_url = self.localservice_url + '?mode=backup&name='+self.domain
#self.panel.append('DEBUG: request to '+service_url)
request = ITDCRequest(service_url)
if (request.isError()):
thread2.stop()
stderr = "Error: "+request.getError()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
txt = stderr + elapsed
self.panel.replace(txt)
self.panel.finish()
return False
json_data = request.getJSON()
#self.panel.append(' Success', False)
thread2.stop()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
status = json_data['status']
msg = json_data['msg'] + elapsed
if (status == "ERROR"):
msg = "Error: "+msg
self.panel.replace(msg)
self.panel.finish()
# = = = = = = = = = = = = = = = = = = =
### Create Empty Project
class ItdchelperCreateEmptyProjectCommand(sublime_plugin.TextCommand):
def run(self, edit):
self.view.window().show_input_panel('Project Name to Create:', '', lambda s: self.on_done(s), None, None)
def on_done(self, text):
thread = ItdchelperCreateEmptyProjectProcess(text, self.view)
thread.start()
return
def is_enabled(self):
ret = True
return ret
class ItdchelperCreateEmptyProjectProcess(threading.Thread):
settings = None
localservice_url = ''
domain = ''
view = None
window = None
start_time = None
def __init__(self, text, pview):
self.settings = sublime.load_settings('ITDCHelper.sublime-settings')
self.start_time = time.time()
self.domain = text
self.view = pview
self.window = self.view.window()
self.localservice_url = 'http://tools.local.itdc.ge/project/process.php'
threading.Thread.__init__(self)
def run(self):
if not hasattr(self, 'panel'):
self.panel = ItdchelperProjectPanel(self.window, 'ItdchelperCreateEmptyProject', 'Create ITDC Empty Project:'+"\n")
self.panel.append('Creating project "'+self.domain+'"')
self.panel.append('Loading')
thread2 = ItdchelperLoading(self.panel)
thread2.start()
service_url = self.localservice_url + '?mode=createhost&name='+self.domain
#self.panel.append('DEBUG: request to '+service_url)
request = ITDCRequest(service_url)
if (request.isError()):
thread2.stop()
stderr = "Error: "+request.getError()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
txt = stderr + elapsed
self.panel.replace(txt)
self.panel.finish()
return False
json_data = request.getJSON()
#self.panel.append(' Success', False)
thread2.stop()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
status = json_data['status']
msg = json_data['msg'] + elapsed
if (status == "ERROR"):
msg = "Error: "+msg
self.panel.replace(msg)
self.panel.finish()
def isRunning(self):
return self.running
### Delete Empty Project
class ItdchelperDeleteEmptyProjectCommand(sublime_plugin.TextCommand):
project = ''
def run(self, edit):
self.view.window().show_input_panel('Project Name to Delete:', '', lambda s: self.on_done(s), None, None)
def on_done(self, text):
self.project = text
items = []
item = []
item.append('Yes, delete')
item.append('Delete project '+self.project)
items.append(item)
item = []
item.append('No')
item.append('Cancel operation')
items.append(item)
self.view.window().show_quick_panel(items, self.on_done_final)
return
def on_done_final(self, choice):
if (choice == 1 or choice == -1):
return
thread = ItdchelperDeleteCmsProjectProcess(self.project, self.view)
thread.start()
def is_enabled(self):
ret = True
return ret
class ItdchelperDeleteCmsProjectProcess(threading.Thread):
settings = None
localservice_url = ''
domain = ''
view = None
window = None
start_time = None
def __init__(self, text, pview):
self.settings = sublime.load_settings('ITDCHelper.sublime-settings')
self.start_time = time.time()
self.domain = text
self.view = pview
self.window = self.view.window()
self.localservice_url = 'http://tools.local.itdc.ge/project/process.php'
threading.Thread.__init__(self)
def run(self):
if not hasattr(self, 'panel'):
self.panel = ItdchelperProjectPanel(self.window, 'ItdchelperDeleteEmptyProject', 'Delete ITDC Empty Project:'+"\n")
self.panel.append('Deleting project "'+self.domain+'"')
self.panel.append('Loading')
thread2 = ItdchelperLoading(self.panel)
thread2.start()
service_url = self.localservice_url + '?mode=deletehost&name='+self.domain
#self.panel.append('DEBUG: request to '+service_url)
request = ITDCRequest(service_url)
if (request.isError()):
thread2.stop()
stderr = "Error: "+request.getError()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
txt = stderr + elapsed
self.panel.replace(txt)
self.panel.finish()
return False
json_data = request.getJSON()
#self.panel.append(' Success', False)
thread2.stop()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
status = json_data['status']
msg = json_data['msg'] + elapsed
if (status == "ERROR"):
msg = "Error: "+msg
self.panel.replace(msg)
self.panel.finish()
### Backup Empty Project
class ItdchelperBackupEmptyProjectCommand(sublime_plugin.TextCommand):
def run(self, edit):
self.view.window().show_input_panel('Project Name to Backup:', '', lambda s: self.on_done(s), None, None)
def on_done(self, text):
thread = ItdchelperBackupEmptyProjectProcess(text, self.view)
thread.start()
return
def is_enabled(self):
ret = True
return ret
class ItdchelperBackupEmptyProjectProcess(threading.Thread):
settings = None
localservice_url = ''
domain = ''
view = None
window = None
start_time = None
def __init__(self, text, pview):
self.settings = sublime.load_settings('ITDCHelper.sublime-settings')
self.start_time = time.time()
self.domain = text
self.view = pview
self.window = self.view.window()
self.localservice_url = 'http://tools.local.itdc.ge/project/process.php'
threading.Thread.__init__(self)
def run(self):
if not hasattr(self, 'panel'):
self.panel = ItdchelperProjectPanel(self.window, 'ItdchelperBackupEmptyProject', 'Backup ITDC Empty Project:'+"\n")
self.panel.append('Backuping project "'+self.domain+'"')
self.panel.append('Loading')
thread2 = ItdchelperLoading(self.panel)
thread2.start()
service_url = self.localservice_url + '?mode=backuphost&name='+self.domain
#self.panel.append('DEBUG: request to '+service_url)
request = ITDCRequest(service_url)
if (request.isError()):
thread2.stop()
stderr = "Error: "+request.getError()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
txt = stderr + elapsed
self.panel.replace(txt)
self.panel.finish()
return False
json_data = request.getJSON()
#self.panel.append(' Success', False)
thread2.stop()
elapsed = "\n= = = = = = = = = = = = = = =\nExecution time: %.3f sec" % round((time.time() - self.start_time), 3)
status = json_data['status']
msg = json_data['msg'] + elapsed
if (status == "ERROR"):
msg = "Error: "+msg
self.panel.replace(msg)
self.panel.finish()
| 29.709091 | 127 | 0.5923 | 1,941 | 17,974 | 5.373519 | 0.090675 | 0.063854 | 0.040268 | 0.02953 | 0.854842 | 0.854842 | 0.854842 | 0.842953 | 0.842953 | 0.842953 | 0 | 0.006259 | 0.271114 | 17,974 | 604 | 128 | 29.758278 | 0.789863 | 0.065094 | 0 | 0.877551 | 0 | 0.035714 | 0.149251 | 0.026496 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089286 | false | 0 | 0.022959 | 0.005102 | 0.313776 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e2b56d866ebe33db714542413d5d1c59b2a060f2 | 33,169 | py | Python | octavia/tests/unit/amphorae/backends/utils/test_interface.py | elastx/octavia | 6253560d22f255c499c91612ac4286dd0d8329e1 | [
"Apache-2.0"
] | 13 | 2015-01-15T21:18:42.000Z | 2015-05-22T18:15:54.000Z | octavia/tests/unit/amphorae/backends/utils/test_interface.py | stackforge/octavia | a94b3101e8005ddd84a4333aa237dbbe3e0c2b43 | [
"Apache-2.0"
] | null | null | null | octavia/tests/unit/amphorae/backends/utils/test_interface.py | stackforge/octavia | a94b3101e8005ddd84a4333aa237dbbe3e0c2b43 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Red Hat, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import errno
import os
import socket
from unittest import mock
import pyroute2
from octavia.amphorae.backends.utils import interface
from octavia.amphorae.backends.utils import interface_file
from octavia.common import constants as consts
from octavia.common import exceptions
from octavia.tests.common import utils as test_utils
import octavia.tests.unit.base as base
class TestInterface(base.TestCase):
@mock.patch('os.listdir')
@mock.patch('octavia.amphorae.backends.utils.interface_file.'
'InterfaceFile.get_directory')
def test_interface_file_list(self, mock_get_directory, mock_listdir):
mock_get_directory.return_value = consts.AMP_NET_DIR_TEMPLATE
ifaces = ('eth0', 'eth7', 'eth8')
mock_listdir.return_value = [
"{}.json".format(iface)
for iface in ifaces
]
mock_listdir.return_value.extend(["invalidfile"])
controller = interface.InterfaceController()
r = controller.interface_file_list()
config_file_list = list(r)
for iface in ifaces:
f = os.path.join(consts.AMP_NET_DIR_TEMPLATE,
"{}.json".format(iface))
self.assertIn(f, config_file_list)
# unsupported file
f = os.path.join(consts.AMP_NET_DIR_TEMPLATE,
"invalidfile")
self.assertNotIn(f, config_file_list)
# non existing file
f = os.path.join(consts.AMP_NET_DIR_TEMPLATE,
"eth2.json")
self.assertNotIn(f, config_file_list)
@mock.patch('os.listdir')
@mock.patch('octavia.amphorae.backends.utils.interface_file.'
'InterfaceFile.get_directory')
def test_list(self, mock_get_directory, mock_listdir):
mock_get_directory.return_value = consts.AMP_NET_DIR_TEMPLATE
mock_listdir.return_value = ["fakeiface.json"]
content = ('{\n'
'"addresses": [\n'
'{"address": "10.0.0.2",\n'
'"prefixlen": 24}\n'
'],\n'
'"mtu": 1450,\n'
'"name": "eth1",\n'
'"routes": [\n'
'{"dst": "0.0.0.0/0",\n'
'"gateway": "10.0.0.1"},\n'
'{"dst": "10.11.0.0/16",\n'
'"gateway": "10.0.0.24"}\n'
'],\n'
'"rules": [\n'
'{"src": "10.0.0.2",\n'
'"src_len": 32,\n'
'"table": 100}\n'
'],\n'
'"scripts": {\n'
'"up": [\n'
'{"command": "up-script"}],\n'
'"down": [\n'
'{"command": "down-script"}]\n'
'}}\n')
filename = os.path.join(consts.AMP_NET_DIR_TEMPLATE,
"fakeiface.json")
self.useFixture(
test_utils.OpenFixture(filename,
contents=content))
controller = interface.InterfaceController()
ifaces = controller.list()
self.assertIn("eth1", ifaces)
iface = ifaces["eth1"]
expected_dict = {
consts.NAME: "eth1",
consts.MTU: 1450,
consts.ADDRESSES: [{
consts.ADDRESS: "10.0.0.2",
consts.PREFIXLEN: 24
}],
consts.ROUTES: [{
consts.DST: "0.0.0.0/0",
consts.GATEWAY: "10.0.0.1"
}, {
consts.DST: "10.11.0.0/16",
consts.GATEWAY: "10.0.0.24"
}],
consts.RULES: [{
consts.SRC: "10.0.0.2",
consts.SRC_LEN: 32,
consts.TABLE: 100
}],
consts.SCRIPTS: {
consts.IFACE_UP: [{
consts.COMMAND: "up-script"
}],
consts.IFACE_DOWN: [{
consts.COMMAND: "down-script"
}]
}
}
self.assertEqual(expected_dict[consts.NAME], iface.name)
self.assertEqual(expected_dict[consts.MTU], iface.mtu)
test_utils.assert_address_lists_equal(
self, expected_dict[consts.ADDRESSES], iface.addresses)
test_utils.assert_rule_lists_equal(
self, expected_dict[consts.RULES], iface.rules)
test_utils.assert_script_lists_equal(
self, expected_dict[consts.SCRIPTS], iface.scripts)
def test__ipr_command(self):
mock_ipr_addr = mock.MagicMock()
controller = interface.InterfaceController()
controller._ipr_command(mock_ipr_addr,
controller.ADD,
arg1=1, arg2=2)
mock_ipr_addr.assert_called_once_with('add', arg1=1, arg2=2)
def test__ipr_command_add_eexist(self):
mock_ipr_addr = mock.MagicMock()
mock_ipr_addr.side_effect = [
pyroute2.NetlinkError(code=errno.EEXIST)
]
controller = interface.InterfaceController()
controller._ipr_command(mock_ipr_addr,
controller.ADD,
arg1=1, arg2=2)
mock_ipr_addr.assert_called_once_with('add', arg1=1, arg2=2)
def test__ipr_command_add_retry(self):
mock_ipr_addr = mock.MagicMock()
mock_ipr_addr.side_effect = [
pyroute2.NetlinkError(code=errno.EINVAL),
pyroute2.NetlinkError(code=errno.EINVAL),
pyroute2.NetlinkError(code=errno.EINVAL),
None
]
controller = interface.InterfaceController()
controller._ipr_command(mock_ipr_addr,
controller.ADD,
retry_on_invalid_argument=True,
retry_interval=0,
arg1=1, arg2=2)
mock_ipr_addr.assert_has_calls([
mock.call('add', arg1=1, arg2=2),
mock.call('add', arg1=1, arg2=2),
mock.call('add', arg1=1, arg2=2),
mock.call('add', arg1=1, arg2=2)])
def test__ipr_command_add_einval_failed(self):
mock_ipr_addr = mock.MagicMock()
mock_ipr_addr.__name__ = "addr"
mock_ipr_addr.side_effect = [
pyroute2.NetlinkError(code=errno.EINVAL)
] * 21
controller = interface.InterfaceController()
self.assertRaises(exceptions.AmphoraNetworkConfigException,
controller._ipr_command,
mock_ipr_addr,
controller.ADD,
retry_on_invalid_argument=True,
max_retries=20,
retry_interval=0,
arg1=1, arg2=2)
mock_ipr_addr.assert_has_calls([
mock.call('add', arg1=1, arg2=2)
] * 20)
def test__ipr_command_add_failed(self):
mock_ipr_addr = mock.MagicMock()
mock_ipr_addr.__name__ = "addr"
mock_ipr_addr.side_effect = [
pyroute2.NetlinkError(code=errno.ENOENT)
]
controller = interface.InterfaceController()
self.assertRaises(exceptions.AmphoraNetworkConfigException,
controller._ipr_command,
mock_ipr_addr,
controller.ADD,
retry_on_invalid_argument=True,
max_retries=20,
retry_interval=0,
arg1=1, arg2=2)
mock_ipr_addr.assert_called_once_with(
'add', arg1=1, arg2=2)
def test__ipr_command_delete_failed_no_raise(self):
mock_ipr_addr = mock.MagicMock()
mock_ipr_addr.__name__ = "addr"
mock_ipr_addr.side_effect = [
pyroute2.NetlinkError(code=errno.EINVAL)
]
controller = interface.InterfaceController()
controller._ipr_command(mock_ipr_addr,
controller.DELETE,
retry_on_invalid_argument=True,
max_retries=0,
raise_on_error=False,
arg1=1, arg2=2)
mock_ipr_addr.assert_called_once_with(
'delete', arg1=1, arg2=2)
def test__ipr_command_add_failed_retry_no_raise(self):
mock_ipr_addr = mock.MagicMock()
mock_ipr_addr.__name__ = "addr"
mock_ipr_addr.side_effect = [
pyroute2.NetlinkError(code=errno.ENOENT)
]
controller = interface.InterfaceController()
controller._ipr_command(mock_ipr_addr,
controller.ADD,
max_retries=20,
retry_interval=0,
raise_on_error=False,
arg1=1, arg2=2)
mock_ipr_addr.assert_called_once_with(
'add', arg1=1, arg2=2)
@mock.patch('subprocess.check_output')
def test__dhclient_up(self, mock_check_output):
iface = "iface2"
controller = interface.InterfaceController()
controller._dhclient_up(iface)
mock_check_output.assert_called_once_with(
["/sbin/dhclient",
"-lf",
"/var/lib/dhclient/dhclient-{}.leases".format(
iface),
"-pf",
"/run/dhclient-{}.pid".format(iface),
iface], stderr=-2)
@mock.patch('subprocess.check_output')
def test__dhclient_down(self, mock_check_output):
iface = "iface2"
controller = interface.InterfaceController()
controller._dhclient_down(iface)
mock_check_output.assert_called_once_with(
["/sbin/dhclient",
"-r",
"-lf",
"/var/lib/dhclient/dhclient-{}.leases".format(
iface),
"-pf",
"/run/dhclient-{}.pid".format(iface),
iface], stderr=-2)
@mock.patch('subprocess.check_output')
def test__ipv6auto_up(self, mock_check_output):
iface = "iface2"
controller = interface.InterfaceController()
controller._ipv6auto_up(iface)
mock_check_output.assert_has_calls([
mock.call(["/sbin/sysctl", "-w",
"net.ipv6.conf.iface2.accept_ra=2"], stderr=-2),
mock.call(["/sbin/sysctl", "-w",
"net.ipv6.conf.iface2.autoconf=1"], stderr=-2)])
@mock.patch('subprocess.check_output')
def test__ipv6auto_down(self, mock_check_output):
iface = "iface2"
controller = interface.InterfaceController()
controller._ipv6auto_down(iface)
mock_check_output.assert_has_calls([
mock.call(["/sbin/sysctl", "-w",
"net.ipv6.conf.iface2.accept_ra=0"], stderr=-2),
mock.call(["/sbin/sysctl", "-w",
"net.ipv6.conf.iface2.autoconf=0"], stderr=-2)])
@mock.patch('pyroute2.IPRoute.rule')
@mock.patch('pyroute2.IPRoute.route')
@mock.patch('pyroute2.IPRoute.addr')
@mock.patch('pyroute2.IPRoute.link')
@mock.patch('pyroute2.IPRoute.link_lookup')
@mock.patch('subprocess.check_output')
def test_up(self, mock_check_output, mock_link_lookup, mock_link,
mock_addr, mock_route, mock_rule):
iface = interface_file.InterfaceFile(
name="eth1",
mtu=1450,
addresses=[{
consts.ADDRESS: '1.2.3.4',
consts.PREFIXLEN: 24
}, {
consts.ADDRESS: '10.2.3.4',
consts.PREFIXLEN: 16
}, {
consts.ADDRESS: '2001:db8::3',
consts.PREFIXLEN: 64
}],
routes=[{
consts.DST: '10.0.0.0/8',
consts.GATEWAY: '1.0.0.1',
consts.TABLE: 10,
consts.ONLINK: True
}, {
consts.DST: '20.0.0.0/8',
consts.GATEWAY: '1.0.0.2',
consts.PREFSRC: '1.2.3.4',
consts.SCOPE: 'link'
}, {
consts.DST: '2001:db8:2::1/128',
consts.GATEWAY: '2001:db8::1'
}],
rules=[{
consts.SRC: '1.1.1.1',
consts.SRC_LEN: 32,
consts.TABLE: 20,
}, {
consts.SRC: '2001:db8::1',
consts.SRC_LEN: 128,
consts.TABLE: 40,
}],
scripts={
consts.IFACE_UP: [{
consts.COMMAND: "post-up eth1"
}],
consts.IFACE_DOWN: [{
consts.COMMAND: "post-down eth1"
}],
})
idx = mock.MagicMock()
mock_link_lookup.return_value = [idx]
controller = interface.InterfaceController()
controller.up(iface)
mock_link.assert_called_once_with(
controller.SET,
index=idx,
state=consts.IFACE_UP,
mtu=1450)
mock_addr.assert_has_calls([
mock.call(controller.ADD,
index=idx,
address='1.2.3.4',
prefixlen=24,
family=socket.AF_INET),
mock.call(controller.ADD,
index=idx,
address='10.2.3.4',
prefixlen=16,
family=socket.AF_INET),
mock.call(controller.ADD,
index=idx,
address='2001:db8::3',
prefixlen=64,
family=socket.AF_INET6)
])
mock_route.assert_has_calls([
mock.call(controller.ADD,
oif=idx,
dst='10.0.0.0/8',
gateway='1.0.0.1',
table=10,
onlink=True,
family=socket.AF_INET),
mock.call(controller.ADD,
oif=idx,
dst='20.0.0.0/8',
gateway='1.0.0.2',
prefsrc='1.2.3.4',
scope='link',
family=socket.AF_INET),
mock.call(controller.ADD,
oif=idx,
dst='2001:db8:2::1/128',
gateway='2001:db8::1',
family=socket.AF_INET6)])
mock_rule.assert_has_calls([
mock.call(controller.ADD,
src="1.1.1.1",
src_len=32,
table=20,
family=socket.AF_INET),
mock.call(controller.ADD,
src="2001:db8::1",
src_len=128,
table=40,
family=socket.AF_INET6)])
mock_check_output.assert_has_calls([
mock.call(["post-up", "eth1"])
])
@mock.patch('pyroute2.IPRoute.rule')
@mock.patch('pyroute2.IPRoute.route')
@mock.patch('pyroute2.IPRoute.addr')
@mock.patch('pyroute2.IPRoute.link')
@mock.patch('pyroute2.IPRoute.link_lookup')
@mock.patch('subprocess.check_output')
@mock.patch('octavia.amphorae.backends.utils.interface.'
'InterfaceController._wait_tentative')
def test_up_auto(self, mock_wait_tentative, mock_check_output,
mock_link_lookup, mock_link, mock_addr, mock_route,
mock_rule):
iface = interface_file.InterfaceFile(
name="eth1",
mtu=1450,
addresses=[{
consts.DHCP: True,
consts.IPV6AUTO: True
}],
routes=[],
rules=[],
scripts={
consts.IFACE_UP: [{
consts.COMMAND: "post-up eth1"
}],
consts.IFACE_DOWN: [{
consts.COMMAND: "post-down eth1"
}],
})
idx = mock.MagicMock()
mock_link_lookup.return_value = [idx]
controller = interface.InterfaceController()
controller.up(iface)
mock_link.assert_called_once_with(
controller.SET,
index=idx,
state=consts.IFACE_UP,
mtu=1450)
mock_addr.assert_not_called()
mock_route.assert_not_called()
mock_rule.assert_not_called()
mock_check_output.assert_has_calls([
mock.call(["/sbin/dhclient",
"-lf",
"/var/lib/dhclient/dhclient-{}.leases".format(
iface.name),
"-pf",
"/run/dhclient-{}.pid".format(iface.name),
iface.name], stderr=-2),
mock.call(["/sbin/sysctl", "-w",
"net.ipv6.conf.{}.accept_ra=2".format(iface.name)],
stderr=-2),
mock.call(["/sbin/sysctl", "-w",
"net.ipv6.conf.{}.autoconf=1".format(iface.name)],
stderr=-2),
mock.call(["post-up", iface.name])
])
@mock.patch('pyroute2.IPRoute.rule')
@mock.patch('pyroute2.IPRoute.route')
@mock.patch('pyroute2.IPRoute.addr')
@mock.patch('pyroute2.IPRoute.link')
@mock.patch('pyroute2.IPRoute.get_links')
@mock.patch('pyroute2.IPRoute.link_lookup')
@mock.patch('subprocess.check_output')
def test_down(self, mock_check_output, mock_link_lookup, mock_get_links,
mock_link, mock_addr, mock_route, mock_rule):
iface = interface_file.InterfaceFile(
name="eth1",
mtu=1450,
addresses=[{
consts.ADDRESS: '1.2.3.4',
consts.PREFIXLEN: 24
}, {
consts.ADDRESS: '10.2.3.4',
consts.PREFIXLEN: 16
}, {
consts.ADDRESS: '2001:db8::3',
consts.PREFIXLEN: 64
}],
routes=[{
consts.DST: '10.0.0.0/8',
consts.GATEWAY: '1.0.0.1',
consts.TABLE: 10,
consts.ONLINK: True
}, {
consts.DST: '20.0.0.0/8',
consts.GATEWAY: '1.0.0.2',
consts.PREFSRC: '1.2.3.4',
consts.SCOPE: 'link'
}, {
consts.DST: '2001:db8:2::1/128',
consts.GATEWAY: '2001:db8::1'
}],
rules=[{
consts.SRC: '1.1.1.1',
consts.SRC_LEN: 32,
consts.TABLE: 20,
}, {
consts.SRC: '2001:db8::1',
consts.SRC_LEN: 128,
consts.TABLE: 40,
}],
scripts={
consts.IFACE_UP: [{
consts.COMMAND: "post-up eth1"
}],
consts.IFACE_DOWN: [{
consts.COMMAND: "post-down eth1"
}],
})
idx = mock.MagicMock()
mock_link_lookup.return_value = [idx]
mock_get_links.return_value = [{
consts.STATE: consts.IFACE_UP
}]
controller = interface.InterfaceController()
controller.down(iface)
mock_link.assert_called_once_with(
controller.SET,
index=idx,
state=consts.IFACE_DOWN)
mock_addr.assert_has_calls([
mock.call(controller.DELETE,
index=idx,
address='1.2.3.4',
prefixlen=24,
family=socket.AF_INET),
mock.call(controller.DELETE,
index=idx,
address='10.2.3.4',
prefixlen=16,
family=socket.AF_INET),
mock.call(controller.DELETE,
index=idx,
address='2001:db8::3',
prefixlen=64,
family=socket.AF_INET6)
])
mock_route.assert_has_calls([
mock.call(controller.DELETE,
oif=idx,
dst='10.0.0.0/8',
gateway='1.0.0.1',
table=10,
onlink=True,
family=socket.AF_INET),
mock.call(controller.DELETE,
oif=idx,
dst='20.0.0.0/8',
gateway='1.0.0.2',
prefsrc='1.2.3.4',
scope='link',
family=socket.AF_INET),
mock.call(controller.DELETE,
oif=idx,
dst='2001:db8:2::1/128',
gateway='2001:db8::1',
family=socket.AF_INET6)])
mock_rule.assert_has_calls([
mock.call(controller.DELETE,
src="1.1.1.1",
src_len=32,
table=20,
family=socket.AF_INET),
mock.call(controller.DELETE,
src="2001:db8::1",
src_len=128,
table=40,
family=socket.AF_INET6)])
mock_check_output.assert_has_calls([
mock.call(["post-down", "eth1"])
])
@mock.patch('pyroute2.IPRoute.rule')
@mock.patch('pyroute2.IPRoute.route')
@mock.patch('pyroute2.IPRoute.addr')
@mock.patch('pyroute2.IPRoute.link')
@mock.patch('pyroute2.IPRoute.get_links')
@mock.patch('pyroute2.IPRoute.link_lookup')
@mock.patch('subprocess.check_output')
def test_down_with_errors(self, mock_check_output, mock_link_lookup,
mock_get_links, mock_link, mock_addr,
mock_route, mock_rule):
iface = interface_file.InterfaceFile(
name="eth1",
mtu=1450,
addresses=[{
consts.ADDRESS: '1.2.3.4',
consts.PREFIXLEN: 24
}, {
consts.ADDRESS: '10.2.3.4',
consts.PREFIXLEN: 16
}, {
consts.ADDRESS: '2001:db8::3',
consts.PREFIXLEN: 64
}],
routes=[{
consts.DST: '10.0.0.0/8',
consts.GATEWAY: '1.0.0.1',
consts.TABLE: 10,
consts.ONLINK: True
}, {
consts.DST: '20.0.0.0/8',
consts.GATEWAY: '1.0.0.2',
consts.PREFSRC: '1.2.3.4',
consts.SCOPE: 'link'
}, {
consts.DST: '2001:db8:2::1/128',
consts.GATEWAY: '2001:db8::1'
}],
rules=[{
consts.SRC: '1.1.1.1',
consts.SRC_LEN: 32,
consts.TABLE: 20,
}, {
consts.SRC: '2001:db8::1',
consts.SRC_LEN: 128,
consts.TABLE: 40,
}],
scripts={
consts.IFACE_UP: [{
consts.COMMAND: "post-up eth1"
}],
consts.IFACE_DOWN: [{
consts.COMMAND: "post-down eth1"
}],
})
idx = mock.MagicMock()
mock_link_lookup.return_value = [idx]
mock_get_links.return_value = [{
consts.STATE: consts.IFACE_UP
}]
mock_addr.side_effect = [
pyroute2.NetlinkError(123),
pyroute2.NetlinkError(123),
pyroute2.NetlinkError(123)
]
mock_route.side_effect = [
pyroute2.NetlinkError(123),
pyroute2.NetlinkError(123),
pyroute2.NetlinkError(123)
]
mock_rule.side_effect = [
pyroute2.NetlinkError(123),
pyroute2.NetlinkError(123),
]
mock_check_output.side_effect = [
Exception()
]
controller = interface.InterfaceController()
controller.down(iface)
mock_link.assert_called_once_with(
controller.SET,
index=idx,
state=consts.IFACE_DOWN)
mock_addr.assert_has_calls([
mock.call(controller.DELETE,
index=idx,
address='1.2.3.4',
prefixlen=24,
family=socket.AF_INET),
mock.call(controller.DELETE,
index=idx,
address='10.2.3.4',
prefixlen=16,
family=socket.AF_INET),
mock.call(controller.DELETE,
index=idx,
address='2001:db8::3',
prefixlen=64,
family=socket.AF_INET6)
])
mock_route.assert_has_calls([
mock.call(controller.DELETE,
oif=idx,
dst='10.0.0.0/8',
gateway='1.0.0.1',
table=10,
onlink=True,
family=socket.AF_INET),
mock.call(controller.DELETE,
oif=idx,
dst='20.0.0.0/8',
gateway='1.0.0.2',
prefsrc='1.2.3.4',
scope='link',
family=socket.AF_INET),
mock.call(controller.DELETE,
oif=idx,
dst='2001:db8:2::1/128',
gateway='2001:db8::1',
family=socket.AF_INET6)])
mock_rule.assert_has_calls([
mock.call(controller.DELETE,
src="1.1.1.1",
src_len=32,
table=20,
family=socket.AF_INET),
mock.call(controller.DELETE,
src="2001:db8::1",
src_len=128,
table=40,
family=socket.AF_INET6)])
mock_check_output.assert_has_calls([
mock.call(["post-down", "eth1"])
])
@mock.patch('pyroute2.IPRoute.rule')
@mock.patch('pyroute2.IPRoute.route')
@mock.patch('pyroute2.IPRoute.addr')
@mock.patch('pyroute2.IPRoute.link')
@mock.patch('pyroute2.IPRoute.get_links')
@mock.patch('pyroute2.IPRoute.link_lookup')
@mock.patch('subprocess.check_output')
def test_down_already_down(self, mock_check_output, mock_link_lookup,
mock_get_links, mock_link, mock_addr,
mock_route, mock_rule):
iface = interface_file.InterfaceFile(
name="eth1",
mtu=1450,
addresses=[{
consts.ADDRESS: '1.2.3.4',
consts.PREFIXLEN: 24
}, {
consts.ADDRESS: '10.2.3.4',
consts.PREFIXLEN: 16
}, {
consts.ADDRESS: '2001:db8::3',
consts.PREFIXLEN: 64
}],
routes=[{
consts.DST: '10.0.0.0/8',
consts.GATEWAY: '1.0.0.1',
consts.TABLE: 10,
consts.ONLINK: True
}, {
consts.DST: '20.0.0.0/8',
consts.GATEWAY: '1.0.0.2',
consts.PREFSRC: '1.2.3.4',
consts.SCOPE: 'link'
}, {
consts.DST: '2001:db8:2::1/128',
consts.GATEWAY: '2001:db8::1'
}],
rules=[{
consts.SRC: '1.1.1.1',
consts.SRC_LEN: 32,
consts.TABLE: 20,
}, {
consts.SRC: '2001:db8::1',
consts.SRC_LEN: 128,
consts.TABLE: 40,
}],
scripts={
consts.IFACE_UP: [{
consts.COMMAND: "post-up eth1"
}],
consts.IFACE_DOWN: [{
consts.COMMAND: "post-down eth1"
}],
})
idx = mock.MagicMock()
mock_link_lookup.return_value = [idx]
mock_get_links.return_value = [{
consts.STATE: consts.IFACE_DOWN
}]
controller = interface.InterfaceController()
controller.down(iface)
mock_link.assert_not_called()
mock_addr.assert_not_called()
mock_route.assert_not_called()
mock_rule.assert_not_called()
mock_check_output.assert_not_called()
@mock.patch('pyroute2.IPRoute.rule')
@mock.patch('pyroute2.IPRoute.route')
@mock.patch('pyroute2.IPRoute.addr')
@mock.patch('pyroute2.IPRoute.link')
@mock.patch('pyroute2.IPRoute.get_links')
@mock.patch('pyroute2.IPRoute.link_lookup')
@mock.patch('subprocess.check_output')
def test_down_auto(self, mock_check_output, mock_link_lookup,
mock_get_links, mock_link, mock_addr, mock_route,
mock_rule):
iface = interface_file.InterfaceFile(
name="eth1",
mtu=1450,
addresses=[{
consts.DHCP: True,
consts.IPV6AUTO: True
}],
routes=[],
rules=[],
scripts={
consts.IFACE_UP: [{
consts.COMMAND: "post-up eth1"
}],
consts.IFACE_DOWN: [{
consts.COMMAND: "post-down eth1"
}],
})
idx = mock.MagicMock()
mock_link_lookup.return_value = [idx]
mock_get_links.return_value = [{
consts.STATE: consts.IFACE_UP
}]
controller = interface.InterfaceController()
controller.down(iface)
mock_link.assert_called_once_with(
controller.SET,
index=idx,
state=consts.IFACE_DOWN)
mock_addr.assert_not_called()
mock_route.assert_not_called()
mock_rule.assert_not_called()
mock_check_output.assert_has_calls([
mock.call(["/sbin/dhclient",
"-r",
"-lf",
"/var/lib/dhclient/dhclient-{}.leases".format(
iface.name),
"-pf",
"/run/dhclient-{}.pid".format(iface.name),
iface.name], stderr=-2),
mock.call(["/sbin/sysctl", "-w",
"net.ipv6.conf.{}.accept_ra=0".format(iface.name)],
stderr=-2),
mock.call(["/sbin/sysctl", "-w",
"net.ipv6.conf.{}.autoconf=0".format(iface.name)],
stderr=-2),
mock.call(["post-down", iface.name])
])
@mock.patch("time.time")
@mock.patch("time.sleep")
def test__wait_tentative(self, mock_time_sleep, mock_time_time):
mock_ipr = mock.MagicMock()
mock_ipr.get_addr.side_effect = [
({'family': socket.AF_INET,
'flags': 0},
{'family': socket.AF_INET6,
'flags': 0x40}, # tentative
{'family': socket.AF_INET6,
'flags': 0}),
({'family': socket.AF_INET,
'flags': 0},
{'family': socket.AF_INET6,
'flags': 0},
{'family': socket.AF_INET6,
'flags': 0})
]
mock_time_time.return_value = 0
controller = interface.InterfaceController()
idx = 4
controller._wait_tentative(mock_ipr, idx)
mock_time_sleep.assert_called_once()
@mock.patch("time.time")
@mock.patch("time.sleep")
def test__wait_tentative_timeout(self, mock_time_sleep,
mock_time_time):
mock_ipr = mock.MagicMock()
mock_ipr.get_addr.return_value = (
{'family': socket.AF_INET6,
'flags': 0x40}, # tentative
{'family': socket.AF_INET6,
'flags': 0}
)
mock_time_time.side_effect = [0, 0, 1, 2, 29, 30, 31]
controller = interface.InterfaceController()
idx = 4
controller._wait_tentative(mock_ipr, idx)
self.assertEqual(4, len(mock_time_sleep.mock_calls))
| 34.804827 | 76 | 0.485031 | 3,326 | 33,169 | 4.639808 | 0.080277 | 0.007906 | 0.037455 | 0.052877 | 0.868196 | 0.854458 | 0.832232 | 0.819984 | 0.807543 | 0.79212 | 0 | 0.048722 | 0.397299 | 33,169 | 952 | 77 | 34.841387 | 0.723225 | 0.018752 | 0 | 0.807876 | 0 | 0 | 0.114021 | 0.049709 | 0 | 0 | 0.000246 | 0 | 0.064439 | 1 | 0.02506 | false | 0 | 0.013126 | 0 | 0.039379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e2fce8243c54f5777a1485176539416542ff1c7d | 50,875 | py | Python | sdk/python/pulumi_scaleway/kubernetes_node_pool.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2020-10-16T09:09:05.000Z | 2022-03-24T21:32:17.000Z | sdk/python/pulumi_scaleway/kubernetes_node_pool.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2020-10-29T17:38:13.000Z | 2022-03-31T13:33:47.000Z | sdk/python/pulumi_scaleway/kubernetes_node_pool.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2022-01-13T18:46:32.000Z | 2022-02-28T03:58:36.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
from . import outputs
from ._inputs import *
__all__ = ['KubernetesNodePoolArgs', 'KubernetesNodePool']
@pulumi.input_type
class KubernetesNodePoolArgs:
def __init__(__self__, *,
cluster_id: pulumi.Input[str],
node_type: pulumi.Input[str],
size: pulumi.Input[int],
autohealing: Optional[pulumi.Input[bool]] = None,
autoscaling: Optional[pulumi.Input[bool]] = None,
container_runtime: Optional[pulumi.Input[str]] = None,
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
max_size: Optional[pulumi.Input[int]] = None,
min_size: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
placement_group_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
upgrade_policy: Optional[pulumi.Input['KubernetesNodePoolUpgradePolicyArgs']] = None,
wait_for_pool_ready: Optional[pulumi.Input[bool]] = None,
zone: Optional[pulumi.Input[str]] = None):
"""
The set of arguments for constructing a KubernetesNodePool resource.
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
:param pulumi.Input[str] node_type: The commercial type of the pool instances.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[int] size: The size of the pool.
> **Important:** This field will only be used at creation if autoscaling is enabled.
:param pulumi.Input[bool] autohealing: Enables the autohealing feature for this pool.
:param pulumi.Input[bool] autoscaling: Enables the autoscaling feature for this pool.
> **Important:** When enabled, an update of the `size` will not be taken into account.
:param pulumi.Input[str] container_runtime: The container runtime of the pool.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kubelet_args: The Kubelet arguments to be used by this pool
:param pulumi.Input[int] max_size: The maximum size of the pool, used by the autoscaling feature.
:param pulumi.Input[int] min_size: The minimum size of the pool, used by the autoscaling feature.
:param pulumi.Input[str] name: The name for the pool.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[str] placement_group_id: The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool will be attached to.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[str] region: `region`) The region in which the pool should be created.
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the pool.
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (Example: "taint=taintName=taineValue:Effect")
:param pulumi.Input['KubernetesNodePoolUpgradePolicyArgs'] upgrade_policy: The Pool upgrade policy
:param pulumi.Input[bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
:param pulumi.Input[str] zone: `zone`) The zone in which the pool should be created.
> **Important:** Updates to this field will recreate a new resource.
"""
pulumi.set(__self__, "cluster_id", cluster_id)
pulumi.set(__self__, "node_type", node_type)
pulumi.set(__self__, "size", size)
if autohealing is not None:
pulumi.set(__self__, "autohealing", autohealing)
if autoscaling is not None:
pulumi.set(__self__, "autoscaling", autoscaling)
if container_runtime is not None:
pulumi.set(__self__, "container_runtime", container_runtime)
if kubelet_args is not None:
pulumi.set(__self__, "kubelet_args", kubelet_args)
if max_size is not None:
pulumi.set(__self__, "max_size", max_size)
if min_size is not None:
pulumi.set(__self__, "min_size", min_size)
if name is not None:
pulumi.set(__self__, "name", name)
if placement_group_id is not None:
pulumi.set(__self__, "placement_group_id", placement_group_id)
if region is not None:
pulumi.set(__self__, "region", region)
if tags is not None:
pulumi.set(__self__, "tags", tags)
if upgrade_policy is not None:
pulumi.set(__self__, "upgrade_policy", upgrade_policy)
if wait_for_pool_ready is not None:
pulumi.set(__self__, "wait_for_pool_ready", wait_for_pool_ready)
if zone is not None:
pulumi.set(__self__, "zone", zone)
@property
@pulumi.getter(name="clusterId")
def cluster_id(self) -> pulumi.Input[str]:
"""
The ID of the Kubernetes cluster on which this pool will be created.
"""
return pulumi.get(self, "cluster_id")
@cluster_id.setter
def cluster_id(self, value: pulumi.Input[str]):
pulumi.set(self, "cluster_id", value)
@property
@pulumi.getter(name="nodeType")
def node_type(self) -> pulumi.Input[str]:
"""
The commercial type of the pool instances.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "node_type")
@node_type.setter
def node_type(self, value: pulumi.Input[str]):
pulumi.set(self, "node_type", value)
@property
@pulumi.getter
def size(self) -> pulumi.Input[int]:
"""
The size of the pool.
> **Important:** This field will only be used at creation if autoscaling is enabled.
"""
return pulumi.get(self, "size")
@size.setter
def size(self, value: pulumi.Input[int]):
pulumi.set(self, "size", value)
@property
@pulumi.getter
def autohealing(self) -> Optional[pulumi.Input[bool]]:
"""
Enables the autohealing feature for this pool.
"""
return pulumi.get(self, "autohealing")
@autohealing.setter
def autohealing(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "autohealing", value)
@property
@pulumi.getter
def autoscaling(self) -> Optional[pulumi.Input[bool]]:
"""
Enables the autoscaling feature for this pool.
> **Important:** When enabled, an update of the `size` will not be taken into account.
"""
return pulumi.get(self, "autoscaling")
@autoscaling.setter
def autoscaling(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "autoscaling", value)
@property
@pulumi.getter(name="containerRuntime")
def container_runtime(self) -> Optional[pulumi.Input[str]]:
"""
The container runtime of the pool.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "container_runtime")
@container_runtime.setter
def container_runtime(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "container_runtime", value)
@property
@pulumi.getter(name="kubeletArgs")
def kubelet_args(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
"""
The Kubelet arguments to be used by this pool
"""
return pulumi.get(self, "kubelet_args")
@kubelet_args.setter
def kubelet_args(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "kubelet_args", value)
@property
@pulumi.getter(name="maxSize")
def max_size(self) -> Optional[pulumi.Input[int]]:
"""
The maximum size of the pool, used by the autoscaling feature.
"""
return pulumi.get(self, "max_size")
@max_size.setter
def max_size(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "max_size", value)
@property
@pulumi.getter(name="minSize")
def min_size(self) -> Optional[pulumi.Input[int]]:
"""
The minimum size of the pool, used by the autoscaling feature.
"""
return pulumi.get(self, "min_size")
@min_size.setter
def min_size(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "min_size", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name for the pool.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="placementGroupId")
def placement_group_id(self) -> Optional[pulumi.Input[str]]:
"""
The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool will be attached to.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "placement_group_id")
@placement_group_id.setter
def placement_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "placement_group_id", value)
@property
@pulumi.getter
def region(self) -> Optional[pulumi.Input[str]]:
"""
`region`) The region in which the pool should be created.
"""
return pulumi.get(self, "region")
@region.setter
def region(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "region", value)
@property
@pulumi.getter
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
The tags associated with the pool.
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (Example: "taint=taintName=taineValue:Effect")
"""
return pulumi.get(self, "tags")
@tags.setter
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "tags", value)
@property
@pulumi.getter(name="upgradePolicy")
def upgrade_policy(self) -> Optional[pulumi.Input['KubernetesNodePoolUpgradePolicyArgs']]:
"""
The Pool upgrade policy
"""
return pulumi.get(self, "upgrade_policy")
@upgrade_policy.setter
def upgrade_policy(self, value: Optional[pulumi.Input['KubernetesNodePoolUpgradePolicyArgs']]):
pulumi.set(self, "upgrade_policy", value)
@property
@pulumi.getter(name="waitForPoolReady")
def wait_for_pool_ready(self) -> Optional[pulumi.Input[bool]]:
"""
Whether to wait for the pool to be ready.
"""
return pulumi.get(self, "wait_for_pool_ready")
@wait_for_pool_ready.setter
def wait_for_pool_ready(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "wait_for_pool_ready", value)
@property
@pulumi.getter
def zone(self) -> Optional[pulumi.Input[str]]:
"""
`zone`) The zone in which the pool should be created.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "zone")
@zone.setter
def zone(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "zone", value)
@pulumi.input_type
class _KubernetesNodePoolState:
def __init__(__self__, *,
autohealing: Optional[pulumi.Input[bool]] = None,
autoscaling: Optional[pulumi.Input[bool]] = None,
cluster_id: Optional[pulumi.Input[str]] = None,
container_runtime: Optional[pulumi.Input[str]] = None,
created_at: Optional[pulumi.Input[str]] = None,
current_size: Optional[pulumi.Input[int]] = None,
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
max_size: Optional[pulumi.Input[int]] = None,
min_size: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
node_type: Optional[pulumi.Input[str]] = None,
nodes: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolNodeArgs']]]] = None,
placement_group_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
size: Optional[pulumi.Input[int]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
updated_at: Optional[pulumi.Input[str]] = None,
upgrade_policy: Optional[pulumi.Input['KubernetesNodePoolUpgradePolicyArgs']] = None,
version: Optional[pulumi.Input[str]] = None,
wait_for_pool_ready: Optional[pulumi.Input[bool]] = None,
zone: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering KubernetesNodePool resources.
:param pulumi.Input[bool] autohealing: Enables the autohealing feature for this pool.
:param pulumi.Input[bool] autoscaling: Enables the autoscaling feature for this pool.
> **Important:** When enabled, an update of the `size` will not be taken into account.
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
:param pulumi.Input[str] container_runtime: The container runtime of the pool.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[str] created_at: The creation date of the pool.
:param pulumi.Input[int] current_size: The actual size of the pool
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kubelet_args: The Kubelet arguments to be used by this pool
:param pulumi.Input[int] max_size: The maximum size of the pool, used by the autoscaling feature.
:param pulumi.Input[int] min_size: The minimum size of the pool, used by the autoscaling feature.
:param pulumi.Input[str] name: The name for the pool.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[str] node_type: The commercial type of the pool instances.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolNodeArgs']]] nodes: (List of) The nodes in the default pool.
:param pulumi.Input[str] placement_group_id: The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool will be attached to.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[str] region: `region`) The region in which the pool should be created.
:param pulumi.Input[int] size: The size of the pool.
> **Important:** This field will only be used at creation if autoscaling is enabled.
:param pulumi.Input[str] status: The status of the node.
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the pool.
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (Example: "taint=taintName=taineValue:Effect")
:param pulumi.Input[str] updated_at: The last update date of the pool.
:param pulumi.Input['KubernetesNodePoolUpgradePolicyArgs'] upgrade_policy: The Pool upgrade policy
:param pulumi.Input[str] version: The version of the pool.
:param pulumi.Input[bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
:param pulumi.Input[str] zone: `zone`) The zone in which the pool should be created.
> **Important:** Updates to this field will recreate a new resource.
"""
if autohealing is not None:
pulumi.set(__self__, "autohealing", autohealing)
if autoscaling is not None:
pulumi.set(__self__, "autoscaling", autoscaling)
if cluster_id is not None:
pulumi.set(__self__, "cluster_id", cluster_id)
if container_runtime is not None:
pulumi.set(__self__, "container_runtime", container_runtime)
if created_at is not None:
pulumi.set(__self__, "created_at", created_at)
if current_size is not None:
pulumi.set(__self__, "current_size", current_size)
if kubelet_args is not None:
pulumi.set(__self__, "kubelet_args", kubelet_args)
if max_size is not None:
pulumi.set(__self__, "max_size", max_size)
if min_size is not None:
pulumi.set(__self__, "min_size", min_size)
if name is not None:
pulumi.set(__self__, "name", name)
if node_type is not None:
pulumi.set(__self__, "node_type", node_type)
if nodes is not None:
pulumi.set(__self__, "nodes", nodes)
if placement_group_id is not None:
pulumi.set(__self__, "placement_group_id", placement_group_id)
if region is not None:
pulumi.set(__self__, "region", region)
if size is not None:
pulumi.set(__self__, "size", size)
if status is not None:
pulumi.set(__self__, "status", status)
if tags is not None:
pulumi.set(__self__, "tags", tags)
if updated_at is not None:
pulumi.set(__self__, "updated_at", updated_at)
if upgrade_policy is not None:
pulumi.set(__self__, "upgrade_policy", upgrade_policy)
if version is not None:
pulumi.set(__self__, "version", version)
if wait_for_pool_ready is not None:
pulumi.set(__self__, "wait_for_pool_ready", wait_for_pool_ready)
if zone is not None:
pulumi.set(__self__, "zone", zone)
@property
@pulumi.getter
def autohealing(self) -> Optional[pulumi.Input[bool]]:
"""
Enables the autohealing feature for this pool.
"""
return pulumi.get(self, "autohealing")
@autohealing.setter
def autohealing(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "autohealing", value)
@property
@pulumi.getter
def autoscaling(self) -> Optional[pulumi.Input[bool]]:
"""
Enables the autoscaling feature for this pool.
> **Important:** When enabled, an update of the `size` will not be taken into account.
"""
return pulumi.get(self, "autoscaling")
@autoscaling.setter
def autoscaling(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "autoscaling", value)
@property
@pulumi.getter(name="clusterId")
def cluster_id(self) -> Optional[pulumi.Input[str]]:
"""
The ID of the Kubernetes cluster on which this pool will be created.
"""
return pulumi.get(self, "cluster_id")
@cluster_id.setter
def cluster_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "cluster_id", value)
@property
@pulumi.getter(name="containerRuntime")
def container_runtime(self) -> Optional[pulumi.Input[str]]:
"""
The container runtime of the pool.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "container_runtime")
@container_runtime.setter
def container_runtime(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "container_runtime", value)
@property
@pulumi.getter(name="createdAt")
def created_at(self) -> Optional[pulumi.Input[str]]:
"""
The creation date of the pool.
"""
return pulumi.get(self, "created_at")
@created_at.setter
def created_at(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "created_at", value)
@property
@pulumi.getter(name="currentSize")
def current_size(self) -> Optional[pulumi.Input[int]]:
"""
The actual size of the pool
"""
return pulumi.get(self, "current_size")
@current_size.setter
def current_size(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "current_size", value)
@property
@pulumi.getter(name="kubeletArgs")
def kubelet_args(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
"""
The Kubelet arguments to be used by this pool
"""
return pulumi.get(self, "kubelet_args")
@kubelet_args.setter
def kubelet_args(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
pulumi.set(self, "kubelet_args", value)
@property
@pulumi.getter(name="maxSize")
def max_size(self) -> Optional[pulumi.Input[int]]:
"""
The maximum size of the pool, used by the autoscaling feature.
"""
return pulumi.get(self, "max_size")
@max_size.setter
def max_size(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "max_size", value)
@property
@pulumi.getter(name="minSize")
def min_size(self) -> Optional[pulumi.Input[int]]:
"""
The minimum size of the pool, used by the autoscaling feature.
"""
return pulumi.get(self, "min_size")
@min_size.setter
def min_size(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "min_size", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name for the pool.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="nodeType")
def node_type(self) -> Optional[pulumi.Input[str]]:
"""
The commercial type of the pool instances.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "node_type")
@node_type.setter
def node_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "node_type", value)
@property
@pulumi.getter
def nodes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolNodeArgs']]]]:
"""
(List of) The nodes in the default pool.
"""
return pulumi.get(self, "nodes")
@nodes.setter
def nodes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KubernetesNodePoolNodeArgs']]]]):
pulumi.set(self, "nodes", value)
@property
@pulumi.getter(name="placementGroupId")
def placement_group_id(self) -> Optional[pulumi.Input[str]]:
"""
The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool will be attached to.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "placement_group_id")
@placement_group_id.setter
def placement_group_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "placement_group_id", value)
@property
@pulumi.getter
def region(self) -> Optional[pulumi.Input[str]]:
"""
`region`) The region in which the pool should be created.
"""
return pulumi.get(self, "region")
@region.setter
def region(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "region", value)
@property
@pulumi.getter
def size(self) -> Optional[pulumi.Input[int]]:
"""
The size of the pool.
> **Important:** This field will only be used at creation if autoscaling is enabled.
"""
return pulumi.get(self, "size")
@size.setter
def size(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "size", value)
@property
@pulumi.getter
def status(self) -> Optional[pulumi.Input[str]]:
"""
The status of the node.
"""
return pulumi.get(self, "status")
@status.setter
def status(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "status", value)
@property
@pulumi.getter
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
The tags associated with the pool.
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (Example: "taint=taintName=taineValue:Effect")
"""
return pulumi.get(self, "tags")
@tags.setter
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "tags", value)
@property
@pulumi.getter(name="updatedAt")
def updated_at(self) -> Optional[pulumi.Input[str]]:
"""
The last update date of the pool.
"""
return pulumi.get(self, "updated_at")
@updated_at.setter
def updated_at(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "updated_at", value)
@property
@pulumi.getter(name="upgradePolicy")
def upgrade_policy(self) -> Optional[pulumi.Input['KubernetesNodePoolUpgradePolicyArgs']]:
"""
The Pool upgrade policy
"""
return pulumi.get(self, "upgrade_policy")
@upgrade_policy.setter
def upgrade_policy(self, value: Optional[pulumi.Input['KubernetesNodePoolUpgradePolicyArgs']]):
pulumi.set(self, "upgrade_policy", value)
@property
@pulumi.getter
def version(self) -> Optional[pulumi.Input[str]]:
"""
The version of the pool.
"""
return pulumi.get(self, "version")
@version.setter
def version(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "version", value)
@property
@pulumi.getter(name="waitForPoolReady")
def wait_for_pool_ready(self) -> Optional[pulumi.Input[bool]]:
"""
Whether to wait for the pool to be ready.
"""
return pulumi.get(self, "wait_for_pool_ready")
@wait_for_pool_ready.setter
def wait_for_pool_ready(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "wait_for_pool_ready", value)
@property
@pulumi.getter
def zone(self) -> Optional[pulumi.Input[str]]:
"""
`zone`) The zone in which the pool should be created.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "zone")
@zone.setter
def zone(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "zone", value)
class KubernetesNodePool(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
autohealing: Optional[pulumi.Input[bool]] = None,
autoscaling: Optional[pulumi.Input[bool]] = None,
cluster_id: Optional[pulumi.Input[str]] = None,
container_runtime: Optional[pulumi.Input[str]] = None,
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
max_size: Optional[pulumi.Input[int]] = None,
min_size: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
node_type: Optional[pulumi.Input[str]] = None,
placement_group_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
size: Optional[pulumi.Input[int]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
upgrade_policy: Optional[pulumi.Input[pulumi.InputType['KubernetesNodePoolUpgradePolicyArgs']]] = None,
wait_for_pool_ready: Optional[pulumi.Input[bool]] = None,
zone: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
Creates and manages Scaleway Kubernetes cluster pools. For more information, see [the documentation](https://developers.scaleway.com/en/products/k8s/api/).
## Examples
### Basic
```python
import pulumi
import pulumi_scaleway as scaleway
jack = scaleway.KubernetesCluster("jack",
version="1.19.4",
cni="cilium")
bill = scaleway.KubernetesNodePool("bill",
cluster_id=jack.id,
node_type="DEV1-M",
size=3,
min_size=0,
max_size=10,
autoscaling=True,
autohealing=True,
container_runtime="containerd",
placement_group_id="1267e3fd-a51c-49ed-ad12-857092ee3a3d")
```
## Import
Kubernetes pools can be imported using the `{region}/{id}`, e.g. bash
```sh
$ pulumi import scaleway:index/kubernetesNodePool:KubernetesNodePool mypool fr-par/11111111-1111-1111-1111-111111111111
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[bool] autohealing: Enables the autohealing feature for this pool.
:param pulumi.Input[bool] autoscaling: Enables the autoscaling feature for this pool.
> **Important:** When enabled, an update of the `size` will not be taken into account.
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
:param pulumi.Input[str] container_runtime: The container runtime of the pool.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kubelet_args: The Kubelet arguments to be used by this pool
:param pulumi.Input[int] max_size: The maximum size of the pool, used by the autoscaling feature.
:param pulumi.Input[int] min_size: The minimum size of the pool, used by the autoscaling feature.
:param pulumi.Input[str] name: The name for the pool.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[str] node_type: The commercial type of the pool instances.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[str] placement_group_id: The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool will be attached to.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[str] region: `region`) The region in which the pool should be created.
:param pulumi.Input[int] size: The size of the pool.
> **Important:** This field will only be used at creation if autoscaling is enabled.
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the pool.
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (Example: "taint=taintName=taineValue:Effect")
:param pulumi.Input[pulumi.InputType['KubernetesNodePoolUpgradePolicyArgs']] upgrade_policy: The Pool upgrade policy
:param pulumi.Input[bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
:param pulumi.Input[str] zone: `zone`) The zone in which the pool should be created.
> **Important:** Updates to this field will recreate a new resource.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: KubernetesNodePoolArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Creates and manages Scaleway Kubernetes cluster pools. For more information, see [the documentation](https://developers.scaleway.com/en/products/k8s/api/).
## Examples
### Basic
```python
import pulumi
import pulumi_scaleway as scaleway
jack = scaleway.KubernetesCluster("jack",
version="1.19.4",
cni="cilium")
bill = scaleway.KubernetesNodePool("bill",
cluster_id=jack.id,
node_type="DEV1-M",
size=3,
min_size=0,
max_size=10,
autoscaling=True,
autohealing=True,
container_runtime="containerd",
placement_group_id="1267e3fd-a51c-49ed-ad12-857092ee3a3d")
```
## Import
Kubernetes pools can be imported using the `{region}/{id}`, e.g. bash
```sh
$ pulumi import scaleway:index/kubernetesNodePool:KubernetesNodePool mypool fr-par/11111111-1111-1111-1111-111111111111
```
:param str resource_name: The name of the resource.
:param KubernetesNodePoolArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(KubernetesNodePoolArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
autohealing: Optional[pulumi.Input[bool]] = None,
autoscaling: Optional[pulumi.Input[bool]] = None,
cluster_id: Optional[pulumi.Input[str]] = None,
container_runtime: Optional[pulumi.Input[str]] = None,
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
max_size: Optional[pulumi.Input[int]] = None,
min_size: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
node_type: Optional[pulumi.Input[str]] = None,
placement_group_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
size: Optional[pulumi.Input[int]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
upgrade_policy: Optional[pulumi.Input[pulumi.InputType['KubernetesNodePoolUpgradePolicyArgs']]] = None,
wait_for_pool_ready: Optional[pulumi.Input[bool]] = None,
zone: Optional[pulumi.Input[str]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = KubernetesNodePoolArgs.__new__(KubernetesNodePoolArgs)
__props__.__dict__["autohealing"] = autohealing
__props__.__dict__["autoscaling"] = autoscaling
if cluster_id is None and not opts.urn:
raise TypeError("Missing required property 'cluster_id'")
__props__.__dict__["cluster_id"] = cluster_id
__props__.__dict__["container_runtime"] = container_runtime
__props__.__dict__["kubelet_args"] = kubelet_args
__props__.__dict__["max_size"] = max_size
__props__.__dict__["min_size"] = min_size
__props__.__dict__["name"] = name
if node_type is None and not opts.urn:
raise TypeError("Missing required property 'node_type'")
__props__.__dict__["node_type"] = node_type
__props__.__dict__["placement_group_id"] = placement_group_id
__props__.__dict__["region"] = region
if size is None and not opts.urn:
raise TypeError("Missing required property 'size'")
__props__.__dict__["size"] = size
__props__.__dict__["tags"] = tags
__props__.__dict__["upgrade_policy"] = upgrade_policy
__props__.__dict__["wait_for_pool_ready"] = wait_for_pool_ready
__props__.__dict__["zone"] = zone
__props__.__dict__["created_at"] = None
__props__.__dict__["current_size"] = None
__props__.__dict__["nodes"] = None
__props__.__dict__["status"] = None
__props__.__dict__["updated_at"] = None
__props__.__dict__["version"] = None
super(KubernetesNodePool, __self__).__init__(
'scaleway:index/kubernetesNodePool:KubernetesNodePool',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
autohealing: Optional[pulumi.Input[bool]] = None,
autoscaling: Optional[pulumi.Input[bool]] = None,
cluster_id: Optional[pulumi.Input[str]] = None,
container_runtime: Optional[pulumi.Input[str]] = None,
created_at: Optional[pulumi.Input[str]] = None,
current_size: Optional[pulumi.Input[int]] = None,
kubelet_args: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
max_size: Optional[pulumi.Input[int]] = None,
min_size: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
node_type: Optional[pulumi.Input[str]] = None,
nodes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KubernetesNodePoolNodeArgs']]]]] = None,
placement_group_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
size: Optional[pulumi.Input[int]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
updated_at: Optional[pulumi.Input[str]] = None,
upgrade_policy: Optional[pulumi.Input[pulumi.InputType['KubernetesNodePoolUpgradePolicyArgs']]] = None,
version: Optional[pulumi.Input[str]] = None,
wait_for_pool_ready: Optional[pulumi.Input[bool]] = None,
zone: Optional[pulumi.Input[str]] = None) -> 'KubernetesNodePool':
"""
Get an existing KubernetesNodePool resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[bool] autohealing: Enables the autohealing feature for this pool.
:param pulumi.Input[bool] autoscaling: Enables the autoscaling feature for this pool.
> **Important:** When enabled, an update of the `size` will not be taken into account.
:param pulumi.Input[str] cluster_id: The ID of the Kubernetes cluster on which this pool will be created.
:param pulumi.Input[str] container_runtime: The container runtime of the pool.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[str] created_at: The creation date of the pool.
:param pulumi.Input[int] current_size: The actual size of the pool
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] kubelet_args: The Kubelet arguments to be used by this pool
:param pulumi.Input[int] max_size: The maximum size of the pool, used by the autoscaling feature.
:param pulumi.Input[int] min_size: The minimum size of the pool, used by the autoscaling feature.
:param pulumi.Input[str] name: The name for the pool.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[str] node_type: The commercial type of the pool instances.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KubernetesNodePoolNodeArgs']]]] nodes: (List of) The nodes in the default pool.
:param pulumi.Input[str] placement_group_id: The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool will be attached to.
> **Important:** Updates to this field will recreate a new resource.
:param pulumi.Input[str] region: `region`) The region in which the pool should be created.
:param pulumi.Input[int] size: The size of the pool.
> **Important:** This field will only be used at creation if autoscaling is enabled.
:param pulumi.Input[str] status: The status of the node.
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The tags associated with the pool.
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (Example: "taint=taintName=taineValue:Effect")
:param pulumi.Input[str] updated_at: The last update date of the pool.
:param pulumi.Input[pulumi.InputType['KubernetesNodePoolUpgradePolicyArgs']] upgrade_policy: The Pool upgrade policy
:param pulumi.Input[str] version: The version of the pool.
:param pulumi.Input[bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
:param pulumi.Input[str] zone: `zone`) The zone in which the pool should be created.
> **Important:** Updates to this field will recreate a new resource.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _KubernetesNodePoolState.__new__(_KubernetesNodePoolState)
__props__.__dict__["autohealing"] = autohealing
__props__.__dict__["autoscaling"] = autoscaling
__props__.__dict__["cluster_id"] = cluster_id
__props__.__dict__["container_runtime"] = container_runtime
__props__.__dict__["created_at"] = created_at
__props__.__dict__["current_size"] = current_size
__props__.__dict__["kubelet_args"] = kubelet_args
__props__.__dict__["max_size"] = max_size
__props__.__dict__["min_size"] = min_size
__props__.__dict__["name"] = name
__props__.__dict__["node_type"] = node_type
__props__.__dict__["nodes"] = nodes
__props__.__dict__["placement_group_id"] = placement_group_id
__props__.__dict__["region"] = region
__props__.__dict__["size"] = size
__props__.__dict__["status"] = status
__props__.__dict__["tags"] = tags
__props__.__dict__["updated_at"] = updated_at
__props__.__dict__["upgrade_policy"] = upgrade_policy
__props__.__dict__["version"] = version
__props__.__dict__["wait_for_pool_ready"] = wait_for_pool_ready
__props__.__dict__["zone"] = zone
return KubernetesNodePool(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter
def autohealing(self) -> pulumi.Output[Optional[bool]]:
"""
Enables the autohealing feature for this pool.
"""
return pulumi.get(self, "autohealing")
@property
@pulumi.getter
def autoscaling(self) -> pulumi.Output[Optional[bool]]:
"""
Enables the autoscaling feature for this pool.
> **Important:** When enabled, an update of the `size` will not be taken into account.
"""
return pulumi.get(self, "autoscaling")
@property
@pulumi.getter(name="clusterId")
def cluster_id(self) -> pulumi.Output[str]:
"""
The ID of the Kubernetes cluster on which this pool will be created.
"""
return pulumi.get(self, "cluster_id")
@property
@pulumi.getter(name="containerRuntime")
def container_runtime(self) -> pulumi.Output[Optional[str]]:
"""
The container runtime of the pool.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "container_runtime")
@property
@pulumi.getter(name="createdAt")
def created_at(self) -> pulumi.Output[str]:
"""
The creation date of the pool.
"""
return pulumi.get(self, "created_at")
@property
@pulumi.getter(name="currentSize")
def current_size(self) -> pulumi.Output[int]:
"""
The actual size of the pool
"""
return pulumi.get(self, "current_size")
@property
@pulumi.getter(name="kubeletArgs")
def kubelet_args(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
"""
The Kubelet arguments to be used by this pool
"""
return pulumi.get(self, "kubelet_args")
@property
@pulumi.getter(name="maxSize")
def max_size(self) -> pulumi.Output[int]:
"""
The maximum size of the pool, used by the autoscaling feature.
"""
return pulumi.get(self, "max_size")
@property
@pulumi.getter(name="minSize")
def min_size(self) -> pulumi.Output[Optional[int]]:
"""
The minimum size of the pool, used by the autoscaling feature.
"""
return pulumi.get(self, "min_size")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
The name for the pool.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "name")
@property
@pulumi.getter(name="nodeType")
def node_type(self) -> pulumi.Output[str]:
"""
The commercial type of the pool instances.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "node_type")
@property
@pulumi.getter
def nodes(self) -> pulumi.Output[Sequence['outputs.KubernetesNodePoolNode']]:
"""
(List of) The nodes in the default pool.
"""
return pulumi.get(self, "nodes")
@property
@pulumi.getter(name="placementGroupId")
def placement_group_id(self) -> pulumi.Output[Optional[str]]:
"""
The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool will be attached to.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "placement_group_id")
@property
@pulumi.getter
def region(self) -> pulumi.Output[str]:
"""
`region`) The region in which the pool should be created.
"""
return pulumi.get(self, "region")
@property
@pulumi.getter
def size(self) -> pulumi.Output[int]:
"""
The size of the pool.
> **Important:** This field will only be used at creation if autoscaling is enabled.
"""
return pulumi.get(self, "size")
@property
@pulumi.getter
def status(self) -> pulumi.Output[str]:
"""
The status of the node.
"""
return pulumi.get(self, "status")
@property
@pulumi.getter
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
"""
The tags associated with the pool.
> Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (Example: "taint=taintName=taineValue:Effect")
"""
return pulumi.get(self, "tags")
@property
@pulumi.getter(name="updatedAt")
def updated_at(self) -> pulumi.Output[str]:
"""
The last update date of the pool.
"""
return pulumi.get(self, "updated_at")
@property
@pulumi.getter(name="upgradePolicy")
def upgrade_policy(self) -> pulumi.Output['outputs.KubernetesNodePoolUpgradePolicy']:
"""
The Pool upgrade policy
"""
return pulumi.get(self, "upgrade_policy")
@property
@pulumi.getter
def version(self) -> pulumi.Output[str]:
"""
The version of the pool.
"""
return pulumi.get(self, "version")
@property
@pulumi.getter(name="waitForPoolReady")
def wait_for_pool_ready(self) -> pulumi.Output[Optional[bool]]:
"""
Whether to wait for the pool to be ready.
"""
return pulumi.get(self, "wait_for_pool_ready")
@property
@pulumi.getter
def zone(self) -> pulumi.Output[str]:
"""
`zone`) The zone in which the pool should be created.
> **Important:** Updates to this field will recreate a new resource.
"""
return pulumi.get(self, "zone")
| 44.471154 | 247 | 0.637052 | 6,120 | 50,875 | 5.117484 | 0.044118 | 0.098343 | 0.096459 | 0.051279 | 0.921837 | 0.910629 | 0.888183 | 0.869728 | 0.857275 | 0.836904 | 0 | 0.003963 | 0.251007 | 50,875 | 1,143 | 248 | 44.510061 | 0.81795 | 0.351371 | 0 | 0.780255 | 1 | 0 | 0.098706 | 0.018741 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167197 | false | 0.001592 | 0.011147 | 0 | 0.280255 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3949cdc0f9703b30ee8dc7cd875e27849907597f | 18,167 | py | Python | bitwise/storage/FLOP.py | jamesjiang52/Bitwise | c71f151d23034b3f9e2a939f637be0eaa16c45c3 | [
"MIT"
] | null | null | null | bitwise/storage/FLOP.py | jamesjiang52/Bitwise | c71f151d23034b3f9e2a939f637be0eaa16c45c3 | [
"MIT"
] | null | null | null | bitwise/storage/FLOP.py | jamesjiang52/Bitwise | c71f151d23034b3f9e2a939f637be0eaa16c45c3 | [
"MIT"
] | null | null | null | """
The following classes are defined:
SRLatch
GatedSRLatch
GatedDLatch
DFlipFlop
DFlipFlopPresetClear
TFlipFlop
TFlipFlopPresetClear
JKFlipFlop
JKFlipFlopPresetClear
"""
from .. import wire
from .. import gate
from .. import signal
Wire = wire.Wire
class SRLatch:
"""Construct a new SR latch.
Args:
set: An object of type Wire. The set input to the latch.
reset: An object of type Wire. The reset input to the latch.
output: An object of type Wire. The output of the latch. Takes on the
value of 1 if the value of set is 1 and the value of 0 if the value
of reset is 1.
output_not: An object of type Wire. The complemented form of output.
"""
def __init__(self, set, reset, output, output_not):
gate.NORGate2(set, output, output_not)
gate.NORGate2(reset, output_not, output)
self.set = set
self.reset = reset
self.output = output
self.output_not = output_not
def __str__(self):
str_ = ""
str_ += "set: " + str(self.set.value) + "\n"
str_ += "reset: " + str(self.reset.value) + "\n"
str_ += "output: " + str(self.output.value) + "\n"
str_ += "output_not: " + str(self.output_not.value)
return str_
def __call__(
self, *,
set=None,
reset=None,
output=None,
output_not=None
):
if set is not None:
self.set.value = set
if reset is not None:
self.reset.value = reset
if output is not None:
self.output.value = output
if output_not is not None:
self.output_not.value = output_not
class GatedSRLatch:
"""Construct a new gated SR latch.
Args:
set: An object of type Wire. The set input to the latch.
reset: An object of type Wire. The reset input to the latch.
clock: An object of type Wire or Clock. The clock input to the latch.
output: An object of type Wire. The output of the latch. When the value
of clock is 1, takes on the value of 1 if the value of set is 1 and
the value of 0 if the value of reset is 1.
output_not: An object of type Wire. The complemented form of output.
"""
def __init__(self, set, reset, clock, output, output_not):
wire_1 = Wire()
wire_2 = Wire()
gate.ANDGate2(clock, set, wire_1)
gate.ANDGate2(clock, reset, wire_2)
SRLatch(wire_1, wire_2, output, output_not)
self.set = set
self.reset = reset
self.clock = clock
self.output = output
self.output_not = output_not
def __str__(self):
str_ = ""
str_ += "set: " + str(self.set.value) + "\n"
str_ += "reset: " + str(self.reset.value) + "\n"
str_ += "clock: " + str(self.clock.value) + "\n"
str_ += "output: " + str(self.output.value) + "\n"
str_ += "output_not: " + str(self.output_not.value)
return str_
def __call__(
self, *,
set=None,
reset=None,
clock=None,
output=None,
output_not=None
):
if set is not None:
self.set.value = set
if reset is not None:
self.reset.value = reset
if clock is not None:
self.clock.value = clock
if output is not None:
self.output.value = output
if output_not is not None:
self.output_not.value = output_not
class GatedDLatch:
"""Construct a new gated D latch.
Args:
data: An object of type Wire. The data input to the latch.
clock: An object of type Wire or Clock. The clock input to the latch.
output: An object of type Wire. The output of the latch. Takes on the
value of data if the value of clock is 1.
output_not: An object of type Wire. The complemented form of output.
"""
def __init__(self, data, clock, output, output_not):
wire_1 = Wire()
gate.NOTGate(data, wire_1)
GatedSRLatch(data, wire_1, clock, output, output_not)
self.data = data
self.clock = clock
self.output = output
self.output_not = output_not
def __str__(self):
str_ = ""
str_ += "data: " + str(self.data.value) + "\n"
str_ += "clock: " + str(self.clock.value) + "\n"
str_ += "output: " + str(self.output.value) + "\n"
str_ += "output_not: " + str(self.output_not.value)
return str_
def __call__(
self, *,
data=None,
clock=None,
output=None,
output_not=None
):
if data is not None:
self.data.value = data
if clock is not None:
self.clock.value = clock
if output is not None:
self.output.value = output
if output_not is not None:
self.output_not.value = output_not
class DFlipFlop:
"""Construct a new positive edge-triggered D flip-flop.
Args:
data: An object of type Wire. The data input to the flip-flop.
clock: An object of type Wire or Clock. The clock input to the flip-
flop.
output: An object of type Wire. The output of the flip-flop. Takes on
the value of data on the positive edges of clock.
output_not: An object of type Wire. The complemented form of output.
"""
def __init__(self, data, clock, output, output_not):
q_1 = Wire()
q_not_1 = Wire()
not_clock = Wire()
gate.NOTGate(clock, not_clock)
GatedDLatch(data, not_clock, q_1, q_not_1)
GatedDLatch(q_1, clock, output, output_not)
self.data = data
self.clock = clock
self.output = output
self.output_not = output_not
def __str__(self):
str_ = ""
str_ += "data: " + str(self.data.value) + "\n"
str_ += "clock: " + str(self.clock.value) + "\n"
str_ += "output: " + str(self.output.value) + "\n"
str_ += "output_not: " + str(self.output_not.value)
return str_
def __call__(
self, *,
data=None,
clock=None,
output=None,
output_not=None
):
if data is not None:
self.data.value = data
if clock is not None:
self.clock.value = clock
if output is not None:
self.output.value = output
if output_not is not None:
self.output_not.value = output_not
class DFlipFlopPresetClear:
"""Construct a new positive edge-triggered D flip-flop with preset/clear
capabilities.
Args:
data: An object of type Wire. The data input to the flip-flop.
preset_n: An object of type Wire. Presets output to 1 and output_not to
0 asynchronously if its value is 0.
clear_n: An object of type Wire. Clears output to 0 and output_not to 1
asynchronously if its value is 0.
clock: An object of type Wireor Clock. The clock input to the flip-
flop.
output: An object of type Wire. The output of the flip-flop. Takes on
the value of data on the positive edges of clock.
output_not: An object of type Wire. The complemented form of output.
"""
def __init__(self, data, preset_n, clear_n, clock, output, output_not):
not_clock = Wire()
not_data = Wire()
wire_1 = Wire()
wire_2 = Wire()
wire_3 = Wire()
wire_4 = Wire()
wire_5 = Wire()
wire_6 = Wire()
gate.NOTGate(clock, not_clock)
gate.NOTGate(data, not_data)
gate.NANDGate2(data, not_clock, wire_1)
gate.NANDGate2(not_data, not_clock, wire_2)
gate.NANDGate3(preset_n, wire_1, wire_3, wire_4)
gate.NANDGate3(wire_4, wire_2, clear_n, wire_3)
gate.NANDGate2(wire_4, clock, wire_5)
gate.NANDGate2(wire_3, clock, wire_6)
gate.NANDGate3(preset_n, wire_5, output_not, output)
gate.NANDGate3(output, wire_6, clear_n, output_not)
self.data = data
self.preset_n = preset_n
self.clear_n = clear_n
self.clock = clock
self.output = output
self.output_not = output_not
def __str__(self):
str_ = ""
str_ += "data: " + str(self.data.value) + "\n"
str_ += "preset_n: " + str(self.preset_n.value) + "\n"
str_ += "clear_n: " + str(self.clear_n.value) + "\n"
str_ += "clock: " + str(self.clock.value) + "\n"
str_ += "output: " + str(self.output.value) + "\n"
str_ += "output_not: " + str(self.output_not.value)
return str_
def __call__(
self, *,
data=None,
preset_n=None,
clear_n=None,
clock=None,
output=None,
output_not=None
):
if data is not None:
self.data.value = data
if preset_n is not None:
self.preset_n.value = preset_n
if clear_n is not None:
self.clear_n.value = clear_n
if clock is not None:
self.clock.value = clock
if output is not None:
self.output.value = output
if output_not is not None:
self.output_not.value = output_not
class TFlipFlop:
"""Construct a new positive edge-triggered T flip-flop.
Args:
toggle: An object of type Wire. The toggle input to the flip-flop.
clock: An object of type Wire or Clock. The clock input to the flip-
flop.
output: An object of type Wire. The output of the flip-flop. Toggles
its value on the positive edges of clock if the value of toggle is
1.
output_not: An object of type Wire. The complemented form of output.
"""
def __init__(self, toggle, clock, output, output_not):
mux_output = Wire()
enable = Wire()
enable.value = 1
signal.Multiplexer2To1(enable, toggle, output_not, output, mux_output)
DFlipFlop(mux_output, clock, output, output_not)
self.toggle = toggle
self.clock = clock
self.output = output
self.output_not = output_not
def __str__(self):
str_ = ""
str_ += "toggle: " + str(self.toggle.value) + "\n"
str_ += "clock: " + str(self.clock.value) + "\n"
str_ += "output: " + str(self.output.value) + "\n"
str_ += "output_not: " + str(self.output_not.value)
return str_
def __call__(
self, *,
toggle=None,
clock=None,
output=None,
output_not=None
):
if toggle is not None:
self.toggle.value = toggle
if clock is not None:
self.clock.value = clock
if output is not None:
self.output.value = output
if output_not is not None:
self.output_not.value = output_not
class TFlipFlopPresetClear:
"""Construct a new positive edge-triggered T flip-flop with preset/clear
capabilities.
Args:
toggle: An object of type Wire. The toggle input to the flip-flop.
preset_n: An object of type Wire. Presets output to 1 and output_not to
0 asynchronously if its value is 0.
clear_n: An object of type Wire. Clears output to 0 and output_not to 1
asynchronously if its value is 0.
clock: An object of type Wire or Clock. The clock input to the flip-
flop.
output: An object of type Wire. The output of the flip-flop. Toggles
its value on the positive edges of clock if the value of toggle is
1.
output_not: An object of type Wire. The complemented form of output.
"""
def __init__(self, toggle, preset_n, clear_n, clock, output, output_not):
mux_output = Wire()
enable = Wire()
enable.value = 1
signal.Multiplexer2To1(enable, toggle, output_not, output, mux_output)
DFlipFlopPresetClear(
mux_output,
preset_n,
clear_n,
clock,
output,
output_not
)
self.toggle = toggle
self.preset_n = preset_n
self.clear_n = clear_n
self.clock = clock
self.output = output
self.output_not = output_not
def __str__(self):
str_ = ""
str_ += "toggle: " + str(self.toggle.value) + "\n"
str_ += "preset_n: " + str(self.preset_n.value) + "\n"
str_ += "clear_n: " + str(self.clear_n.value) + "\n"
str_ += "clock: " + str(self.clock.value) + "\n"
str_ += "output: " + str(self.output.value) + "\n"
str_ += "output_not: " + str(self.output_not.value)
return str_
def __call__(
self, *,
toggle=None,
preset_n=None,
clear_n=None,
clock=None,
output=None,
output_not=None
):
if toggle is not None:
self.toggle.value = toggle
if preset_n is not None:
self.preset_n.value = preset_n
if clear_n is not None:
self.clear_n.value = clear_n
if clock is not None:
self.clock.value = clock
if output is not None:
self.output.value = output
if output_not is not None:
self.output_not.value = output_not
class JKFlipFlop:
"""Construct a new positive edge-triggered JK flip-flop.
Args:
J: An object of type Wire. The J input to the flip-flop.
K: An object of type Wire. The K input to the flip-flop.
clock: An object of type Wire or Clock. The clock input to the flip-
flop.
output: An object of type Wire. The output of the flip-flop. On the
positive edges of clock, takes on the value of 1 if the value of J
is 1, takes on the value of 0 if the value of K is 1, and toggles
its value if both J and K have value 1.
output_not: An object of type Wire. The complemented form of output.
"""
def __init__(self, J, K, clock, output, output_not):
and_1 = Wire()
and_2 = Wire()
or_1 = Wire()
not_1 = Wire()
gate.NOTGate(K, not_1)
gate.ANDGate2(J, output_not, and_1)
gate.ANDGate2(not_1, output, and_2)
gate.ORGate2(and_1, and_2, or_1)
DFlipFlop(or_1, clock, output, output_not)
self.J = J
self.K = K
self.clock = clock
self.output = output
self.output_not = output_not
def __str__(self):
str_ = ""
str_ += "J: " + str(self.J.value) + "\n"
str_ += "K: " + str(self.K.value) + "\n"
str_ += "clock: " + str(self.clock.value) + "\n"
str_ += "output: " + str(self.output.value) + "\n"
str_ += "output_not: " + str(self.output_not.value)
return str_
def __call__(
self, *,
J=None,
K=None,
clock=None,
output=None,
output_not=None
):
if J is not None:
self.J.value = J
if K is not None:
self.K.value = K
if clock is not None:
self.clock.value = clock
if output is not None:
self.output.value = output
if output_not is not None:
self.output_not.value = output_not
class JKFlipFlopPresetClear:
"""Construct a new positive edge-triggered JK flip-flop with preset/clear
capabilities.
Args:
J: An object of type Wire. The J input to the flip-flop.
K: An object of type Wire. The K input to the flip-flop.
preset_n: An object of type Wire. Presets output to 1 and output_not to
0 asynchronously if its value is 0.
clear_n: An object of type Wire. Clears output to 0 and output_not to 1
asynchronously if its value is 0.
clock: An object of type Wire or Clock. The clock input to the flip-
flop.
output: An object of type Wire. The output of the flip-flop. On the
positive edges of clock, takes on the value of 1 if the value of J
is 1, takes on the value of 0 if the value of K is 1, and toggles
its value if both J and K have value 1.
output_not: An object of type Wire. The complemented form of output.
"""
def __init__(self, J, K, preset_n, clear_n, clock, output, output_not):
and_1 = Wire()
and_2 = Wire()
or_1 = Wire()
not_1 = Wire()
gate.NOTGate(K, not_1)
gate.ANDGate2(J, output_not, and_1)
gate.ANDGate2(not_1, output, and_2)
gate.ORGate2(and_1, and_2, or_1)
DFlipFlopPresetClear(
or_1,
preset_n,
clear_n,
clock,
output,
output_not
)
self.J = J
self.K = K
self.preset_n = preset_n
self.clear_n = clear_n
self.clock = clock
self.output = output
self.output_not = output_not
def __str__(self):
str_ = ""
str_ += "J: " + str(self.J.value) + "\n"
str_ += "K: " + str(self.K.value) + "\n"
str_ += "preset_n: " + str(self.preset_n.value) + "\n"
str_ += "clear_n: " + str(self.clear_n.value) + "\n"
str_ += "clock: " + str(self.clock.value) + "\n"
str_ += "output: " + str(self.output.value) + "\n"
str_ += "output_not: " + str(self.output_not.value)
return str_
def __call__(
self, *,
J=None,
K=None,
preset_n=None,
clear_n=None,
clock=None,
output=None,
output_not=None
):
if J is not None:
self.J.value = J
if K is not None:
self.K.value = K
if preset_n is not None:
self.preset_n.value = preset_n
if clear_n is not None:
self.clear_n.value = clear_n
if clock is not None:
self.clock.value = clock
if output is not None:
self.output.value = output
if output_not is not None:
self.output_not.value = output_not
| 32.557348 | 79 | 0.57065 | 2,534 | 18,167 | 3.923047 | 0.038674 | 0.100493 | 0.045267 | 0.063374 | 0.901921 | 0.891661 | 0.877678 | 0.860577 | 0.849814 | 0.818127 | 0 | 0.010139 | 0.337645 | 18,167 | 557 | 80 | 32.615799 | 0.816006 | 0.290086 | 0 | 0.864721 | 0 | 0 | 0.034926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071618 | false | 0 | 0.007958 | 0 | 0.127321 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1a9f1a861635b86971fd1bcad18a9798059e4b00 | 8,002 | py | Python | processing/basic_morphological.py | Yuan-Zhuo/Simple-Image-Processor | 14ca6aa06feac3e557261fef5471edf4f6f2675b | [
"MIT"
] | null | null | null | processing/basic_morphological.py | Yuan-Zhuo/Simple-Image-Processor | 14ca6aa06feac3e557261fef5471edf4f6f2675b | [
"MIT"
] | null | null | null | processing/basic_morphological.py | Yuan-Zhuo/Simple-Image-Processor | 14ca6aa06feac3e557261fef5471edf4f6f2675b | [
"MIT"
] | null | null | null | import numpy as np
from PIL import Image
from processing.util import parse_se, parse_image, ImageType, get_value, parse_binary_se, parse_binary_image
from processing.image_opt import grayscale_image_min, grayscale_image_max, image_binary
import math
# 二值膨胀-结构元 0,1 图像 0,255
def binary_dilation(img, se, center, bin_img):
wd_tuple = parse_binary_se(se, center)
if (wd_tuple == None):
raise TypeError('invalid se')
if (bin_img):
img_arr, img_type = parse_binary_image(img)
if (img_type != ImageType.GRAYSCALE):
raise TypeError('invalid image')
else:
img_arr, img_type = parse_image(img)
if (img_type == ImageType.INVALID):
raise TypeError('invalid image')
img_shape = img_arr.shape
res_arr = np.zeros(img_shape, dtype=np.uint8)
for x in range(img_shape[0]):
for y in range(img_shape[1]):
if (img_type == ImageType.COLOR):
val_max_rgb = np.zeros(3, dtype=np.int32)
for i in range(-wd_tuple[0], wd_tuple[1] + 1):
for j in range(-wd_tuple[2], wd_tuple[3] + 1):
if (se[i + center[0]][j + center[1]]):
val_point = get_value(img_arr, img_shape,
(x + i, y + j))
for k in range(3):
val_max_rgb[k] = max(val_max_rgb[k],
val_point[k])
res_arr[x][y] = val_max_rgb
else:
val_max = 0
for i in range(-wd_tuple[0], wd_tuple[1] + 1):
for j in range(-wd_tuple[2], wd_tuple[3] + 1):
if (se[i + center[0]][j + center[1]]):
val_max = max(
val_max,
get_value(img_arr, img_shape, (x + i, y + j)))
res_arr[x][y] = val_max
return Image.fromarray(res_arr)
# 二值腐蚀-结构元 0,1 图像 0,255
def binary_erosion(img, se, center, bin_img):
wd_tuple = parse_binary_se(se, center)
if (wd_tuple == None):
raise TypeError('invalid se')
if (bin_img):
img_arr, img_type = parse_binary_image(img)
if (img_type != ImageType.GRAYSCALE):
raise TypeError('invalid image')
else:
img_arr, img_type = parse_image(img)
if (img_type == ImageType.INVALID):
raise TypeError('invalid image')
img_shape = img_arr.shape
res_arr = np.zeros(img_shape, dtype=np.uint8)
for x in range(img_shape[0]):
for y in range(img_shape[1]):
if (img_type == ImageType.COLOR):
val_max_rgb = np.full(3, 255, dtype=np.int32)
for i in range(-wd_tuple[0], wd_tuple[1] + 1):
for j in range(-wd_tuple[2], wd_tuple[3] + 1):
if (se[i + center[0]][j + center[1]]):
val_point = get_value(img_arr, img_shape,
(x + i, y + j))
for k in range(3):
val_max_rgb[k] = min(val_max_rgb[k],
val_point[k])
res_arr[x][y] = val_max_rgb
else:
val_max = 255
for i in range(-wd_tuple[0], wd_tuple[1] + 1):
for j in range(-wd_tuple[2], wd_tuple[3] + 1):
if (se[i + center[0]][j + center[1]]):
val_max = min(
val_max,
get_value(img_arr, img_shape, (x + i, y + j)))
res_arr[x][y] = val_max
return Image.fromarray(res_arr)
# 二值测地膨胀
def binary_geodesic_dilation(img_f, img_g, se, center, bin_img):
# img_f = img_f.convert('L')
# img_g = img_g.convert('L')
img_res = binary_dilation(img_f, se, center, bin_img)
return grayscale_image_min(img_res, img_g)
# 二值测地腐蚀
def binary_geodesic_erosion(img_f, img_g, se, center, bin_img):
# img_f = img_f.convert('L')
# img_g = img_g.convert('L')
img_res = binary_erosion(img_f, se, center, bin_img)
return grayscale_image_max(img_res, img_g)
# 灰度膨胀-结构元 0-255
def grayscale_dilation(img, se, center):
wd_tuple = parse_se(se, center)
if (wd_tuple == None):
raise TypeError('invalid se!')
img_arr, img_type = parse_image(img)
if (img_type == ImageType.INVALID):
raise TypeError('invalid image')
img_shape = img_arr.shape
res_arr = np.zeros(img_shape, dtype=np.uint8)
for x in range(img_shape[0]):
for y in range(img_shape[1]):
if (img_type == ImageType.COLOR):
val_max_rgb = np.zeros(3, dtype=np.int32)
for i in range(-wd_tuple[0], wd_tuple[1] + 1):
for j in range(-wd_tuple[2], wd_tuple[3] + 1):
val_point = get_value(img_arr, img_shape,
(x + i, y + j))
for k in range(3):
val_max_rgb[k] = max(
val_max_rgb[k], val_point[k] +
se[i + center[0]][j + center[1]])
for k in range(3):
res_arr[x][y][k] = min(val_max_rgb[k], 255)
else:
val_max = 0
for i in range(-wd_tuple[0], wd_tuple[1] + 1):
for j in range(-wd_tuple[2], wd_tuple[3] + 1):
val_max = max(
val_max,
get_value(img_arr, img_shape, (x + i, y + j)) +
se[i + center[0]][j + center[1]])
res_arr[x][y] = min(val_max, 255)
return Image.fromarray(res_arr)
# 灰度腐蚀-结构元 0-255
def grayscale_erosion(img, se, center):
wd_tuple = parse_se(se, center)
if (wd_tuple == None):
raise TypeError('invalid se')
img_arr, img_type = parse_image(img)
if (img_type == ImageType.INVALID):
raise TypeError('invalid image')
img_shape = img_arr.shape
res_arr = np.zeros(img_shape, dtype=np.uint8)
for x in range(img_shape[0]):
for y in range(img_shape[1]):
if (img_type == ImageType.COLOR):
val_min_rgb = np.full(3, 255, dtype=np.int32)
for i in range(-wd_tuple[0], wd_tuple[1] + 1):
for j in range(-wd_tuple[2], wd_tuple[3] + 1):
val_point = get_value(img_arr, img_shape,
(x + i, y + j))
for k in range(3):
val_min_rgb[k] = min(
val_min_rgb[k], val_point[k] -
se[i + center[0]][j + center[1]])
for k in range(3):
res_arr[x][y][k] = max(val_min_rgb[k], 0)
else:
val_min = 255
for i in range(-wd_tuple[0], wd_tuple[1] + 1):
for j in range(-wd_tuple[2], wd_tuple[3] + 1):
val_min = min(
val_min,
get_value(img_arr, img_shape, (x + i, y + j)) -
se[i + center[0]][j + center[1]])
res_arr[x][y] = max(val_min, 0)
return Image.fromarray(res_arr)
# 测地膨胀
def geodesic_dilation(img_f, img_g, se, center):
img_res = grayscale_dilation(img_f, se, center)
return grayscale_image_min(img_res, img_g)
# 测地腐蚀
def geodesic_erosion(img_f, img_g, se, center):
img_res = grayscale_erosion(img_f, se, center)
return grayscale_image_max(img_res, img_g)
| 41.247423 | 109 | 0.487128 | 1,084 | 8,002 | 3.349631 | 0.071033 | 0.077114 | 0.039659 | 0.061691 | 0.896447 | 0.863399 | 0.858992 | 0.852382 | 0.798953 | 0.760947 | 0 | 0.028357 | 0.40065 | 8,002 | 193 | 110 | 41.46114 | 0.728732 | 0.025619 | 0 | 0.764331 | 0 | 0 | 0.015676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050955 | false | 0 | 0.031847 | 0 | 0.133758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1aaf3f23e4b91383c141af30d311de63bac0759c | 124 | py | Python | src/apps/api/impl/urls.py | rko619619/Skidon | fe09d0d87edb973c0cb1f20478e398bc69899d1b | [
"Apache-2.0"
] | 3 | 2020-01-16T13:43:40.000Z | 2021-11-09T18:04:47.000Z | src/apps/api/impl/urls.py | tgrx/benzak | 77055889089776acb3f9b603852db512df808d15 | [
"Apache-2.0"
] | 7 | 2020-01-11T13:25:14.000Z | 2020-03-09T01:10:40.000Z | src/apps/api/impl/urls.py | rko619619/Skidon | fe09d0d87edb973c0cb1f20478e398bc69899d1b | [
"Apache-2.0"
] | 6 | 2019-10-06T20:36:43.000Z | 2022-01-15T22:15:12.000Z | from django.urls import include
from django.urls import path
urlpatterns = [path("v1/", include("apps.api.impl.v1.urls"))]
| 24.8 | 61 | 0.741935 | 19 | 124 | 4.842105 | 0.578947 | 0.217391 | 0.304348 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.104839 | 124 | 4 | 62 | 31 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 0.169355 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
644cbf91e811637d374cbc928497e64af74abab4 | 17,502 | py | Python | Miscellaneous_Tools/Manual_Tracking_Tool/Manual_Tree_Plotter_Tool_Function.py | The-Kristina/CellComp | 29ec7690e0d9adb1a6214937ca41fd1dadce18c6 | [
"CNRI-Python",
"RSA-MD",
"Xnet",
"Net-SNMP",
"X11"
] | 7 | 2019-05-13T10:07:44.000Z | 2022-03-01T16:20:48.000Z | Miscellaneous_Tools/Manual_Tracking_Tool/Manual_Tree_Plotter_Tool_Function.py | The-Kristina/CellComp | 29ec7690e0d9adb1a6214937ca41fd1dadce18c6 | [
"CNRI-Python",
"RSA-MD",
"Xnet",
"Net-SNMP",
"X11"
] | null | null | null | Miscellaneous_Tools/Manual_Tracking_Tool/Manual_Tree_Plotter_Tool_Function.py | The-Kristina/CellComp | 29ec7690e0d9adb1a6214937ca41fd1dadce18c6 | [
"CNRI-Python",
"RSA-MD",
"Xnet",
"Net-SNMP",
"X11"
] | 3 | 2020-04-23T18:13:20.000Z | 2020-11-11T18:46:48.000Z | # TODO: Automate this if you can:
# Currently, the script plots manually-entered cell tracking data onto a scatter plot.
# Note: This structure captures max. 4 full generations (fifth would have no room to be plotted).
# This is cell_ID #14 from '17_07_24' 'pos13' xml_file.
import matplotlib.pyplot as plt
def ManualTrackingTool(frames_divisions, root_ID, movie_length=1105, show=True):
""" Plot a scatter plot of manually-entered cell tracking data.
Args:
movie_length (integer) Default = 1105
-> length of the movie from which the cell originates
frames_divisions (list of integers)
-> list of frame number when divisions happened.
TO BE ORGANISED AS FOLLOWS:
Return:
None.
Visualises the plot if option turned on.
Notes:
"""
# Check if frame_divisions list (=argument) has a length of 31 (=captures all cells up to 5 generations):
if len(frames_divisions) != 31:
raise Exception("Warning, frame_divisions list is incomplete!\n"
"Length of {} while it should be 31!\n"
"Please input data for all generations up to gen#5 to proceed.\n"
"\tNote: Insert None (boolean, not string = 'None') if the cell did not undergo division event.")
# Make sure your None gets converted to the movie_length integer:
frm = [int(item) if item is not None else movie_length for item in frames_divisions]
# TODO: Incorporate the conditions for apoptosis / migration out of FOV:
color_list = ["dodgerblue", "darkorange", "forestgreen", "firebrick", "gold", "plum"]
# VERTICAL Lines:
# Gen#0:
plt.plot([0, 0], [1, frm[0]], color=color_list[0], marker="o")
# Gen#1:
if frm[0] != movie_length:
plt.plot([-34, -34], [frm[0] + 1, frm[1]], color=color_list[1], marker="o")
if frm[0] != movie_length:
plt.plot([34, 34], [frm[0] + 1, frm[2]], color=color_list[1], marker="o")
# Gen#2:
if frm[0] != movie_length and frm[1] != movie_length:
plt.plot([-50, -50], [frm[1] + 1, frm[3]], color=color_list[2], marker="o")
if frm[0] != movie_length and frm[1] != movie_length:
plt.plot([-18, -18], [frm[1] + 1, frm[4]], color=color_list[2], marker="o")
if frm[0] != movie_length and frm[2] != movie_length:
plt.plot([18, 18], [frm[2] + 1, frm[5]], color=color_list[2], marker="o")
if frm[0] != movie_length and frm[2] != movie_length:
plt.plot([50, 50], [frm[2] + 1, frm[6]], color=color_list[2], marker="o")
# Gen#3:
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length:
plt.plot([-58, -58], [frm[3] + 1, frm[7]], color=color_list[3], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length:
plt.plot([-42, -42], [frm[3] + 1, frm[8]], color=color_list[3], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length:
plt.plot([-26, -26], [frm[4] + 1, frm[9]], color=color_list[3], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length:
plt.plot([-10, -10], [frm[4] + 1, frm[10]], color=color_list[3], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length:
plt.plot([10, 10], [frm[5] + 1, frm[11]], color=color_list[3], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length:
plt.plot([26, 26], [frm[5] + 1, frm[12]], color=color_list[3], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length:
plt.plot([42, 42], [frm[6] + 1, frm[13]], color=color_list[3], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length:
plt.plot([58, 58], [frm[6] + 1, frm[14]], color=color_list[3], marker="o")
# Gen#4:
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[7] != movie_length:
plt.plot([-62, -62], [frm[7] + 1, frm[15]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[7] != movie_length:
plt.plot([-54, -54], [frm[7] + 1, frm[16]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[8] != movie_length:
plt.plot([-46, -46], [frm[8] + 1, frm[17]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[8] != movie_length:
plt.plot([-38, -38], [frm[8] + 1, frm[18]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[9] != movie_length:
plt.plot([-30, -30], [frm[9] + 1, frm[19]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[9] != movie_length:
plt.plot([-22, -22], [frm[9] + 1, frm[20]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[10] != movie_length:
plt.plot([-14, -14], [frm[10] + 1, frm[21]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[10] != movie_length:
plt.plot([-6, -6], [frm[10] + 1, frm[22]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[11] != movie_length:
plt.plot([6, 6], [frm[11] + 1, frm[23]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[11] != movie_length:
plt.plot([14, 14], [frm[11] + 1, frm[24]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[12] != movie_length:
plt.plot([22, 22], [frm[12] + 1, frm[25]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[12] != movie_length:
plt.plot([30, 30], [frm[12] + 1, frm[26]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[13] != movie_length:
plt.plot([38, 38], [frm[13] + 1, frm[27]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[13] != movie_length:
plt.plot([46, 46], [frm[13] + 1, frm[28]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[14] != movie_length:
plt.plot([54, 54], [frm[14] + 1, frm[29]], color=color_list[4], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[14] != movie_length:
plt.plot([62, 62], [frm[14] + 1, frm[30]], color=color_list[4], marker="o")
# Gen#5:
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[7] != movie_length and frm[15] != movie_length:
plt.plot([-64, -64], [frm[15] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[7] != movie_length and frm[15] != movie_length:
plt.plot([-60, -60], [frm[15] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[7] != movie_length and frm[16] != movie_length:
plt.plot([-56, -56], [frm[16] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[7] != movie_length and frm[16] != movie_length:
plt.plot([-52, -52], [frm[16] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[8] != movie_length and frm[17] != movie_length:
plt.plot([-48, -48], [frm[17] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[8] != movie_length and frm[17] != movie_length:
plt.plot([-44, -44], [frm[17] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[8] != movie_length and frm[18] != movie_length:
plt.plot([-40, -40], [frm[18] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[8] != movie_length and frm[18] != movie_length:
plt.plot([-36, -36], [frm[18] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[9] != movie_length and frm[19] != movie_length:
plt.plot([-32, -32], [frm[19] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[9] != movie_length and frm[19] != movie_length:
plt.plot([-28, -28], [frm[19] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[9] != movie_length and frm[20] != movie_length:
plt.plot([-24, -24], [frm[20] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[9] != movie_length and frm[20] != movie_length:
plt.plot([-20, -20], [frm[20] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[10] != movie_length and frm[21] != movie_length:
plt.plot([-16, -16], [frm[21] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[10] != movie_length and frm[21] != movie_length:
plt.plot([-12, -12], [frm[21] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[10] != movie_length and frm[22] != movie_length:
plt.plot([-8, -8], [frm[22] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[10] != movie_length and frm[22] != movie_length:
plt.plot([-4, -4], [frm[22] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[11] != movie_length and frm[23] != movie_length:
plt.plot([4, 4], [frm[23] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[11] != movie_length and frm[23] != movie_length:
plt.plot([8, 8], [frm[23] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[11] != movie_length and frm[24] != movie_length:
plt.plot([12, 12], [frm[24] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[3] != movie_length and frm[11] != movie_length and frm[24] != movie_length:
plt.plot([16, 16], [frm[24] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[12] != movie_length and frm[25] != movie_length:
plt.plot([20, 20], [frm[25] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[12] != movie_length and frm[25] != movie_length:
plt.plot([24, 24], [frm[25] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[12] != movie_length and frm[26] != movie_length:
plt.plot([28, 28], [frm[26] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[1] != movie_length and frm[4] != movie_length and frm[12] != movie_length and frm[26] != movie_length:
plt.plot([32, 32], [frm[26] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[13] != movie_length and frm[27] != movie_length:
plt.plot([36, 36], [frm[27] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[13] != movie_length and frm[27] != movie_length:
plt.plot([40, 40], [frm[27] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[13] != movie_length and frm[28] != movie_length:
plt.plot([44, 44], [frm[28] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[5] != movie_length and frm[13] != movie_length and frm[28] != movie_length:
plt.plot([48, 48], [frm[28] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[14] != movie_length and frm[29] != movie_length:
plt.plot([52, 52], [frm[29] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[14] != movie_length and frm[29] != movie_length:
plt.plot([56, 56], [frm[29] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[14] != movie_length and frm[30] != movie_length:
plt.plot([60, 60], [frm[30] + 1, movie_length], color=color_list[5], marker="o")
if frm[0] != movie_length and frm[2] != movie_length and frm[6] != movie_length and frm[14] != movie_length and frm[30] != movie_length:
plt.plot([64, 64], [frm[30] + 1, movie_length], color=color_list[5], marker="o")
# HORIZONTAL LINES:
# Gen#1:
if frm[0] != movie_length:
plt.plot([-34, 34], [frm[0], frm[0]], color="darkgrey", marker="o", markersize=5, zorder=1)
# Gen#2:
if frm[1] != movie_length:
plt.plot([-50, -18], [frm[1], frm[1]], color="darkgrey", marker="o", markersize=5, zorder=1)
if frm[2] != movie_length:
plt.plot([18, 50], [frm[2], frm[2]], color="darkgrey", marker="o", markersize=5, zorder=1)
# Gen#3:
if frm[3] != movie_length:
plt.plot([-58, -42], [frm[3], frm[3]], color="darkgrey", marker="o", markersize=5, zorder=1)
if frm[4] != movie_length:
plt.plot([-26, -10], [frm[4], frm[4]], color="darkgrey", marker="o", markersize=5, zorder=1)
if frm[5] != movie_length:
plt.plot([10, 26], [frm[5], frm[5]], color="darkgrey", marker="o", markersize=5, zorder=1)
if frm[6] != movie_length:
plt.plot([42, 58], [frm[6], frm[6]], color="darkgrey", marker="o", markersize=5, zorder=1)
# Gen#4:
if frm[7] != movie_length:
plt.plot([-62, -54], [frm[7], frm[7]], color="darkgrey", marker="o", markersize=5, zorder=1)
if frm[8] != movie_length:
plt.plot([-46, -38], [frm[8], frm[8]], color="darkgrey", marker="o", markersize=5, zorder=1)
if frm[9] != movie_length:
plt.plot([-30, -22], [frm[9], frm[9]], color="darkgrey", marker="o", markersize=5, zorder=1)
if frm[10] != movie_length:
plt.plot([-14, -6], [frm[10], frm[10]], color="darkgrey", marker="o", markersize=5, zorder=1)
if frm[11] != movie_length:
plt.plot([6, 14], [frm[11], frm[11]], color="darkgrey", marker="o", markersize=5, zorder=1)
if frm[12] != movie_length:
plt.plot([22, 30], [frm[12], frm[12]], color="darkgrey", marker="o", markersize=5, zorder=1)
if frm[13] != movie_length:
plt.plot([38, 46], [frm[13], frm[13]], color="darkgrey", marker="o", markersize=5, zorder=1)
if frm[14] != movie_length:
plt.plot([54, 62], [frm[14], frm[14]], color="darkgrey", marker="o", markersize=5, zorder=1)
# Gen#5:
# TODO: Update this!
# Other stuff:
plt.text(x=17, y=-15, s="Root ID #{}".format(root_ID), bbox=dict(facecolor=color_list[0], alpha=0.5),
horizontalalignment='center', verticalalignment='center')
plt.xlim(-75, 75)
plt.ylim(-75, movie_length + 75)
plt.ylabel("Absolute time [frames]")
plt.title("Semi-Automated Plotter - Manual Tracking; <'17_07_24' & 'pos13'>")
#plt.savefig("/Volumes/lowegrp/Data/Kristina/MDCK_90WT_10Sc_NoComp/17_07_24/pos13/manual_tracking/Manual_GenTree_CellID_{}.jpeg".format(root_ID), bbox_inches="tight")
plt.show()
plt.close()
# TODO: Feature requests:
# Legend - full line = CCT known
# - dashed line = root / leaf cell
# Leaf - non-filled marker dot
# Non-leaf - full marker dot
# TODO: DO NOT PLOT THE CELL UNTIL THE END OF THE MOVIE IF IT DIED (apoptosis) OR LEFT (out of field of view)
| 67.315385 | 170 | 0.618272 | 2,934 | 17,502 | 3.551806 | 0.083504 | 0.327224 | 0.263314 | 0.319739 | 0.802994 | 0.797044 | 0.787161 | 0.72709 | 0.72709 | 0.711352 | 0 | 0.075099 | 0.192778 | 17,502 | 259 | 171 | 67.57529 | 0.662514 | 0.084562 | 0 | 0.366279 | 0 | 0.005814 | 0.037356 | 0 | 0 | 0 | 0 | 0.007722 | 0 | 1 | 0.005814 | false | 0 | 0.005814 | 0 | 0.011628 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
64bd6baf751b372c09d480306f0d29c89338a87b | 1,561 | py | Python | build_object_library.py | GPT-RL/ycb-tools | 2a2a0da7e6a3b46926c1fb0fab21327a896555ad | [
"MIT"
] | null | null | null | build_object_library.py | GPT-RL/ycb-tools | 2a2a0da7e6a3b46926c1fb0fab21327a896555ad | [
"MIT"
] | null | null | null | build_object_library.py | GPT-RL/ycb-tools | 2a2a0da7e6a3b46926c1fb0fab21327a896555ad | [
"MIT"
] | null | null | null | import os
import sys
from object2urdf import ObjectUrdfBuilder
# # Build single URDFs
# object_folder = "basketball"
# builder = ObjectUrdfBuilder(object_folder, urdf_prototype='_prototype_ball.urdf')
# builder.build_urdf(filename="basketball/ball/basketball_corrected.obj", force_overwrite=True, decompose_concave=True, force_decompose=False, center = 'mass')
# builder = ObjectUrdfBuilder(object_folder, urdf_prototype='_prototype_hoop.urdf')
# builder.build_urdf(filename="basketball/hoop/basketball_net_and_board.obj", force_overwrite=True, decompose_concave=True, force_decompose=False, center = 'bottom')
# builder = ObjectUrdfBuilder(object_folder, urdf_prototype='_prototype_hoop.urdf')
# builder.build_urdf(filename="basketball/hoop_no_net/basketball_net_and_board.obj", force_overwrite=True, decompose_concave=True, force_decompose=False, center = 'bottom')
# builder = ObjectUrdfBuilder(object_folder, urdf_prototype='_prototype_hoop.urdf')
# builder.build_urdf(filename="basketball/hoop_no_net_simple/basketball_net_and_board.obj", force_overwrite=True, decompose_concave=True, force_decompose=False, center = 'bottom')
# Build entire libraries of URDFs
object_folder = "models/ycb"
builder = ObjectUrdfBuilder(object_folder)
builder.build_library(force_overwrite=True, decompose_concave=True, force_decompose=False, center = 'top')
# object_folder = "fancy_cube"
# builder = ObjectUrdfBuilder(object_folder)
# builder.build_library(force_overwrite=True, decompose_concave=True, force_decompose=False, center = 'mass')#! /usr/bin/env python
| 53.827586 | 179 | 0.820628 | 194 | 1,561 | 6.28866 | 0.242268 | 0.088525 | 0.147541 | 0.177049 | 0.82541 | 0.82541 | 0.794262 | 0.746721 | 0.746721 | 0.746721 | 0 | 0.00069 | 0.071749 | 1,561 | 28 | 180 | 55.75 | 0.84127 | 0.819347 | 0 | 0 | 0 | 0 | 0.04943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
64bd93e06487e0be77ac286a9e4aaff15242e918 | 3,435 | py | Python | tests/test_install_game.py | kamzab95/galaxy-integration-uplay | c4bad8ae24bbef00b285f66c8e893c1dcaf6f8ce | [
"MIT"
] | 81 | 2019-06-27T07:04:01.000Z | 2022-03-30T19:26:39.000Z | tests/test_install_game.py | fl4shback/galaxy-integration-uplay | f35e4832abc2bec20faf7aec19c936c9defb71fc | [
"MIT"
] | 35 | 2019-08-21T14:21:16.000Z | 2022-03-27T18:31:46.000Z | tests/test_install_game.py | fl4shback/galaxy-integration-uplay | f35e4832abc2bec20faf7aec19c936c9defb71fc | [
"MIT"
] | 17 | 2019-07-11T19:15:41.000Z | 2022-03-23T09:23:08.000Z | import asyncio
import unittest.mock as mock
import sys
from tests.conftest import NewGame
from tests.async_mock import AsyncMock
if sys.platform == 'win32':
def test_install_game_space_id(create_authenticated_plugin):
loop = asyncio.get_event_loop()
pg = create_authenticated_plugin()
new_game = NewGame()
new_game.status = "NotInstalled"
pg.user_can_perform_actions.return_value = True
pg.games_collection = [new_game]
pg.open_uplay_client = mock.create_autospec(pg.open_uplay_client)
with mock.patch("plugin.subprocess.Popen") as pop:
loop.run_until_complete(pg.install_game("123"))
pop.assert_called_with(f"start uplay://install/{new_game.launch_id}", shell=True)
pg.open_uplay_client.assert_not_called()
def test_install_game_launch_id(create_authenticated_plugin):
loop = asyncio.get_event_loop()
pg = create_authenticated_plugin()
new_game = NewGame()
new_game.status = "NotInstalled"
pg.user_can_perform_actions.return_value = True
pg.games_collection = [new_game]
pg.open_uplay_client = mock.create_autospec(pg.open_uplay_client)
with mock.patch("plugin.subprocess.Popen") as pop:
loop.run_until_complete(pg.install_game("321"))
pop.assert_called_with(f"start uplay://install/{new_game.launch_id}", shell=True)
pg.open_uplay_client.assert_not_called()
def test_install_game_game_installed(create_authenticated_plugin):
loop = asyncio.get_event_loop()
pg = create_authenticated_plugin()
new_game = NewGame()
new_game.status = "Installed"
pg.user_can_perform_actions.return_value = True
pg.games_collection = [new_game]
pg.open_uplay_client = mock.create_autospec(pg.open_uplay_client)
pg.launch_game = AsyncMock(return_value=None)
with mock.patch("plugin.subprocess.Popen") as pop:
loop.run_until_complete(pg.install_game("321"))
pop.assert_not_called()
pg.launch_game.asert_called()
def test_install_game_empty_collection(create_authenticated_plugin):
loop = asyncio.get_event_loop()
pg = create_authenticated_plugin()
new_game = NewGame()
new_game.status = "NotInstalled"
pg.user_can_perform_actions.return_value = True
pg.games_collection = []
pg.open_uplay_client = mock.create_autospec(pg.open_uplay_client)
with mock.patch("plugin.subprocess.Popen") as pop:
loop.run_until_complete(pg.install_game("321"))
pop.assert_not_called()
pg.open_uplay_client.assert_called()
def test_install_game_cant_perform(create_authenticated_plugin):
loop = asyncio.get_event_loop()
pg = create_authenticated_plugin()
new_game = NewGame()
new_game.status = "NotInstalled"
pg.user_can_perform_actions.return_value = False
pg.games_collection = [new_game]
pg.open_uplay_client = mock.create_autospec(pg.open_uplay_client)
with mock.patch("plugin.subprocess.Popen") as pop:
loop.run_until_complete(pg.install_game("321"))
pop.assert_not_called()
pg.open_uplay_client.assert_not_called()
| 31.513761 | 94 | 0.669578 | 426 | 3,435 | 5.016432 | 0.157277 | 0.05241 | 0.072064 | 0.111371 | 0.87693 | 0.854469 | 0.854469 | 0.850257 | 0.850257 | 0.850257 | 0 | 0.006536 | 0.242795 | 3,435 | 108 | 95 | 31.805556 | 0.815071 | 0 | 0 | 0.731343 | 0 | 0 | 0.082958 | 0.056207 | 0 | 0 | 0 | 0 | 0.134328 | 1 | 0.074627 | false | 0 | 0.074627 | 0 | 0.149254 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b3cea7deb8e1aa3b0157b1a0571823a9f668c531 | 229 | py | Python | exceptions_ImportError_missingname.py | lmokto/allexceptions | 4cdbda52ea00d8022240530649ea85557c1621b2 | [
"MIT"
] | null | null | null | exceptions_ImportError_missingname.py | lmokto/allexceptions | 4cdbda52ea00d8022240530649ea85557c1621b2 | [
"MIT"
] | null | null | null | exceptions_ImportError_missingname.py | lmokto/allexceptions | 4cdbda52ea00d8022240530649ea85557c1621b2 | [
"MIT"
] | null | null | null | from exceptions import MadeUpName
'''
File "/Users/joseuranga/Desktop/exceptions/exceptions_ImportError_missingname.py", line 1, in <module>
from exceptions import MadeUpName
ImportError: cannot import name MadeUpName
'''
| 28.625 | 104 | 0.79476 | 26 | 229 | 6.923077 | 0.653846 | 0.155556 | 0.222222 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.122271 | 229 | 7 | 105 | 32.714286 | 0.890547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b6066fd1c739da9b70cb2f35c00db7b2969f862b | 9,384 | py | Python | shoppingspider/dangdangspider.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2019-05-19T11:54:26.000Z | 2019-05-19T12:03:49.000Z | shoppingspider/dangdangspider.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 1 | 2020-11-27T07:55:15.000Z | 2020-11-27T07:55:15.000Z | shoppingspider/dangdangspider.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2021-09-06T18:06:12.000Z | 2021-12-31T07:44:43.000Z | """
当当网爬虫
"""
import re
import requests
from bs4 import BeautifulSoup
class DangDang(object):
def __init__(self) -> None:
super().__init__()
self.ha = requests.session()
def cookielogin(self):
"""
docstring
"""
url = "http://myhome.dangdang.com/"
headers = {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"Accept-Encoding": "gzip, deflate",
"Accept-Language": "zh-CN,zh;q=0.9",
"Cache-Control": "no-cache",
"Cookie": 'ddscreen=2; __permanent_id=20210113094803223398217227175634934; __visit_id=20210113094803273227981310211143566; __out_refer=; permanent_key=20210113095520189604544616efff2a; smidV2=20210113095531d61fa7f77301220ac3cc3c6c56f9380400c0f10e74700a360; __dd_token_id=20210113095602962427463568712b30; USERNUM=n1W2rYKcbL0BldFpczSh4A==; login.dangdang.com=.AYH=20210113094833013328747&.ASPXAUTH=2MvACGkGDerTn5Tp8rsE8w27R5p2zF4WK4BEzGX3p46P5QNIpmpS2g==; dangdang.com=email=MTgxNjEyMjQxMzIxMjk1MkBkZG1vYmlscGhvbmVfX3VzZXIuY29t&nickname=&display_id=4071040261431&customerid=6R+EN/yZRafn31Eyjzu5AQ==&viptype=sNyzpZWFNdo=&show_name=181%2A%2A%2A%2A4132; ddoy=email=1816122413212952%40ddmobilphone__user.com&nickname=&agree_date=1&validatedflag=0&uname=18161224132&utype=&.ALFG=off&.ALTM=1610502962; sessionID=pc_b084a0c81923c300b61e722941b6c91a16601ec28310ae7e41c4d3ee40c0d69; MDD_username=linmeng123456; MDD_custId=M0vuoXP4YTvmLgAHUO1CBA%3D%3D; MDD_channelId=70000; MDD_fromPlatform=307; deal_token=1c76501fc0a15b303132409f76850f4521becd1d3c2dec6a67a0bb4e7511dd5a65ea0e55dab9927ccb; dest_area=country_id%3D9000%26province_id%3D111%26city_id%3D1%26district_id%3D1110101%26town_id%3D1110101; pos_1_start=1610503125891; pos_1_end=1610503126292; __rpm=mix_317715...1610503343344%7Cmix_317715...1610504311215; LOGIN_TIME=1610504312980; __trace_id=20210113101832997221506507002136995; _twitter_sess=BAh7CiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7ADoPY3JlYXRlZF9hdGwrCGsaIKtrAToMY3NyZl9p%250AZCIlNzIyZDlhODdlMTVjYjU3MTRkYTBlY2Y4NGQ5MDQzMjQ6B2lkIiVjZTgw%250ANDQ0ZmIyOTAyY2U0MjQ0NjI4ZTFmNjU0MjgwOToJdXNlcmwrCQHglUis2NwN--8ae08c231e9599f1c5868e6518664b987d936c79; personalization_id="v1_DWS0pDCpXtGGNYQxXPYQXQ=="; guest_id=v1%3A156620567551494069',
"Host": "myhome.dangdang.com",
"Pragma": "no-cache",
"Proxy-Connection": "keep-alive",
"Referer": "http://www.dangdang.com/",
"Upgrade-Insecure-Requests": "1",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36",
}
response = self.ha.get(url, headers=headers)
text = response.text
soup = BeautifulSoup(text, "html.parser")
tilte = soup.title.text
if tilte == "我的当当":
print("登陆成功")
else:
print("登陆失败")
def get_profile(self):
"""
docstring
"""
url = "http://info.safe.dangdang.com/Myarchives.php"
headers = {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"Accept-Encoding": "gzip, deflate",
"Accept-Language": "zh-CN,zh;q=0.9",
"Cache-Control": "no-cache",
"Connection": "keep-alive",
"Cookie": 'ddscreen=2; __permanent_id=20210113094803223398217227175634934; permanent_key=20210113095520189604544616efff2a; smidV2=20210113095531d61fa7f77301220ac3cc3c6c56f9380400c0f10e74700a360; __dd_token_id=20210113095602962427463568712b30; USERNUM=n1W2rYKcbL0BldFpczSh4A==; login.dangdang.com=.AYH=20210113094833013328747&.ASPXAUTH=2MvACGkGDerTn5Tp8rsE8w27R5p2zF4WK4BEzGX3p46P5QNIpmpS2g==; dangdang.com=email=MTgxNjEyMjQxMzIxMjk1MkBkZG1vYmlscGhvbmVfX3VzZXIuY29t&nickname=&display_id=4071040261431&customerid=6R+EN/yZRafn31Eyjzu5AQ==&viptype=sNyzpZWFNdo=&show_name=181%2A%2A%2A%2A4132; ddoy=email=1816122413212952%40ddmobilphone__user.com&nickname=&agree_date=1&validatedflag=0&uname=18161224132&utype=&.ALFG=off&.ALTM=1610502962; sessionID=pc_b084a0c81923c300b61e722941b6c91a16601ec28310ae7e41c4d3ee40c0d69; MDD_username=linmeng123456; MDD_custId=M0vuoXP4YTvmLgAHUO1CBA%3D%3D; MDD_channelId=70000; MDD_fromPlatform=307; deal_token=1c76501fc0a15b303132409f76850f4521becd1d3c2dec6a67a0bb4e7511dd5a65ea0e55dab9927ccb; dest_area=country_id%3D9000%26province_id%3D111%26city_id%3D1%26district_id%3D1110101%26town_id%3D1110101; pos_1_start=1610503125891; pos_1_end=1610503126292; __visit_id=20210113141826582231466915071218244; __out_refer=; LOGIN_TIME=1610518708294; __trace_id=20210113141853873294882452216829804; __rpm=...1610518706589%7C...1610518733878; _twitter_sess=BAh7CiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7ADoPY3JlYXRlZF9hdGwrCGsaIKtrAToMY3NyZl9p%250AZCIlNzIyZDlhODdlMTVjYjU3MTRkYTBlY2Y4NGQ5MDQzMjQ6B2lkIiVjZTgw%250ANDQ0ZmIyOTAyY2U0MjQ0NjI4ZTFmNjU0MjgwOToJdXNlcmwrCQHglUis2NwN--8ae08c231e9599f1c5868e6518664b987d936c79; personalization_id="v1_DWS0pDCpXtGGNYQxXPYQXQ=="; guest_id=v1%3A156620567551494069',
"Host": "info.safe.dangdang.com",
"Pragma": "no-cache",
"Referer": "http://myhome.dangdang.com/",
"Upgrade-Insecure-Requests": "1",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36",
}
response = requests.get(url, headers=headers)
response.encoding = "GBK"
text = response.text
soup = BeautifulSoup(text, "html.parser")
p_div = soup.find(
"div", attrs={"class": "account_right", "id": "your_position"}
)
# 唯一的昵称
nameinfo_div = p_div.find("div", attrs={"class": "edit_message1"})
name_div = nameinfo_div.find("input", attrs={"name": "Txt_petname"})
name = name_div.get("value")
# 居住地
loc_info_div = p_div.find(
"div", attrs={"id": "area_div", "class": "mesage_list"}
)
pass
def get_orders(self):
"""
docstring
"""
# 初始页
page = 1
# while True:
url = f"http://myhome.dangdang.com/myOrder/list?searchType=1&statusCondition=0&timeCondition=0&page_current={page}"
headers = {
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate",
"Accept-Language": "zh-CN,zh;q=0.9",
"Cache-Control": "no-cache",
"Connection": "keep-alive",
"Cookie": 'ddscreen=2; __permanent_id=20210113094803223398217227175634934; permanent_key=20210113095520189604544616efff2a; smidV2=20210113095531d61fa7f77301220ac3cc3c6c56f9380400c0f10e74700a360; __dd_token_id=20210113095602962427463568712b30; USERNUM=n1W2rYKcbL0BldFpczSh4A==; login.dangdang.com=.AYH=20210113094833013328747&.ASPXAUTH=2MvACGkGDerTn5Tp8rsE8w27R5p2zF4WK4BEzGX3p46P5QNIpmpS2g==; dangdang.com=email=MTgxNjEyMjQxMzIxMjk1MkBkZG1vYmlscGhvbmVfX3VzZXIuY29t&nickname=&display_id=4071040261431&customerid=6R+EN/yZRafn31Eyjzu5AQ==&viptype=sNyzpZWFNdo=&show_name=181%2A%2A%2A%2A4132; ddoy=email=1816122413212952%40ddmobilphone__user.com&nickname=&agree_date=1&validatedflag=0&uname=18161224132&utype=&.ALFG=off&.ALTM=1610502962; sessionID=pc_b084a0c81923c300b61e722941b6c91a16601ec28310ae7e41c4d3ee40c0d69; MDD_username=linmeng123456; MDD_custId=M0vuoXP4YTvmLgAHUO1CBA%3D%3D; MDD_channelId=70000; MDD_fromPlatform=307; dest_area=country_id%3D9000%26province_id%3D111%26city_id%3D1%26district_id%3D1110101%26town_id%3D1110101; pos_1_start=1610503125891; pos_1_end=1610503126292; __visit_id=20210113161121429229768897885402514; __out_refer=; LOGIN_TIME=1610525482269; pos_6_start=1610525529382; pos_6_end=1610525529721; deal_token=1a766012c0915832d15545ef31165842d8921527c75f1b6c8a24d03ecef348a73a3b379495a818bfbb; __trace_id=20210113161329655195456530245415831; __rpm=...1610525550319%7C...1610525609659; _twitter_sess=BAh7CiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7ADoPY3JlYXRlZF9hdGwrCGsaIKtrAToMY3NyZl9p%250AZCIlNzIyZDlhODdlMTVjYjU3MTRkYTBlY2Y4NGQ5MDQzMjQ6B2lkIiVjZTgw%250ANDQ0ZmIyOTAyY2U0MjQ0NjI4ZTFmNjU0MjgwOToJdXNlcmwrCQHglUis2NwN--8ae08c231e9599f1c5868e6518664b987d936c79; personalization_id="v1_DWS0pDCpXtGGNYQxXPYQXQ=="; guest_id=v1%3A156620567551494069',
"Host": "myhome.dangdang.com",
"Pragma": "no-cache",
"Referer": "http://myhome.dangdang.com/myOrder",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36",
"X-Requested-With": "XMLHttpRequest",
}
response = self.ha.get(url, headers=headers)
text = response.text
re_info = re.compile("var info=eval\((\{.+?\})\);")
info_res = re_info.search(text)
if info_res:
orderjson = info_res.group(1)
print(orderjson)
with open("./order,txt", "w", encoding="utf-8") as fp:
fp.write(orderjson)
if __name__ == "__main__":
dd = DangDang()
# dd.get_profile()
dd.cookielogin()
dd.get_orders()
| 82.315789 | 1,817 | 0.747762 | 899 | 9,384 | 7.599555 | 0.302558 | 0.024151 | 0.003074 | 0.012295 | 0.783519 | 0.778396 | 0.763905 | 0.763905 | 0.752488 | 0.752488 | 0 | 0.253853 | 0.135656 | 9,384 | 113 | 1,818 | 83.044248 | 0.58846 | 0.008419 | 0 | 0.375 | 0 | 0.102273 | 0.754011 | 0.590633 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0.011364 | 0.034091 | 0 | 0.090909 | 0.034091 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
37332cebe9ee054fbf3b0003c7f01ce778f91534 | 10,451 | py | Python | maze_env.py | luwis93choi/RL-Random_Maze_Solver | 355e8d509129f56717931792976e89bc03d12a0b | [
"MIT"
] | 1 | 2021-04-08T14:11:51.000Z | 2021-04-08T14:11:51.000Z | maze_env.py | luwis93choi/RL-Random_Maze_Solver | 355e8d509129f56717931792976e89bc03d12a0b | [
"MIT"
] | null | null | null | maze_env.py | luwis93choi/RL-Random_Maze_Solver | 355e8d509129f56717931792976e89bc03d12a0b | [
"MIT"
] | null | null | null | import turtle as t
import random
import numpy as np
import copy
from maze_drawer import Maze_drawer
from maze_generator import Maze_generator
import time
import cv2 as cv
import math
class Maze():
def __init__(self, height, width, detection_range=2, obstacle_occupancy_prob=0.3):
# Init Maze with random 0 and 1 distribution
self.height = height
self.width = width
# Init Agent's starting point
self.curr_agent_pose = [0, 0]
self.prev_point_val = 0
# Init Target point
self.target_pose = [self.height-1, self.width-1]
# Build random maze based on occupancy probability
self.obstacle_occupancy_prob = obstacle_occupancy_prob
self.maze_generator = Maze_generator(height=self.height, width=self.width, agent_pose=self.curr_agent_pose, target_pose=self.target_pose, obstacle_occupancy_prob=self.obstacle_occupancy_prob) # Generate valid maze using A star
self.maze, self.curr_agent_pose, self.target_pose, self.optimal_path = self.maze_generator.generate()
# Draw the maze
self.maze_drawer = Maze_drawer(self.maze)
# Init empty local map
self.local_map = 0.5 * np.ones([self.maze.shape[0], self.maze.shape[1]])
self.local_map[self.curr_agent_pose[0], self.curr_agent_pose[1]] = 1
self.local_map[self.target_pose[0], self.target_pose[1]] = 2
# Build initial local map
self.detection_range = detection_range
for i in range(-1 * (self.detection_range), self.detection_range + 1):
for j in range(-1 * (self.detection_range), self.detection_range + 1):
if (i == 0) and (j == 0):
self.local_map[self.curr_agent_pose[0] + i][self.curr_agent_pose[1] + j] = 1
elif self.within_bounds(self.curr_agent_pose[0] + i, 0, self.maze.shape[0]) and self.within_bounds(self.curr_agent_pose[1] + j, 0, self.maze.shape[1]):
if self.maze[self.curr_agent_pose[0] + i][self.curr_agent_pose[1] + j] == 3:
self.local_map[self.curr_agent_pose[0] + i][self.curr_agent_pose[1] + j] = 3
self.reward = 0.0
self.done = 0
self.collision_count = 0
self.dy = abs(self.target_pose[0] - self.curr_agent_pose[0])
self.dx = abs(self.target_pose[1] - self.curr_agent_pose[1])
self.shortest_dy = self.dy
self.shortest_dx = self.dx
states = self.local_map.flatten()
self.maze_drawer.update_maze(self.local_map, curr_pose=self.curr_agent_pose)
def reset(self):
# Init Agent's starting point
self.curr_agent_pose = [0, 0]
self.prev_point_val = 0
# Init Target point
self.target_pose = [self.height-1, self.width-1]
# Build random maze based on occupancy probability
self.maze_generator = Maze_generator(height=self.height, width=self.width, agent_pose=self.curr_agent_pose, target_pose=self.target_pose, obstacle_occupancy_prob=self.obstacle_occupancy_prob) # Generate valid maze using A star
self.maze, self.curr_agent_pose, self.target_pose, self.optimal_path = self.maze_generator.generate()
# Init empty local map
self.local_map = 0.5 * np.ones([self.maze.shape[0], self.maze.shape[1]])
self.local_map[self.curr_agent_pose[0], self.curr_agent_pose[1]] = 1
self.local_map[self.target_pose[0], self.target_pose[1]] = 2
# Build initial local map
for i in range(-1 * (self.detection_range), self.detection_range + 1):
for j in range(-1 * (self.detection_range), self.detection_range + 1):
if (i == 0) and (j == 0):
self.local_map[self.curr_agent_pose[0] + i][self.curr_agent_pose[1] + j] = 1
elif self.within_bounds(self.curr_agent_pose[0] + i, 0, self.maze.shape[0]) and self.within_bounds(self.curr_agent_pose[1] + j, 0, self.maze.shape[1]):
if self.maze[self.curr_agent_pose[0] + i][self.curr_agent_pose[1] + j] == 3:
self.local_map[self.curr_agent_pose[0] + i][self.curr_agent_pose[1] + j] = 3
self.reward = 0.0
self.done = 0
self.collision_count = 0
states = self.local_map.flatten()
self.maze_drawer.update_maze(self.local_map, curr_pose=self.curr_agent_pose)
return states
def within_bounds(self, value, low, high):
return (low <= value) and (value <= high)
def maze_update(self, dheight=0, dwidth=0):
skip = False
if self.within_bounds(self.curr_agent_pose[0] + dheight, 0, self.maze.shape[0]) is False:
# self.reward += math.sqrt((self.height - self.dy)**2 + (self.width - self.dx)**2)
self.reward += -10
# self.done = 1
self.collision_count += 1
skip = True
self.maze_drawer.update_maze(self.local_map, curr_pose=self.curr_agent_pose)
elif self.within_bounds(self.curr_agent_pose[1] + dwidth, 0, self.maze.shape[1]) is False:
# self.reward += math.sqrt((self.height - self.dy)**2 + (self.width - self.dx)**2)
self.reward += -10
# self.done = 1
self.collision_count += 1
skip = True
self.maze_drawer.update_maze(self.local_map, curr_pose=self.curr_agent_pose)
elif self.maze[self.curr_agent_pose[0] + dheight][self.curr_agent_pose[1] + dwidth] >= 3:
# self.reward += math.sqrt((self.height - self.dy)**2 + (self.width - self.dx)**2)
# self.local_map[self.curr_agent_pose[0] + dheight][self.curr_agent_pose[1] + dwidth] += 1
# self.reward += (-10 - 0.001 * self.local_map[self.curr_agent_pose[0] + dheight][self.curr_agent_pose[1] + dwidth])
self.reward += -10
# self.done = 1
self.collision_count += 1
skip = True
self.maze_drawer.update_maze(self.local_map, curr_pose=self.curr_agent_pose)
# if self.collision_count >= 20:
# self.done = 1
# skip = True
if skip: return
prev_agent_pose = copy.deepcopy(self.curr_agent_pose)
self.curr_agent_pose[0] += dheight
self.curr_agent_pose[1] += dwidth
self.maze[prev_agent_pose[0]][prev_agent_pose[1]] = 0
self.local_map[prev_agent_pose[0]][prev_agent_pose[1]] = 0
self.local_map[prev_agent_pose[0]][prev_agent_pose[1]] = self.prev_point_val
self.prev_point_val = self.local_map[self.curr_agent_pose[0]][self.curr_agent_pose[1]] - 1.0
self.dy = abs(self.target_pose[0] - self.curr_agent_pose[0])
self.dx = abs(self.target_pose[1] - self.curr_agent_pose[1])
if self.maze[self.curr_agent_pose[0]][self.curr_agent_pose[1]] == 0:
if self.local_map[self.curr_agent_pose[0]][self.curr_agent_pose[1]] == 0.5:
self.reward += math.sqrt((self.height - self.dy)**2 + (self.width - self.dx)**2)
elif self.local_map[self.curr_agent_pose[0]][self.curr_agent_pose[1]] < 0.5:
self.reward += self.local_map[self.curr_agent_pose[0]][self.curr_agent_pose[1]]
self.maze[self.curr_agent_pose[0]][self.curr_agent_pose[1]] = 1
self.local_map[self.curr_agent_pose[0]][self.curr_agent_pose[1]] = 1
# self.local_map[self.curr_agent_pose[0]][self.curr_agent_pose[1]] = 0
self.maze_drawer.update_maze(self.local_map, curr_pose=self.curr_agent_pose)
def step(self, action):
self.reward = 0.0
self.done = 0
success = False
if action == 0:
self.maze_update(dheight = 0, dwidth = 1)
self.reward += -0.01
elif action == 1:
self.maze_update(dheight = 0, dwidth = -1)
self.reward += -0.01
elif action == 2:
self.maze_update(dheight = 1, dwidth = 0)
self.reward += -0.01
elif action == 3:
self.maze_update(dheight = 1, dwidth = 1)
self.reward += -0.01
elif action == 4:
self.maze_update(dheight = 1, dwidth = -1)
self.reward += -0.01
elif action == 5:
self.maze_update(dheight = -1, dwidth = 0)
self.reward += -0.01
elif action == 6:
self.maze_update(dheight = -1, dwidth = 1)
self.reward += -0.01
elif action == 7:
self.maze_update(dheight = -1, dwidth = -1)
self.reward += -0.01
# Primary Success Reward
if ((self.target_pose[0] - self.curr_agent_pose[0]) <= 1) and ((self.target_pose[1] - self.curr_agent_pose[1]) <= 1):
self.done = 1
self.reward += 1000
success = True
self.maze_drawer.update_maze(self.local_map, curr_pose=self.curr_agent_pose)
for i in range(-1 * (self.detection_range), self.detection_range + 1):
for j in range(-1 * (self.detection_range), self.detection_range + 1):
if (i == 0) and (j == 0):
self.local_map[self.curr_agent_pose[0] + i][self.curr_agent_pose[1] + j] = 1
elif self.within_bounds(self.curr_agent_pose[0] + i, 0, self.maze.shape[0]) and self.within_bounds(self.curr_agent_pose[1] + j, 0, self.maze.shape[1]):
if self.maze[self.curr_agent_pose[0] + i][self.curr_agent_pose[1] + j] == 3:
if self.local_map[self.curr_agent_pose[0] + i][self.curr_agent_pose[1] + j] < 3:
self.local_map[self.curr_agent_pose[0] + i][self.curr_agent_pose[1] + j] = 3
states = self.local_map.flatten()
# reward_range = np.array(list(range(-30, 10000)))
# est_reward_mean = reward_range.mean()
# est_reward_std = reward_range.std()
# est_reward_max = reward_range.max()
# est_reward_min =reward_range.min()
# # self.reward = (self.reward - est_reward_mean) / est_reward_std
# self.reward = (self.reward - est_reward_min) / (est_reward_max - est_reward_min)
# # print('Min-Max Reward : {}'.format(self.reward))
# print(states)
return states, self.reward, self.done, success
| 39.737643 | 239 | 0.601569 | 1,515 | 10,451 | 3.922772 | 0.077888 | 0.128723 | 0.166246 | 0.217399 | 0.830389 | 0.812553 | 0.798418 | 0.79337 | 0.782601 | 0.770486 | 0 | 0.035328 | 0.274136 | 10,451 | 262 | 240 | 39.889313 | 0.748089 | 0.138838 | 0 | 0.535211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035211 | false | 0 | 0.06338 | 0.007042 | 0.126761 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.