Public Member Functions | |
def | save (self) |
このローカルオブジェクトに現在設定されているリソース情報をAPIに送信し、新規作成または上書き保存します。 More... | |
def | reload (self) |
最新のリソース情報を再取得します。 More... | |
def | __init__ |
def | add_ipv6_net (self) |
このルータ+スイッチでIPv6アドレスを有効にします。 More... | |
def | remove_ipv6_net (self) |
このルータ+スイッチでIPv6アドレスを無効にします。 More... | |
def | add_static_route (self, maskLen, nextHop) |
このルータ+スイッチにスタティックルートを追加します。 More... | |
def | remove_static_route (self, ipv4Net) |
このルータ+スイッチからスタティックルートを削除します。 More... | |
def | change_plan (self, bandWidthMbps) |
このルータ+スイッチの帯域プランを変更します。 More... | |
def | connect_to_bridge (self, bridge) |
このルータ+スイッチをブリッジに接続します。 More... | |
def | disconnect_from_bridge (self) |
このルータ+スイッチをブリッジから切断します。 More... | |
def | collect_used_ipv4_addresses (self) |
このルータ+スイッチに接続中のインタフェースに割り当てられているIPアドレスを収集します。 More... | |
def | collect_unused_ipv4_addresses (self) |
このルータ+スイッチで利用できる未使用のIPアドレスを収集します。 More... | |
def | get_id (self) |
(This method is generated in Translator_default::buildImpl) More... | |
def | get_name (self) |
(This method is generated in Translator_default::buildImpl) More... | |
def | set_name (self, v) |
(This method is generated in Translator_default::buildImpl) More... | |
def | get_description (self) |
(This method is generated in Translator_default::buildImpl) More... | |
def | set_description (self, v) |
(This method is generated in Translator_default::buildImpl) More... | |
def | get_tags (self) |
(This method is generated in Translator_default::buildImpl) More... | |
def | set_tags (self, v) |
(This method is generated in Translator_default::buildImpl) More... | |
def | get_icon (self) |
(This method is generated in Translator_default::buildImpl) More... | |
def | set_icon (self, v) |
(This method is generated in Translator_default::buildImpl) More... | |
def | get_user_default_route (self) |
(This method is generated in Translator_default::buildImpl) More... | |
def | get_user_mask_len (self) |
(This method is generated in Translator_default::buildImpl) More... | |
def | get_router (self) |
(This method is generated in Translator_default::buildImpl) More... | |
def | get_bridge (self) |
(This method is generated in Translator_default::buildImpl) More... | |
def | get_ipv4_nets (self) |
(This method is generated in Translator_default::buildImpl) More... | |
def | get_ipv6_nets (self) |
(This method is generated in Translator_default::buildImpl) More... | |
def | api_deserialize_impl (self, r) |
(This method is generated in Translator_default::buildImpl) More... | |
def | api_serialize_impl |
Properties | |
id = property(get_id, None, None) | |
ID. | |
name = property(get_name, set_name, None) | |
名前 | |
description = property(get_description, set_description, None) | |
説明 | |
tags = property(get_tags, set_tags, None) | |
タグ文字列の配列 | |
icon = property(get_icon, set_icon, None) | |
アイコン | |
user_default_route = property(get_user_default_route, None, None) | |
ユーザ設定IPv4ネットワークのゲートウェイ | |
user_mask_len = property(get_user_mask_len, None, None) | |
ユーザ設定IPv4ネットワークのマスク長 | |
router = property(get_router, None, None) | |
接続されているルータ | |
bridge = property(get_bridge, None, None) | |
接続されているブリッジ | |
ipv4_nets = property(get_ipv4_nets, None, None) | |
IPv4ネットワーク(ルータによる自動割当) Ipv4Net の配列 | |
ipv6_nets = property(get_ipv6_nets, None, None) | |
IPv6ネットワーク(ルータによる自動割当) Ipv6Net の配列 | |
def saklient.cloud.resources.swytch.Swytch.__init__ | ( | self, | |
client, | |||
obj, | |||
wrapped = False |
|||
) |
{saklient.cloud.client.Client} | client |
{any} | obj |
{bool} | wrapped=False |
def saklient.cloud.resources.swytch.Swytch.add_ipv6_net | ( | self | ) |
このルータ+スイッチでIPv6アドレスを有効にします。
def saklient.cloud.resources.swytch.Swytch.add_static_route | ( | self, | |
maskLen, | |||
nextHop | |||
) |
このルータ+スイッチにスタティックルートを追加します。
{int} | maskLen |
{str} | nextHop |
def saklient.cloud.resources.swytch.Swytch.api_deserialize_impl | ( | self, | |
r | |||
) |
(This method is generated in Translator_default::buildImpl)
{any} | r |
def saklient.cloud.resources.swytch.Swytch.api_serialize_impl | ( | self, | |
withClean = False |
|||
) |
{bool} | withClean=False |
def saklient.cloud.resources.swytch.Swytch.change_plan | ( | self, | |
bandWidthMbps | |||
) |
このルータ+スイッチの帯域プランを変更します。
{int} | bandWidthMbps 帯域幅(api.product.router.find() から取得できる RouterPlan の bandWidthMbps を指定)。 |
def saklient.cloud.resources.swytch.Swytch.collect_unused_ipv4_addresses | ( | self | ) |
このルータ+スイッチで利用できる未使用のIPアドレスを収集します。
def saklient.cloud.resources.swytch.Swytch.collect_used_ipv4_addresses | ( | self | ) |
このルータ+スイッチに接続中のインタフェースに割り当てられているIPアドレスを収集します。
def saklient.cloud.resources.swytch.Swytch.connect_to_bridge | ( | self, | |
bridge | |||
) |
このルータ+スイッチをブリッジに接続します。
swytch | 接続先のブリッジ。 |
{saklient.cloud.resources.bridge.Bridge} | bridge |
def saklient.cloud.resources.swytch.Swytch.disconnect_from_bridge | ( | self | ) |
このルータ+スイッチをブリッジから切断します。
def saklient.cloud.resources.swytch.Swytch.get_bridge | ( | self | ) |
(This method is generated in Translator_default::buildImpl)
def saklient.cloud.resources.swytch.Swytch.get_description | ( | self | ) |
(This method is generated in Translator_default::buildImpl)
def saklient.cloud.resources.swytch.Swytch.get_icon | ( | self | ) |
(This method is generated in Translator_default::buildImpl)
def saklient.cloud.resources.swytch.Swytch.get_id | ( | self | ) |
(This method is generated in Translator_default::buildImpl)
def saklient.cloud.resources.swytch.Swytch.get_ipv4_nets | ( | self | ) |
(This method is generated in Translator_default::buildImpl)
def saklient.cloud.resources.swytch.Swytch.get_ipv6_nets | ( | self | ) |
(This method is generated in Translator_default::buildImpl)
def saklient.cloud.resources.swytch.Swytch.get_name | ( | self | ) |
(This method is generated in Translator_default::buildImpl)
def saklient.cloud.resources.swytch.Swytch.get_router | ( | self | ) |
(This method is generated in Translator_default::buildImpl)
def saklient.cloud.resources.swytch.Swytch.get_tags | ( | self | ) |
(This method is generated in Translator_default::buildImpl)
def saklient.cloud.resources.swytch.Swytch.get_user_default_route | ( | self | ) |
(This method is generated in Translator_default::buildImpl)
def saklient.cloud.resources.swytch.Swytch.get_user_mask_len | ( | self | ) |
(This method is generated in Translator_default::buildImpl)
def saklient.cloud.resources.swytch.Swytch.reload | ( | self | ) |
最新のリソース情報を再取得します。
def saklient.cloud.resources.swytch.Swytch.remove_ipv6_net | ( | self | ) |
このルータ+スイッチでIPv6アドレスを無効にします。
def saklient.cloud.resources.swytch.Swytch.remove_static_route | ( | self, | |
ipv4Net | |||
) |
このルータ+スイッチからスタティックルートを削除します。
{saklient.cloud.resources.ipv4net.Ipv4Net} | ipv4Net |
def saklient.cloud.resources.swytch.Swytch.save | ( | self | ) |
このローカルオブジェクトに現在設定されているリソース情報をAPIに送信し、新規作成または上書き保存します。
def saklient.cloud.resources.swytch.Swytch.set_description | ( | self, | |
v | |||
) |
(This method is generated in Translator_default::buildImpl)
{str} | v |
def saklient.cloud.resources.swytch.Swytch.set_icon | ( | self, | |
v | |||
) |
(This method is generated in Translator_default::buildImpl)
{saklient.cloud.resources.icon.Icon} | v |
def saklient.cloud.resources.swytch.Swytch.set_name | ( | self, | |
v | |||
) |
(This method is generated in Translator_default::buildImpl)
{str} | v |
def saklient.cloud.resources.swytch.Swytch.set_tags | ( | self, | |
v | |||
) |
(This method is generated in Translator_default::buildImpl)
{str[]} | v |