Ejemplo n.º 1
0
def get_route_table():
    route_table = RouteTable()
    route_table.display_name = 'ansible_route_table'
    route_table.compartment_id = 'ocid1.compartment.oc1..aa'
    route_table.id = 'ocid1.routetable.oc1.phx.aa'
    route_table.lifecycle_state = 'AVAILABLE'
    route_table.route_rules = [get_common_route_rule()]
    route_table.time_created = '2017-11-15T16:48:06.784000+00:00'
    route_table.vcn_id = 'ocid1.vcn.oc1.phx.aa'

    return route_table
def get_route_table():
    route_table = RouteTable()
    route_table.display_name = 'ansible_route_table'
    route_table.compartment_id = 'ocid1.compartment.oc1..aa'
    route_table.id = 'ocid1.routetable.oc1.phx.aa'
    route_table.lifecycle_state = 'AVAILABLE'
    route_table.route_rules = [get_common_route_rule()]
    route_table.time_created = '2017-11-15T16:48:06.784000+00:00'
    route_table.vcn_id = 'ocid1.vcn.oc1.phx.aa'
    route_table.freeform_tags = {'route_type': 'internet'}
    route_table.defined_tags = {'admin_type': {'admin_role': 'super_user'}}

    return route_table
Ejemplo n.º 3
0
def get_route_table():
    route_table = RouteTable()
    route_table.display_name = "ansible_route_table"
    route_table.compartment_id = "ocid1.compartment.oc1..aa"
    route_table.id = "ocid1.routetable.oc1.phx.aa"
    route_table.lifecycle_state = "AVAILABLE"
    route_table.route_rules = [get_common_route_rule()]
    route_table.time_created = "2017-11-15T16:48:06.784000+00:00"
    route_table.vcn_id = "ocid1.vcn.oc1.phx.aa"
    route_table.freeform_tags = {"route_type": "internet"}
    route_table.defined_tags = {"admin_type": {"admin_role": "super_user"}}

    return route_table